CVE-2026-55951
High 8.2No known exploitationFix availablehttpc memory exhaustion via unbounded response header accumulation
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 54% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
Description
The Erlang/OTP httpc HTTP client does not enforce a limit on the total size of response headers received from a server. The max_header_size option defaults to nolimit, and httpc_response:parse_headers/6 accumulates every header into a list before the length check runs (which only fires after the terminating CRLF CRLF is received). A malicious or compromised HTTP server can send an arbitrarily large number of headers, or headers with very large values, causing the client process to allocate unbounded memory until the system runs out of memory or the BEAM VM crashes. A proof-of-concept server sending 100,000 headers of roughly 4000 bytes each caused the client VM to allocate over 13 GB of memory in under 30 seconds. Any application using httpc:request/4,5 to connect to untrusted servers is affected. No authentication is required: any server the client connects to (including via a redirect or man-in-the-middle) can trigger the exhaustion. This issue affects OTP from OTP 17.0 before OTP 27.3.4.17, OTP 28.5.0.6, and OTP 29.0.6, corresponding to inets from 5.10 before 9.3.2.7, 9.6.2.3, and 9.7.2. Whether OTP before OTP 17.0, corresponding to inets before 5.10, is affected is unknown.
Weakness: CWE-770
Patching and mitigation
- Patch status
- Fix available (source: Microsoft MSRC)
- Fix documented (source date)
- Mitigation
- * Restrict httpc to trusted servers only, and avoid using it to fetch resources from arbitrary or user-supplied URLs. * Apply operating-system memory limits (cgroups,ulimit) to contain the blast radius of a runaway client process. * Use an alternative HTTP client library that enforces a response header size limit. Source (opens in a new tab)
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Erlang | OTP | 17.0 | Not documented | CVE Program |
| Erlang | OTP | 5.10 | Not documented | CVE Program |
| Erlang | OTP | 84adefa331c4159d432d22840663c38f155cd4c1 | Not documented | CVE Program |
| Microsoft | azl3 erlang 26.2.5.21-4 on Azure Linux 3.0 | Not documented | 26.2.5.21-6 | Microsoft MSRC |
| Microsoft | azl3 erlang 26.2.5.21-6 on Azure Linux 3.0 | Not documented | 26.2.5.21-6 | Microsoft MSRC |
| Erlang | OTP (unaffected) | aba0fe8c2d700bf4ac94607cf7f00e53bbe4042d | Not documented | CVE Program |
| Erlang | OTP (unaffected) | e3be1cfe9f6cedd0cd20d9905e05601dfb31c8aa | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by EEF
Source: CVE Program (opens in a new tab)
Advisory
Microsoft advisory published
Advisory change
Microsoft advisory revised (2.0): Information published.
Advisory change
Microsoft advisory revised (3.0): Information published.
Advisory change
Microsoft advisory revised (4.0): Information published.
Advisory change
Microsoft advisory revised (5.0): Information published.
Patch
Fix documented by Microsoft MSRC
Vendor guidance and references
- Fix commit aba0fe8 in erlang/otp (opens in a new tab)patch
- Fix commit e3be1cf in erlang/otp (opens in a new tab)patch
- https://github.com/erlang/otp/security/advisories/GHSA-f9fw-mg7q-4g3x (opens in a new tab)vendor-advisory
- Microsoft Security Update Guide (opens in a new tab)vendor-advisory
- EEF CNA record for CVE-2026-55951 (opens in a new tab)related
- OSV record EEF-CVE-2026-55951 (opens in a new tab)related
- Erlang/OTP version ordering (opens in a new tab)x_version-scheme