CVE-2026-65627
Last modified
CVE-2026-65627 is a medium-severity vulnerability rated 6.9/10 on the CVSS scale. 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. EPSS estimates a 0.25% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| potatosalad | jose | >= 1.0.0, < 1.11.13 |
| potatosalad | jose | >= a7746ecd4950f85a393136e449a91dac62b5c429, < 857eb8e7f2d33e2c9ca2189e77226561cacaf2ad |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-65627?
How severe is CVE-2026-65627?
How do I fix CVE-2026-65627?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-65618Improper URL validation when handling specific URLs, allows …6.5
- CVE-2026-6562A flaw has been found in dameng100 muucmf 1.9.5.20260309. Im…7.3
- CVE-2026-65623Inefficient Algorithmic Complexity vulnerability in mtrudel …8.7
- CVE-2026-65624Allocation of Resources Without Limits or Throttling vulnera…6.9
- CVE-2026-65625The pure-Erlang AES-GCM fallback in jose_jwa_aes derives the…5.9
- CVE-2026-65626The pure-Erlang RSAES-PKCS1-v1_5 decryption in the jose_jwa_…5.9
- CVE-2026-65628jose_jwk:shared_secret/2 (exposed in Elixir as JOSE.JWK.shar…5.9
- CVE-2026-65629Use of Password Hash With Insufficient Computational Effort …7.4
- CVE-2026-6563A vulnerability has been found in H3C Magic B1 up to 100R004…8.8
- CVE-2026-65630Observable Timing Discrepancy vulnerability in potatosalad j…5.9
- CVE-2026-65631Inefficient Algorithmic Complexity in erlang-jose allows an …6.9
- CVE-2026-65632The jose library accepts ECDSA (ES256, ES256K, ES384, and ES…5.1
Are you affected by CVE-2026-65627?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
