{"containers":{"cna":{"affected":[{"cpes":["cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["httpc_response","httpc_handler","httpc"],"packageName":"otp","packageURL":"pkg:sid/erlang.org/otp","product":"OTP","programFiles":["src/http_client/httpc_response.erl","src/http_client/httpc_handler.erl","src/http_client/httpc.erl"],"programRoutines":[{"name":"httpc_response:parse_headers/6"},{"name":"httpc:request/4"},{"name":"httpc:request/5"}],"vendor":"Erlang","versions":[{"lessThan":"17.0","status":"unknown","version":"0","versionType":"otp"},{"lessThan":"27.3.4.17","status":"affected","version":"17.0","versionType":"otp"},{"lessThan":"28.5.0.6","status":"affected","version":"28.0","versionType":"otp"},{"lessThan":"29.0.6","status":"affected","version":"29.0","versionType":"otp"}]},{"cpes":["cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","packageName":"inets","packageURL":"pkg:otp/inets","product":"OTP","repo":"https://github.com/erlang/otp","vendor":"Erlang","versions":[{"lessThan":"5.10","status":"unknown","version":"0","versionType":"otp"},{"lessThan":"9.3.2.7","status":"affected","version":"5.10","versionType":"otp"},{"lessThan":"9.6.2.3","status":"affected","version":"9.4","versionType":"otp"},{"lessThan":"9.7.2","status":"affected","version":"9.7","versionType":"otp"}]},{"collectionURL":"https://github.com","cpes":["cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["httpc_response","httpc_handler","httpc"],"packageName":"erlang/otp","packageURL":"pkg:github/erlang/otp","product":"OTP","programFiles":["src/http_client/httpc_response.erl","src/http_client/httpc_handler.erl","src/http_client/httpc.erl"],"programRoutines":[{"name":"httpc_response:parse_headers/6"},{"name":"httpc:request/4"},{"name":"httpc:request/5"}],"repo":"https://github.com/erlang/otp","vendor":"Erlang","versions":[{"changes":[{"at":"aba0fe8c2d700bf4ac94607cf7f00e53bbe4042d","status":"unaffected"},{"at":"e3be1cfe9f6cedd0cd20d9905e05601dfb31c8aa","status":"unaffected"}],"lessThan":"*","status":"affected","version":"84adefa331c4159d432d22840663c38f155cd4c1","versionType":"git"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*","versionEndExcluding":"27.3.4.17","vulnerable":true},{"criteria":"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*","versionEndExcluding":"28.5.0.6","versionStartIncluding":"28.0","vulnerable":true},{"criteria":"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*","versionEndExcluding":"29.0.6","versionStartIncluding":"29.0","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}],"credits":[{"lang":"en","type":"remediation developer","value":"Konrad Pietrzak / Ericsson"}],"descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>The Erlang/OTP <code>httpc</code> HTTP client does not enforce a limit on the total size of response headers received from a server. The <code>max_header_size</code> option defaults to <code>nolimit</code>, and <code>httpc_response:parse_headers/6</code> accumulates every header into a list before the length check runs (which only fires after the terminating CRLF CRLF is received).</p>\n<p>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.</p>\n<p>Any application using <code>httpc:request/4,5</code> 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.</p>\n<p>This issue affects OTP from OTP&nbsp;17.0 before OTP&nbsp;27.3.4.17, from OTP&nbsp;28.0 before OTP&nbsp;28.5.0.6, and from OTP&nbsp;29.0 before OTP&nbsp;29.0.6, corresponding to inets from 5.10 before 9.3.2.7, from 9.4 before 9.6.2.3, and from 9.7 before 9.7.2. Whether OTP before OTP&nbsp;17.0, corresponding to inets before 5.10, is affected is unknown.</p>"},{"base64":false,"type":"text/markdown","value":"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).\n\nA 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.\n\nAny 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.\n\nThis issue affects OTP from OTP 17.0 before OTP 27.3.4.17, from OTP 28.0 before OTP 28.5.0.6, and from OTP 29.0 before OTP 29.0.6, corresponding to inets from 5.10 before 9.3.2.7, from 9.4 before 9.6.2.3, and from 9.7 before 9.7.2. Whether OTP before OTP 17.0, corresponding to inets before 5.10, is affected is unknown."}],"value":"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).\n\nA 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.\n\nAny 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.\n\nThis issue affects OTP from OTP 17.0 before OTP 27.3.4.17, from OTP 28.0 before OTP 28.5.0.6, and from OTP 29.0 before OTP 29.0.6, corresponding to inets from 5.10 before 9.3.2.7, from 9.4 before 9.6.2.3, and from 9.7 before 9.7.2. Whether OTP before OTP 17.0, corresponding to inets before 5.10, is affected is unknown."}],"impacts":[{"capecId":"CAPEC-130","descriptions":[{"lang":"en","value":"CAPEC-130 Excessive Allocation"}]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":8.2,"baseSeverity":"HIGH","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-770","description":"CWE-770 Allocation of Resources Without Limits or Throttling","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-09-01T14:37:02.650Z","orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","shortName":"EEF"},"references":[{"tags":["vendor-advisory"],"url":"https://github.com/erlang/otp/security/advisories/GHSA-f9fw-mg7q-4g3x"},{"tags":["related"],"url":"https://cna.erlef.org/cves/CVE-2026-55951.html"},{"tags":["related"],"url":"https://osv.dev/vulnerability/EEF-CVE-2026-55951"},{"tags":["x_version-scheme"],"url":"https://www.erlang.org/doc/system/versions.html#order-of-versions"},{"tags":["patch"],"url":"https://github.com/erlang/otp/commit/aba0fe8c2d700bf4ac94607cf7f00e53bbe4042d"},{"tags":["patch"],"url":"https://github.com/erlang/otp/commit/e3be1cfe9f6cedd0cd20d9905e05601dfb31c8aa"}],"source":{"discovery":"UNKNOWN"},"title":"httpc memory exhaustion via unbounded response header accumulation","workarounds":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<ul>\n<li>Restrict <code>httpc</code> to trusted servers only, and avoid using it to fetch resources from arbitrary or user-supplied URLs.</li>\n<li>Apply operating-system memory limits (cgroups,<code>ulimit</code>) to contain the blast radius of a runaway client process.</li>\n<li>Use an alternative HTTP client library that enforces a response header size limit.</li>\n</ul>"},{"base64":false,"type":"text/markdown","value":"* Restrict `httpc` to trusted servers only, and avoid using it to fetch resources from arbitrary or user-supplied URLs.\n* Apply operating-system memory limits (cgroups,`ulimit`) to contain the blast radius of a runaway client process.\n* Use an alternative HTTP client library that enforces a response header size limit."}],"value":"* Restrict httpc to trusted servers only, and avoid using it to fetch resources from arbitrary or user-supplied URLs.\n* Apply operating-system memory limits (cgroups,ulimit) to contain the blast radius of a runaway client process.\n* Use an alternative HTTP client library that enforces a response header size limit."}]}},"cveMetadata":{"assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","assignerShortName":"EEF","cveId":"CVE-2026-55951","datePublished":"2026-09-01T14:37:02.650Z","dateReserved":"2026-06-17T17:55:15.685Z","dateUpdated":"2026-09-01T14:37:02.650Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"}