Bug 2562910 - CVE-2026-65627 erlang-jose: jose: Denial of Service via unbounded decompression of crafted JWE tokens [fedora-all]
Summary: CVE-2026-65627 erlang-jose: jose: Denial of Service via unbounded decompressi...
Keywords:
Status: MODIFIED
Alias: None
Product: Fedora
Classification: Fedora
Component: erlang-jose
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Peter Lemenkov
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["99644175-e4db-4698-b891-e...
Depends On:
Blocks: CVE-2026-65627
TreeView+ depends on / blocked
 
Reported: 2026-10-28 14:09 UTC by Joel Chamberlain
Modified: 2026-11-02 18:14 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Joel Chamberlain 2026-10-28 14:09:43 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 Peter Lemenkov 2026-11-02 17:08:49 UTC
Fixed upstream in jose 1.11.13, which is available for F44 and later:

- Rawhide: erlang-jose-1.11.13-1.fc46 (stable)
- F45: FEDORA-2026-23264ef42e (erlang-jose-1.11.13-1.fc45)
- F44: FEDORA-2026-85312f9b13 (erlang-jose-1.11.13-1.fc44)

F43 is not getting an update: it reaches EOL in about a month, and this issue is a low-severity decompression DoS.

Comment 2 Fedora Update System 2026-11-02 18:13:58 UTC
FEDORA-2026-85312f9b13 (erlang-jose-1.11.13-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-85312f9b13

Comment 3 Fedora Update System 2026-11-02 18:14:02 UTC
FEDORA-2026-23264ef42e (erlang-jose-1.11.13-1.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-23264ef42e


Note You need to log in before you can comment on or make changes to this bug.