← Vulnerability feed

Vulnerability record · CVE-2021-26691 · published 10 June 2021

CVE-2021-26691: Apache HTTP Server heap overflow via crafted SessionHeader

Apache · Http Server

Apache HTTP Server versions 2.4.0 through 2.4.46 contain a heap-based buffer overflow triggered when a specially crafted SessionHeader is sent by an origin server. The flaw is an out-of-bounds write in the mod_session handling path, and it matters because it can corrupt heap memory in a widely deployed server component.

9.8 CVSS 3.1 Critical EPSS 68% · top 0.7% CWE-122 · Heap-based buffer overflowCWE-787 · Out-of-bounds write
9.8CVSS 3.1 base score, v2 7.5
68%EPSS exploitation probability, 30 days
NoNot in CISA KEV
8Affected product versions listed by NVD
26References
17 Jun 2026Last modified by NVD

Description

In Apache HTTP Server versions 2.4.0 to 2.4.46 a specially crafted SessionHeader sent by an origin server could cause a heap overflow

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 19 September 2026. Confidence: medium.

high priorityCritical CVSS 9.8 with very high EPSS, but exploitation requires a malicious origin server and the flaw is not in KEV, so it ranks below actively exploited issues.

What it is

Apache HTTP Server versions 2.4.0 through 2.4.46 contain a heap-based buffer overflow triggered when a specially crafted SessionHeader is sent by an origin server. The flaw is an out-of-bounds write in the mod_session handling path, and it matters because it can corrupt heap memory in a widely deployed server component.

Impact

An attacker can write out of bounds on the heap, which can crash the server and, depending on heap layout, may lead to remote code execution in the context of the httpd process. The CVSS vector rates confidentiality, integrity and availability impact as high.

Attack surface

The vector is network reachable with no privileges and no user interaction (AV:N/AC:L/PR:N/UI:N). The description states the malicious SessionHeader comes from an origin server, so the trigger is a server-to-server or proxy path rather than a direct client request, and the record does not detail the exact deployment configuration required.

Exploitation

CVE-2021-26691 is not listed in CISA KEV and no ransomware groups are documented using it, but EPSS is high at roughly 0.68 probability over 30 days (99.3rd percentile), indicating elevated predicted exploitation activity. References are vendor advisories, mailing lists and patch notices; none are tagged as exploit code.

What to do

  • Upgrade Apache HTTP Server to a version after 2.4.46 that contains the fix, per the Apache security advisory.
  • Apply distribution backports for Debian, Fedora, Gentoo and other packaged builds, and vendor patches for Oracle and NetApp products that bundle httpd.
  • If mod_session is not required, disable it to remove the vulnerable code path.
  • Restrict or review proxy and origin-server trust relationships so untrusted origins cannot inject crafted SessionHeader values.
  • Track downstream vendor advisories for bundled httpd components and patch them on the vendor timeline.

Detection

  • Monitor httpd logs for crashes, restarts or abnormal termination that coincide with proxy or origin-server traffic.
  • Inspect inbound SessionHeader values at proxies and reverse proxies for oversized or malformed content.
  • Use heap integrity tooling or ASAN builds in test environments to catch out-of-bounds writes in mod_session handling.
  • Correlate httpd process crash telemetry with upstream origin server addresses to identify a malicious or compromised origin.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

8 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://httpd.apache.org/security/vulnerabilities_24.html Vendor Advisory
http://www.openwall.com/lists/oss-security/2021/06/10/7 Mailing ListThird Party Advisory
https://lists.apache.org/thread.html/r50cae1b71f1e7421069036b213c26da7d8f47dd59874e3bd956959fe%40%3Cannounce.httpd.apach
https://lists.apache.org/thread.html/r7f2b70b621651548f4b6f027552f1dd91705d7111bb5d15cda0a68dd%40%3Cdev.httpd.apache.org
https://lists.apache.org/thread.html/re026d3da9d7824bd93b9f871c0fdda978d960c7e62d8c43cba8d0bf3%40%3Ccvs.httpd.apache.org Mailing ListRelease NotesVendor Advisory
https://lists.debian.org/debian-lts-announce/2021/07/msg00006.html Mailing ListThird Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SPBR6WUYBJNACHKE65SPL7T
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZNCYSR3BXT36FFF4XTCPL3H
https://security.gentoo.org/glsa/202107-38 Third Party Advisory
https://security.netapp.com/advisory/ntap-20210702-0001/ Third Party Advisory
https://www.debian.org/security/2021/dsa-4937 Mailing ListThird Party Advisory
https://www.oracle.com/security-alerts/cpujan2022.html PatchThird Party Advisory
https://www.oracle.com/security-alerts/cpuoct2021.html PatchThird Party Advisory
http://httpd.apache.org/security/vulnerabilities_24.html Vendor Advisory
http://www.openwall.com/lists/oss-security/2021/06/10/7 Mailing ListThird Party Advisory
https://lists.apache.org/thread.html/r50cae1b71f1e7421069036b213c26da7d8f47dd59874e3bd956959fe%40%3Cannounce.httpd.apach
https://lists.apache.org/thread.html/r7f2b70b621651548f4b6f027552f1dd91705d7111bb5d15cda0a68dd%40%3Cdev.httpd.apache.org
https://lists.apache.org/thread.html/re026d3da9d7824bd93b9f871c0fdda978d960c7e62d8c43cba8d0bf3%40%3Ccvs.httpd.apache.org Mailing ListRelease NotesVendor Advisory
https://lists.debian.org/debian-lts-announce/2021/07/msg00006.html Mailing ListThird Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SPBR6WUYBJNACHKE65SPL7T
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZNCYSR3BXT36FFF4XTCPL3H
https://security.gentoo.org/glsa/202107-38 Third Party Advisory
https://security.netapp.com/advisory/ntap-20210702-0001/ Third Party Advisory
https://www.debian.org/security/2021/dsa-4937 Mailing ListThird Party Advisory
https://www.oracle.com/security-alerts/cpujan2022.html PatchThird Party Advisory
https://www.oracle.com/security-alerts/cpuoct2021.html PatchThird Party Advisory

Track CVE-2021-26691 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2024-9680Mozilla Firefox and Thunderbird use-after-free in Animation timelinesA use-after-free flaw in Animation timelines allows an attacker to execute code in the content process of Firefox and Thunderbird. Mozilla reports ex…KEVEPSS 23%analysed9.8CVE-2024-4577PHP-CGI on Windows argument injection leads to remote code executionPHP-CGI on Windows can misinterpret characters in the command line passed to Win32 API functions when certain code pages are configured, due to Windo…KEVEPSS 100%analysed

Source: NIST National Vulnerability Database (record CVE-2021-26691), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.