# CVE-2026-55951: httpc memory exhaustion via unbounded response header accumulation

- Severity: High 8.2 (CVSS:4.0, scored by EEF) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-01)
- Published: 2026-09-01T14:37:02.650Z
- Modified: 2026-11-25T06:30:25.909Z
- Also known as: EEF-CVE-2026-55951, GHSA-f9fw-mg7q-4g3x
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: EEF

## 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.

(As written by CVE List.)

## Affected

- inets: from 5.10 before *
- otp: from 17.0 before *
- erlang/otp: from 84adefa331c4159d432d22840663c38f155cd4c1 before * (not affected: from aba0fe8c2d700bf4ac94607cf7f00e53bbe4042d before *; from e3be1cfe9f6cedd0cd20d9905e05601dfb31c8aa before *)
- https://github.com/erlang/otp: from 84adefa331c4159d432d22840663c38f155cd4c1 before aba0fe8c2d700bf4ac94607cf7f00e53bbe4042d; before e3be1cfe9f6cedd0cd20d9905e05601dfb31c8aa

## Every score

- EEF: CVSS:4.0 8.2 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- Erlang Ecosystem Foundation: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`

## References

- <https://github.com/erlang/otp/security/advisories/GHSA-f9fw-mg7q-4g3x> (advisory, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2026-55951.html> (related, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-55951> (related)
- <https://www.erlang.org/doc/system/versions.html#order-of-versions> (web)
- <https://github.com/erlang/otp/commit/aba0fe8c2d700bf4ac94607cf7f00e53bbe4042d> (fix, patch)
- <https://github.com/erlang/otp/commit/e3be1cfe9f6cedd0cd20d9905e05601dfb31c8aa> (fix, patch)

## Sources

- CVE List: [CVE-2026-55951](https://www.cve.org/CVERecord?id=CVE-2026-55951), CVE Terms of Use, modified 2026-11-20
- Erlang Ecosystem Foundation: [EEF-CVE-2026-55951](https://osv.dev/vulnerability/EEF-CVE-2026-55951), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-55951](https://nvd.nist.gov/vuln/detail/CVE-2026-55951), Public domain, modified 2026-11-20

---

Page: https://cve.day/CVE-2026-55951 · Whole record: https://cve.day/CVE-2026-55951.json · Rebuilt by cve.day 2026-11-25T22:59:35.953Z
