Heap-based Buffer Overflow in Apache HTTP Server's mod_proxy_ajp

apache2 Updated 06 May 2026

Summary

05/05/2026
N/A
Yes i
Unrated
Not published

ALPINE-CVE-2026-28780: Heap-based Buffer Overflow vulnerability in mod_proxy_ajp of Apache HTTP Server. Affects apache2 versions < 2.4.67-r0. Fixed in 2.4.67-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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Apache HTTP Server is a widely used open-source web server software that enables the hosting of websites and applications. It is known for its flexibility, performance, and extensive feature set, including support for various modules. One such module, mod_proxy_ajp, allows Apache to communicate with AJP (Apache JServ Protocol) servers. However, a vulnerability has been identified in this module that could potentially compromise the server's security.

Vulnerability Detail

The vulnerability is a heap-based buffer overflow in the mod_proxy_ajp module of the Apache HTTP Server. If mod_proxy_ajp connects to a malicious AJP server, that server can send a specially crafted AJP message that causes mod_proxy_ajp to write 4 bytes of attacker-controlled data beyond the end of a heap-based buffer. This could lead to arbitrary code execution or other malicious activities, posing a significant risk to the integrity and security of the affected server.

How To Fix

Minimum fixed version

2.4.67-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

As a temporary workaround, users can disable mod_proxy_ajp if it is not required for their applications. This can be done by commenting out or removing the relevant configuration lines in the Apache configuration files that load the mod_proxy_ajp module.

Conclusion

The heap-based buffer overflow vulnerability in Apache HTTP Server's mod_proxy_ajp poses a serious risk to server security. Users are strongly advised to upgrade to version 2.4.67 or later to protect their systems from potential exploitation. Temporary workarounds are available, but upgrading is the most effective solution.

See every vulnerability recorded for apache2 →

Share this vulnerability

FAQ

mod_proxy_ajp is an Apache module that allows communication between the Apache HTTP Server and AJP servers, facilitating the integration of web applications.

Exploiting this vulnerability could allow an attacker to execute arbitrary code on the server, potentially leading to data breaches or service disruptions.

You can use Vulert, which monitors open-source vulnerabilities in your software. By uploading your manifest file like package-lock.json, you can check for vulnerabilities without needing to install any software.

Disabling mod_proxy_ajp is a temporary workaround to mitigate the risk until an upgrade can be performed.

Detailed information can be found in the CVE database under CVE-2026-28780, as well as on the official Apache HTTP Server website.

Related vulnerabilities

Recent vulnerabilities recorded for apache2.

How To Fix

Minimum fixed version

2.4.67-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