{"affected":[{"defaultStatus":"unaffected","ecosystem":"hex","packageName":"hpax","product":"hpax","source":"CNA: EEF","vendor":"elixir-mint","versions":[{"lessThan":"1.0.4","status":"affected","version":"0.1.0","versionType":"semver"}]},{"defaultStatus":"unaffected","ecosystem":"github","packageName":"elixir-mint/hpax","product":"hpax","source":"CNA: EEF","vendor":"elixir-mint","versions":[{"lessThan":"1ba4bb2dc91e80089cf89c73970ac3ded76f17eb","status":"affected","version":"56db437a7e2c515e3bdd770ac7947b02cd2390d0","versionType":"git"}]}],"cveId":"CVE-2026-58226","cwes":["CWE-407"],"description":"Inefficient Algorithmic Complexity vulnerability in elixir-mint hpax allows unauthenticated denial-of-service via unbounded HPACK integer decoding.\n\nhpax decodes HPACK variable-length integers with no upper bound on the decoded value or the number of continuation octets. HPAX.Types.decode_remaining_integer/3 accumulates the integer as int + (value <<< m), shifting by 7 more bits for each continuation octet and stopping only on a terminating octet or truncated input, never because the integer grew too large. Because BEAM integers are arbitrary precision, a run of N continuation octets builds an O(N)-bit bignum and re-adds into an ever-larger bignum on each step, so the total decoding cost is superlinear (about O(N^2)). An unauthenticated attacker who can send an HTTP/2 header block to a server using this decoder (reached through the HPAX.decode/2 entry point) can supply a small header block that forces a large, attacker-controlled amount of CPU (and transient memory), a denial-of-service amplification.\n\nThis issue affects hpax: from 0.1.0 before 1.0.4.","epss":{"date":"2026-11-23","percentile":0.48308,"score":0.00574},"exploits":[{"kind":"exploit","source":"ADP: CISA-ADP","url":"https://github.com/elixir-mint/hpax/security/advisories/GHSA-jj2p-32j7-whj2"}],"kev":null,"metrics":[{"score":8.7,"severity":"high","source":"CNA: EEF","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","version":"4.0"}],"modifiedAt":1795497231343,"publishedAt":1783328627374,"references":[{"source":"CNA: EEF","tags":["vendor-advisory","related"],"url":"https://github.com/elixir-mint/hpax/security/advisories/GHSA-jj2p-32j7-whj2"},{"source":"CNA: EEF","tags":["related"],"url":"https://cna.erlef.org/cves/CVE-2026-58226.html"},{"source":"CNA: EEF","tags":["related"],"url":"https://osv.dev/vulnerability/EEF-CVE-2026-58226"},{"source":"CNA: EEF","tags":["related"],"url":"https://github.com/elixir-mint/hpax/commit/56db437a7e2c515e3bdd770ac7947b02cd2390d0"},{"source":"CNA: EEF","tags":["patch"],"url":"https://github.com/elixir-mint/hpax/commit/1ba4bb2dc91e80089cf89c73970ac3ded76f17eb"},{"source":"ADP: CISA-ADP","tags":["exploit"],"url":"https://github.com/elixir-mint/hpax/security/advisories/GHSA-jj2p-32j7-whj2"}],"remediation":[{"kind":"fix","source":"CNA: EEF","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/elixir-mint/hpax/commit/1ba4bb2dc91e80089cf89c73970ac3ded76f17eb"}],"revision":"095832939ddbce502af9936d62c5caa6dbcf6df43dfd32fbbeeb9c44f43e6a57","sources":[{"modifiedAt":1795497231343,"name":"CNA: EEF","retrievedAt":1795500542110,"url":"https://www.cve.org/CVERecord?id=CVE-2026-58226"},{"modifiedAt":null,"name":"FIRST EPSS","retrievedAt":1795500556985,"url":"https://api.first.org/data/v1/epss?cve=CVE-2026-58226"}],"ssvc":{"assessedAt":1783342178954,"automatable":"yes","exploitation":"poc","source":"ADP: CISA-ADP","technicalImpact":"partial"},"status":"published","title":"Unauthenticated denial-of-service via unbounded HPACK integer decoding in hpax","updatedAt":1795500556985}