Critical HTTP Desynchronisation Attack in Apache HTTP Server - CVE-2025-49812

apache2 Updated 02 Oct 2025

Summary

10/07/2025
N/A
Yes i
Unrated
Not published

ALPINE-CVE-2025-49812: In some mod_ssl configurations on Apache HTTP Server versions through to 2.4.63, an HTTP desynchronisation attack allows a man-in-the-middle attacker to hijack an HTTP session via a TLS upgrade. Affects apache2 versions < 2.4.64-r0. Fixed in 2.4.64-r0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Apache HTTP Server is a widely used open-source web server software that enables users to serve web content over the internet. It is known for its flexibility, security features, and extensive module support, making it a popular choice for hosting websites. However, certain configurations of mod_ssl in Apache versions up to 2.4.63 are vulnerable to an HTTP desynchronisation attack, which can compromise user sessions.

Vulnerability Detail

The vulnerability arises from specific configurations using 'SSLEngine optional' that allow a man-in-the-middle attacker to hijack an HTTP session via a TLS upgrade. This means that if an attacker can intercept the communication, they can manipulate the session, leading to unauthorized access to sensitive information. The issue affects Apache HTTP Server versions through 2.4.63, and it is crucial for users to understand the risks associated with this configuration.

How To Fix

Minimum fixed version

2.4.64-r0

This is the first release that contains the fix.

sudo apk add --upgrade apache2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If upgrading is not immediately possible, users can disable the 'SSLEngine optional' configuration in their Apache settings to prevent the vulnerability from being exploited. This can be done by modifying the Apache configuration file (httpd.conf or apache2.conf) and ensuring that the SSLEngine directive is set to 'off' or not included.

Conclusion

In summary, CVE-2025-49812 presents a significant risk to Apache HTTP Server users who have specific mod_ssl configurations. It is essential to upgrade to version 2.4.64 or later to eliminate this vulnerability. Users should also consider disabling vulnerable configurations as a temporary workaround.

See every vulnerability recorded for apache2 →

Share this vulnerability

FAQ

CVE-2025-49812 is a vulnerability in Apache HTTP Server that allows a man-in-the-middle attacker to hijack an HTTP session through an HTTP desynchronisation attack.

Apache HTTP Server versions through 2.4.63 are affected by this vulnerability.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

As a temporary measure, disable the 'SSLEngine optional' configuration in your Apache settings to mitigate the risk.

If exploited, this vulnerability can lead to unauthorized access to user sessions, potentially compromising sensitive data and user privacy.

Related vulnerabilities

Recent vulnerabilities recorded for apache2.

How To Fix

Minimum fixed version

2.4.64-r0

This is the first release that contains the fix.

sudo apk add --upgrade apache2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback