CVE-2026-65627 Decompression bomb via unbounded zlib:inflate in jose_jwe_zip:uncompress/2
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| potatosalad jose | >= 1.0.0, < 1.11.13 | 1.11.13 |
| potatosalad jose | >= a7746ecd4950f85a393136e449a91dac62b5c429, < 857eb8e7f2d33e2c9ca2189e77226561cacaf2ad | 857eb8e7f2d33e2c9ca2189e77226561cacaf2ad |
| redhat/rabbitmq-server4-3-main(Red Hat:hummingbird:1) | < 4.3.7-0.1.hum1 | 4.3.7-0.1.hum1 |
| redhat/grafana13-1-main(Red Hat:hummingbird:1) | < 13.1.8-0.4.hum1 | 13.1.8-0.4.hum1 |
| redhat/grafana13-2-main(Red Hat:hummingbird:1) | < 13.2.4-0.3.hum1 | 13.2.4-0.3.hum1 |
| redhat/grafana12-4-main(Red Hat:hummingbird:1) | < 12.4.13-0.4.hum1 | 12.4.13-0.4.hum1 |
| redhat/rabbitmq-server4-3-main(Red Hat:hummingbird:1) | < 4.3.7-0.2.hum1 | 4.3.7-0.2.hum1 |
| redhat/rabbitmq-server4.2(Red Hat:hummingbird:1) | All versions | No fix listed |
| debian/erlang-jose(Debian:12) | All versions | No fix listed |
| debian/erlang-jose(Debian:12) | = 1.11.10-1 | No fix listed |
| debian/erlang-jose(Debian:12) | = 1.11.10-1~bpo12+1 | No fix listed |
| debian/erlang-jose(Debian:12) | = 1.11.12-1 | No fix listed |
| debian/erlang-jose(Debian:12) | = 1.11.12-1.1 | No fix listed |
| debian/erlang-jose(Debian:12) | = 1.11.12-2 | No fix listed |
| debian/erlang-jose(Debian:12) | = 1.11.12-2~bpo13+1 | No fix listed |
| debian/erlang-jose(Debian:12) | = 1.11.12-3 | No fix listed |
| debian/erlang-jose(Debian:12) | = 1.11.12-3~bpo13+1 | No fix listed |
| debian/erlang-jose(Debian:12) | = 1.11.13-1 | No fix listed |
| debian/erlang-jose(Debian:12) | = 1.11.5-1 | No fix listed |
| debian/erlang-jose(Debian:12) | = 1.11.6-1 | No fix listed |
| debian/erlang-jose(Debian:12) | = 1.11.6-1~bpo12+1 | No fix listed |
| debian/erlang-jose(Debian:13) | All versions | No fix listed |
| debian/erlang-jose(Debian:13) | = 1.11.10-1 | No fix listed |
| debian/erlang-jose(Debian:13) | = 1.11.12-1 | No fix listed |
| debian/erlang-jose(Debian:13) | = 1.11.12-1.1 | No fix listed |
Show 18 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/erlang-jose(Debian:13) | = 1.11.12-2 | No fix listed |
| debian/erlang-jose(Debian:13) | = 1.11.12-2~bpo13+1 | No fix listed |
| debian/erlang-jose(Debian:13) | = 1.11.12-3 | No fix listed |
| debian/erlang-jose(Debian:13) | = 1.11.12-3~bpo13+1 | No fix listed |
| debian/erlang-jose(Debian:13) | = 1.11.13-1 | No fix listed |
| debian/erlang-jose(Debian:14) | < 1.11.13-1 | 1.11.13-1 |
| debian/erlang-jose(Debian:14) | = 1.11.10-1 | No fix listed |
| debian/erlang-jose(Debian:14) | = 1.11.12-1 | No fix listed |
| debian/erlang-jose(Debian:14) | = 1.11.12-1.1 | No fix listed |
| debian/erlang-jose(Debian:14) | = 1.11.12-2 | No fix listed |
| debian/erlang-jose(Debian:14) | = 1.11.12-2~bpo13+1 | No fix listed |
| debian/erlang-jose(Debian:14) | = 1.11.12-3 | No fix listed |
| debian/erlang-jose(Debian:14) | = 1.11.12-3~bpo13+1 | No fix listed |
| ubuntu/jose(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/jose(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/jose(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/jose(Ubuntu:26.10) | All versions | No fix listed |
| azure linux rabbitmq-server(Azure Linux:3.0) | All versions | No fix listed |
References
- github.com exploit related vendor-advisory
- EEF CNA record for CVE-2026-65627 related
- OSV record EEF-CVE-2026-65627 related
- Introducing commit a7746ec in potatosalad/erlang-jose related
- Fix commit 857eb8e in potatosalad/erlang-jose patch
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:86200 patch vendor-advisory
- RHSA-2026:88537 patch vendor-advisory
- RHSA-2026:88541 patch vendor-advisory
- RHSA-2026:90388 patch vendor-advisory
- RHSA-2026:91476 patch vendor-advisory
- Red Hat Bugzilla 2561063 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-65627 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking