CVE-2026-65627
published medium CVSS 4.0 · 6.9Decompression bomb via unbounded zlib:inflate in jose_jwe_zip:uncompress/2
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| potatosalad | — | jose1.0.0 to < 1.11.13 · Other versions: unaffected | Affected | Not stated | EEF |
| potatosalad | — | potatosalad/erlang-josejose · a7746ecd4950f85a393136e449a91dac62b5c429 to < 857eb8e7f2d33e2c9ca2189e77226561cacaf2ad · Other versions: unaffected | Affected | Not stated | EEF |
Description
Improper Handling of Highly Compressed Data (Data Amplification) vulnerability in potatosalad jose (erlang-jose) allows a remote attacker to exhaust a node's memory with a small crafted JWE token. The jose_jwe_zip:uncompress/2 function in src/jwe/jose_jwe_zip.erl decompresses the DEFLATE-compressed plaintext of a JWE that carries the optional zip: DEF header by calling zlib:inflate/2 on the entire attacker-controlled stream, with no bound on the output size or the inflation ratio. Raw DEFLATE reaches ratios around 1000:1 on highly repetitive input, so a few-kilobyte token inflates to hundreds of megabytes or gigabytes in a single call. Decompression runs automatically during decryption through jose_jwe:block_decrypt/2 (JOSE.JWE.block_decrypt/2 in Elixir), before the recipient can inspect or reject the payload. With the common asymmetric key-management algorithms (RSA-OAEP, ECDH-ES) an attacker needs only the recipient's public key to craft such a token, so no authentication or secret material is required. A single small token can exhaust the node's memory and crash the BEAM, denying service to all users. This issue affects jose: from 1.0.0 before 1.11.13.
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
- 6.9 / 10
- Severity
- medium
- Provider
- EEF · cna
- Vector string
- CVSS:4.0/AV:L/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 |
|---|---|---|---|
| potatosalad | jose | 1.0.0 to < 1.11.13 (affected · semver)Default: unaffected | EEF · cna |
| potatosalad | jose | a7746ecd4950f85a393136e449a91dac62b5c429 to < 857eb8e7f2d33e2c9ca2189e77226561cacaf2ad (affected · git)Default: unaffected | EEF · cna |
Weaknesses
1- CWE-409 CWE-409 Improper Handling of Highly Compressed Data (Data Amplification)
References
5- EEF CNA record for CVE-2026-65627 https://cna.erlef.org/cves/CVE-2026-65627.html
- Fix commit 857eb8e in potatosalad/erlang-jose https://github.com/potatosalad/erlang-jose/commit/857eb8e7f2d33e2c9ca2189e77226561cacaf2ad
- Introducing commit a7746ec in potatosalad/erlang-jose https://github.com/potatosalad/erlang-jose/commit/a7746ecd4950f85a393136e449a91dac62b5c429
- https://github.com/potatosalad/erlang-jose/security/advisories/GHSA-wfpv-qxp8-x5gm
- OSV record EEF-CVE-2026-65627 https://osv.dev/vulnerability/EEF-CVE-2026-65627
Provider assertions
2EEF · cna
Decompression bomb via unbounded zlib:inflate in jose_jwe_zip:uncompress/2
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f84c8a877cd7840666b5774b6c37935c828b032593a6cb13ead1d0ad6582721f
- Ingested
- 19 Nov 2026, 08:07:30 UTC
- Source record
- Official CVE record