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

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 across 2 version ranges.

< 2.4.64-r0 < 7e926454793abd7d71b6afc8bd1ec1648752c6ad

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, commonly referred to as Apache, is a widely used open-source web server software that enables the hosting of websites and web applications. It is known for its flexibility, security features, and extensive module support. However, certain configurations of mod_ssl in Apache versions up to 2.4.63 are vulnerable to a critical security issue that allows man-in-the-middle attacks through HTTP desynchronisation.

Vulnerability Detail

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. This vulnerability arises specifically when the 'SSLEngine optional' directive is used to enable TLS upgrades, making it possible for attackers to intercept and manipulate HTTP sessions, potentially leading to unauthorized access to sensitive information.

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, a temporary workaround is to disable the 'SSLEngine optional' directive in the Apache configuration to prevent TLS upgrades, thereby mitigating the risk of this vulnerability until a proper update can be applied.

Conclusion

CVE-2025-49812 represents a significant security risk for users of Apache HTTP Server versions up to 2.4.63. It is crucial for users to upgrade to version 2.4.64 or later to mitigate this vulnerability. Additionally, understanding the implications and applying workarounds can help protect against potential attacks.

See every vulnerability recorded for apache2 →

Share this vulnerability

FAQ

CVE-2025-49812 is a vulnerability in Apache HTTP Server that allows man-in-the-middle attacks through HTTP desynchronisation due to certain mod_ssl configurations.

Apache HTTP Server versions up to 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.

If an immediate upgrade is not possible, disable the 'SSLEngine optional' directive in your Apache configuration as a temporary workaround.

The vulnerability could allow attackers to hijack HTTP sessions, leading to unauthorized access to sensitive information and potential data breaches.

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