FKIE_CVE-2026-58226
Vulnerability from fkie_nvd - Published: 2026-07-06 11:16 - Updated: 2026-11-24 06:17
Severity
Summary
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.
References
Impacted products
| Vendor | Product | Version |
|---|
{
"affected": [
{
"affectedData": [
{
"collectionURL": "https://repo.hex.pm",
"cpes": [
"cpe:2.3:a:elixir-mint:hpax:*:*:*:*:*:*:*:*"
],
"defaultStatus": "unaffected",
"modules": [
"\u0027Elixir.HPAX\u0027",
"\u0027Elixir.HPAX.Types\u0027"
],
"packageName": "hpax",
"packageURL": "pkg:hex/hpax",
"product": "hpax",
"programFiles": [
"lib/hpax.ex",
"lib/hpax/types.ex"
],
"programRoutines": [
{
"name": "\u0027Elixir.HPAX\u0027:decode/2"
},
{
"name": "\u0027Elixir.HPAX.Types\u0027:decode_integer/2"
},
{
"name": "\u0027Elixir.HPAX.Types\u0027:decode_remaining_integer/3"
}
],
"repo": "https://github.com/elixir-mint/hpax",
"vendor": "elixir-mint",
"versions": [
{
"lessThan": "1.0.4",
"status": "affected",
"version": "0.1.0",
"versionType": "semver"
}
]
},
{
"collectionURL": "https://github.com",
"cpes": [
"cpe:2.3:a:elixir-mint:hpax:*:*:*:*:*:*:*:*"
],
"defaultStatus": "unaffected",
"modules": [
"\u0027Elixir.HPAX\u0027",
"\u0027Elixir.HPAX.Types\u0027"
],
"packageName": "elixir-mint/hpax",
"packageURL": "pkg:github/elixir-mint/hpax",
"product": "hpax",
"programFiles": [
"lib/hpax.ex",
"lib/hpax/types.ex"
],
"programRoutines": [
{
"name": "\u0027Elixir.HPAX\u0027:decode/2"
},
{
"name": "\u0027Elixir.HPAX.Types\u0027:decode_integer/2"
},
{
"name": "\u0027Elixir.HPAX.Types\u0027:decode_remaining_integer/3"
}
],
"repo": "https://github.com/elixir-mint/hpax",
"vendor": "elixir-mint",
"versions": [
{
"lessThan": "1ba4bb2dc91e80089cf89c73970ac3ded76f17eb",
"status": "affected",
"version": "56db437a7e2c515e3bdd770ac7947b02cd2390d0",
"versionType": "git"
}
]
}
],
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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 \u003c\u003c\u003c 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."
},
{
"lang": "es",
"value": "Una vulnerabilidad de complejidad algor\u00edtmica ineficiente en elixir-mint hpax permite una denegaci\u00f3n de servicio no autenticada a trav\u00e9s de la decodificaci\u00f3n de enteros HPACK sin l\u00edmites.\n\nhpax decodifica enteros HPACK de longitud variable sin un l\u00edmite superior en el valor decodificado o en el n\u00famero de octetos de continuaci\u00f3n. \u2019Elixir.HPAX.Types\u2019:decode_remaining_integer/3 acumula el entero como int + (value \u003c\u003c\u003c m), desplazando 7 bits m\u00e1s por cada octeto de continuaci\u00f3n y deteni\u00e9ndose solo en un octeto de terminaci\u00f3n o entrada truncada, nunca porque el entero se hizo demasiado grande. Debido a que los enteros BEAM son de precisi\u00f3n arbitraria, una secuencia de N octetos de continuaci\u00f3n construye un bignum de O(N) bits y se vuelve a a\u00f1adir a un bignum cada vez m\u00e1s grande en cada paso, por lo que el costo total de decodificaci\u00f3n es superlineal (aproximadamente O(N^2)). Un atacante no autenticado que puede enviar un bloque de encabezado HTTP/2 a un servidor que utiliza este decodificador (alcanzado a trav\u00e9s del punto de entrada \u2019Elixir.HPAX\u2019:decode/2) puede proporcionar un peque\u00f1o bloque de encabezado que fuerza una gran cantidad de CPU (y memoria transitoria) controlada por el atacante, una amplificaci\u00f3n de denegaci\u00f3n de servicio.\n\nEste problema afecta a hpax desde la versi\u00f3n 0.1.1 anterior a la 1.0.4."
}
],
"id": "CVE-2026-58226",
"lastModified": "2026-11-24T06:17:08.450",
"metrics": {
"cvssMetricV40": [
{
"cvssData": {
"Automatable": "NOT_DEFINED",
"Recovery": "NOT_DEFINED",
"Safety": "NOT_DEFINED",
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"attackVector": "NETWORK",
"availabilityRequirement": "NOT_DEFINED",
"baseScore": 8.7,
"baseSeverity": "HIGH",
"confidentialityRequirement": "NOT_DEFINED",
"exploitMaturity": "NOT_DEFINED",
"integrityRequirement": "NOT_DEFINED",
"modifiedAttackComplexity": "NOT_DEFINED",
"modifiedAttackRequirements": "NOT_DEFINED",
"modifiedAttackVector": "NOT_DEFINED",
"modifiedPrivilegesRequired": "NOT_DEFINED",
"modifiedSubAvailabilityImpact": "NOT_DEFINED",
"modifiedSubConfidentialityImpact": "NOT_DEFINED",
"modifiedSubIntegrityImpact": "NOT_DEFINED",
"modifiedUserInteraction": "NOT_DEFINED",
"modifiedVulnAvailabilityImpact": "NOT_DEFINED",
"modifiedVulnConfidentialityImpact": "NOT_DEFINED",
"modifiedVulnIntegrityImpact": "NOT_DEFINED",
"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: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",
"version": "4.0",
"vulnAvailabilityImpact": "HIGH",
"vulnConfidentialityImpact": "NONE",
"vulnIntegrityImpact": "NONE",
"vulnerabilityResponseEffort": "NOT_DEFINED"
},
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"type": "Secondary"
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2026-58226",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "yes"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-07-06T12:49:38.954923Z",
"version": "2.0.3"
}
}
]
},
"published": "2026-07-06T11:16:31.143",
"references": [
{
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"url": "https://cna.erlef.org/cves/CVE-2026-58226.html"
},
{
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"url": "https://github.com/elixir-mint/hpax/commit/1ba4bb2dc91e80089cf89c73970ac3ded76f17eb"
},
{
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"url": "https://github.com/elixir-mint/hpax/commit/56db437a7e2c515e3bdd770ac7947b02cd2390d0"
},
{
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"url": "https://github.com/elixir-mint/hpax/security/advisories/GHSA-jj2p-32j7-whj2"
},
{
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"url": "https://osv.dev/vulnerability/EEF-CVE-2026-58226"
},
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"url": "https://github.com/elixir-mint/hpax/security/advisories/GHSA-jj2p-32j7-whj2"
}
],
"sourceIdentifier": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"vulnStatus": "Deferred",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-407"
}
],
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"type": "Secondary"
}
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…