CVE-2026-58226
Unauthenticated denial-of-service via unbounded HPACK integer decoding in hpax
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. 'Elixir.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 'Elixir.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.1 before 1.0.4.
INFO
Published Date :
July 6, 2026, 11:16 a.m.
Last Modified :
July 6, 2026, 11:16 a.m.
Remotely Exploit :
Yes !
Source :
6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Affected Products
The following products are affected by CVE-2026-58226
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 4.0 | HIGH | 6b3ad84c-e1a6-4bf7-a703-f496b71e49db | ||||
| CVSS 4.0 | HIGH | 6b3ad84c-e1a6-4bf7-a703-f496b71e49db |
Solution
- Update hpax to version 1.0.4 or later.
- Apply vendor patches if available.
- Monitor system resources for unusual activity.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-58226.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-58226 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-58226
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-58226 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-58226 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Jul. 06, 2026
Action Type Old Value New Value Added Affected [{'cpes': ['cpe:2.3:a:elixir-mint:hpax:*:*:*:*:*:*:*:*'], 'repo': 'https://github.com/elixir-mint/hpax', 'vendor': 'elixir-mint', 'modules': ['Elixir.HPAX', 'Elixir.HPAX.Types'], 'product': 'hpax', 'versions': [{'status': 'affected', 'version': '0.1.1', 'lessThan': '1.0.4', 'versionType': 'semver'}], 'packageURL': 'pkg:hex/hpax', 'packageName': 'hpax', 'programFiles': ['lib/hpax.ex', 'lib/hpax/types.ex'], 'collectionURL': 'https://repo.hex.pm', 'defaultStatus': 'unaffected', 'programRoutines': [{'name': "'Elixir.HPAX':decode/2"}, {'name': "'Elixir.HPAX.Types':decode_integer/2"}, {'name': "'Elixir.HPAX.Types':decode_remaining_integer/3"}]}, {'cpes': ['cpe:2.3:a:elixir-mint:hpax:*:*:*:*:*:*:*:*'], 'repo': 'https://github.com/elixir-mint/hpax', 'vendor': 'elixir-mint', 'modules': ['Elixir.HPAX', 'Elixir.HPAX.Types'], 'product': 'hpax', 'versions': [{'status': 'affected', 'version': '56db437a7e2c515e3bdd770ac7947b02cd2390d0', 'lessThan': '1ba4bb2dc91e80089cf89c73970ac3ded76f17eb', 'versionType': 'git'}], 'packageURL': 'pkg:github/elixir-mint/hpax', 'packageName': 'elixir-mint/hpax', 'programFiles': ['lib/hpax.ex', 'lib/hpax/types.ex'], 'collectionURL': 'https://github.com', 'defaultStatus': 'unaffected', 'programRoutines': [{'name': "'Elixir.HPAX':decode/2"}, {'name': "'Elixir.HPAX.Types':decode_integer/2"}, {'name': "'Elixir.HPAX.Types':decode_remaining_integer/3"}]}] Added 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. 'Elixir.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 'Elixir.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.1 before 1.0.4. Added CVSS V4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Added CWE CWE-407 Added Reference https://cna.erlef.org/cves/CVE-2026-58226.html Added Reference https://github.com/elixir-mint/hpax/commit/1ba4bb2dc91e80089cf89c73970ac3ded76f17eb Added Reference https://github.com/elixir-mint/hpax/security/advisories/GHSA-jj2p-32j7-whj2 Added Reference https://osv.dev/vulnerability/EEF-CVE-2026-58226