Bug 2562910

Summary: CVE-2026-65627 erlang-jose: jose: Denial of Service via unbounded decompression of crafted JWE tokens [fedora-all]
Product: [Fedora] Fedora Reporter: Joel Chamberlain <jochambe>
Component: erlang-joseAssignee: Peter Lemenkov <lemenkov>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: rawhideCC: erlang-maint-sig, jeremy, lemenkov
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["99644175-e4db-4698-b891-e59ae571b7fd"]}
Fixed In Version: erlang-jose-1.11.13-1.fc45 erlang-jose-1.11.13-1.fc44 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-11-05 01:02:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2561063    

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

Comment 4 Fedora Update System 2026-11-05 01:02:32 UTC
FEDORA-2026-23264ef42e (erlang-jose-1.11.13-1.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Fedora Update System 2026-11-05 01:26:38 UTC
FEDORA-2026-85312f9b13 (erlang-jose-1.11.13-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.