CVE-2026-58226
published high CVSS 4.0 · 8.7Unauthenticated denial-of-service via unbounded HPACK integer decoding in hpax
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| elixir-mint | — | hpax0.1.0 to < 1.0.4 · Other versions: unaffected | Affected | Not stated | EEF |
| elixir-mint | — | elixir-mint/hpaxhpax · 56db437a7e2c515e3bdd770ac7947b02cd2390d0 to < 1ba4bb2dc91e80089cf89c73970ac3ded76f17eb · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- EEF · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| elixir-mint | hpax | 0.1.0 to < 1.0.4 (affected · semver)Default: unaffected | EEF · cna |
| elixir-mint | hpax | 56db437a7e2c515e3bdd770ac7947b02cd2390d0 to < 1ba4bb2dc91e80089cf89c73970ac3ded76f17eb (affected · git)Default: unaffected | EEF · cna |
Weaknesses
1- CWE-407 CWE-407 Inefficient Algorithmic Complexity
References
5- EEF CNA record for CVE-2026-58226 https://cna.erlef.org/cves/CVE-2026-58226.html
- Fix commit 1ba4bb2 in elixir-mint/hpax https://github.com/elixir-mint/hpax/commit/1ba4bb2dc91e80089cf89c73970ac3ded76f17eb
- Introducing commit 56db437 in elixir-mint/hpax https://github.com/elixir-mint/hpax/commit/56db437a7e2c515e3bdd770ac7947b02cd2390d0
- Unbounded HPACK integer decoding (no value / octet-count limit) https://github.com/elixir-mint/hpax/security/advisories/GHSA-jj2p-32j7-whj2
- OSV record EEF-CVE-2026-58226 https://osv.dev/vulnerability/EEF-CVE-2026-58226
Provider assertions
2EEF · cna
Unauthenticated denial-of-service via unbounded HPACK integer decoding in hpax
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d6e797f31052065968c43faf48ab2fa02f3f30642dc59de5f19e080237b58e3c
- Ingested
- 24 Nov 2026, 05:20:44 UTC
- Source record
- Official CVE record