# CVE-2026-58226: Unauthenticated denial-of-service via unbounded HPACK integer decoding in hpax

- Severity: High 8.7 (CVSS:4.0, scored by EEF) `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`
- 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.57%, higher than 48% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-06T09:03:47.374Z
- Modified: 2026-11-26T17:23:06.255Z
- Also known as: EEF-CVE-2026-58226, GHSA-jj2p-32j7-whj2
- Weaknesses: CWE-407
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: EEF

## Description

Inefficient Algorithmic Complexity vulnerability in elixir-mint hpax allows unauthenticated denial-of-service via unbounded HPACK integer decoding.

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

This issue affects hpax: from 0.1.0 before 1.0.4.

(As written by CVE List.)

## Affected

- hpax: from 0.1.0 before 1.0.4
- elixir-mint/hpax: from 56db437a7e2c515e3bdd770ac7947b02cd2390d0 before 1ba4bb2dc91e80089cf89c73970ac3ded76f17eb
- hpax (Hex): from 0.1.0 before 1.0.4
- https://github.com/elixir-mint/hpax: from 56db437a7e2c515e3bdd770ac7947b02cd2390d0 before 1ba4bb2dc91e80089cf89c73970ac3ded76f17eb

## Every score

- EEF: CVSS:4.0 8.7 High `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`
- Erlang Ecosystem Foundation: CVSS:4.0 `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`

## References

- <https://github.com/elixir-mint/hpax/security/advisories/GHSA-jj2p-32j7-whj2> (exploit, advisory, related, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2026-58226.html> (related, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-58226> (related)
- <https://github.com/elixir-mint/hpax/commit/56db437a7e2c515e3bdd770ac7947b02cd2390d0> (related, web)
- <https://github.com/elixir-mint/hpax/commit/1ba4bb2dc91e80089cf89c73970ac3ded76f17eb> (fix, patch)
- <https://hex.pm/packages/hpax> (package)

## Sources

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

---

Page: https://cve.day/CVE-2026-58226 · Whole record: https://cve.day/CVE-2026-58226.json · Rebuilt by cve.day 2026-11-26T17:37:05.897Z
