{"containers":{"cna":{"affected":[{"cpes":["cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["httpc_handler","httpc_response"],"packageName":"otp","packageURL":"pkg:sid/erlang.org/otp","product":"OTP","programFiles":["lib/inets/src/http_client/httpc_handler.erl","lib/inets/src/http_client/httpc_response.erl"],"programRoutines":[{"name":"httpc_handler:handle_http_body/2"},{"name":"httpc_response:format_response/1"},{"name":"httpc_response:get_ms_from_retry_after/1"}],"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","modules":["httpc_handler","httpc_response"],"packageName":"inets","packageURL":"pkg:otp/inets","product":"OTP","programFiles":["src/http_client/httpc_handler.erl","src/http_client/httpc_response.erl"],"programRoutines":[{"name":"httpc_handler:handle_http_body/2"},{"name":"httpc_response:format_response/1"},{"name":"httpc_response:get_ms_from_retry_after/1"}],"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_handler","httpc_response"],"packageName":"erlang/otp","packageURL":"pkg:github/erlang/otp","product":"OTP","programFiles":["lib/inets/src/http_client/httpc_handler.erl","lib/inets/src/http_client/httpc_response.erl"],"programRoutines":[{"name":"httpc_handler:handle_http_body/2"},{"name":"httpc_response:format_response/1"},{"name":"httpc_response:get_ms_from_retry_after/1"}],"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":"finder","value":"Eric Meadows-Jönsson"},{"lang":"en","type":"finder","value":"Jonatan Männchen / EEF"},{"lang":"en","type":"finder","value":"Peter Ullrich"},{"lang":"en","type":"finder","value":"José Valim"},{"lang":"en","type":"remediation developer","value":"Konrad Pietrzak / Ericsson"}],"descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>Improper Validation of Specified Quantity in Input vulnerability in Erlang/OTP inets httpc allows a malicious or compromised HTTP server to degrade availability by returning a numeric header whose value is a very long run of digits.</p>\n<p><code>httpc_handler.erl</code> converts the server-supplied <code>Content-Length</code> with <code>list_to_integer/1</code> before comparing it against <code>max_body_size</code>, so the size check cannot protect the conversion, and the option defaults to <code>nolimit</code> in any case. The same unbounded conversion appears in <code>httpc_response:format_response/1</code> for <code>Content-Length</code> and in <code>httpc_response:get_ms_from_retry_after/1</code> for <code>Retry-After</code>, which is guarded only by a check that the first character is a digit. A value of up to roughly 1.26 million digits converts successfully and costs the requesting process hundreds of milliseconds of arbitrary-precision arithmetic per response. The conversion function is documented to accept integers of any size, so bounding the input is the caller's responsibility.</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":"Improper Validation of Specified Quantity in Input vulnerability in Erlang/OTP inets httpc allows a malicious or compromised HTTP server to degrade availability by returning a numeric header whose value is a very long run of digits.\n\n`httpc_handler.erl` converts the server-supplied `Content-Length` with `list_to_integer/1` before comparing it against `max_body_size`, so the size check cannot protect the conversion, and the option defaults to `nolimit` in any case. The same unbounded conversion appears in `httpc_response:format_response/1` for `Content-Length` and in `httpc_response:get_ms_from_retry_after/1` for `Retry-After`, which is guarded only by a check that the first character is a digit. A value of up to roughly 1.26 million digits converts successfully and costs the requesting process hundreds of milliseconds of arbitrary-precision arithmetic per response. The conversion function is documented to accept integers of any size, so bounding the input is the caller's responsibility.\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":"Improper Validation of Specified Quantity in Input vulnerability in Erlang/OTP inets httpc allows a malicious or compromised HTTP server to degrade availability by returning a numeric header whose value is a very long run of digits.\n\nhttpc_handler.erl converts the server-supplied Content-Length with list_to_integer/1 before comparing it against max_body_size, so the size check cannot protect the conversion, and the option defaults to nolimit in any case. The same unbounded conversion appears in httpc_response:format_response/1 for Content-Length and in httpc_response:get_ms_from_retry_after/1 for Retry-After, which is guarded only by a check that the first character is a digit. A value of up to roughly 1.26 million digits converts successfully and costs the requesting process hundreds of milliseconds of arbitrary-precision arithmetic per response. The conversion function is documented to accept integers of any size, so bounding the input is the caller's responsibility.\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-231","descriptions":[{"lang":"en","value":"CAPEC-231 Oversized Serialized Data Payloads"}]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":6.3,"baseSeverity":"MEDIUM","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:L/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"LOW","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1284","description":"CWE-1284 Improper Validation of Specified Quantity in Input","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-09-01T14:33:41.833Z","orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","shortName":"EEF"},"references":[{"tags":["vendor-advisory","related"],"url":"https://github.com/erlang/otp/security/advisories/GHSA-cqx9-9hq6-m8wf"},{"tags":["related"],"url":"https://cna.erlef.org/cves/CVE-2026-71562.html"},{"tags":["related"],"url":"https://osv.dev/vulnerability/EEF-CVE-2026-71562"},{"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":"EXTERNAL"},"title":"httpc does not bound server-supplied numeric header values before integer conversion"}},"cveMetadata":{"assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","assignerShortName":"EEF","cveId":"CVE-2026-71562","datePublished":"2026-09-01T14:33:41.833Z","dateReserved":"2026-08-07T15:15:01.474Z","dateUpdated":"2026-09-01T14:33:41.833Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"}