CVE-2026-65627
Decompression bomb via unbounded zlib:inflate in jose_jwe_zip:uncompress/2
Check your servers for CVE-2026-65627
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-65627 affects jose, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
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
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Attack requirements
- none: an attack works without special conditions on the target
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Impact on the vulnerable system
- confidentiality none, integrity none, availability high: what an attacker can read, change or stop in the vulnerable component
- Impact on other systems
- confidentiality none, integrity none, availability none: what an attacker can read, change or stop beyond it
Exploitation
EPSS 0.32%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 17.4% of all scored CVEs. Scores of 29 Nov 2026.
The assessment of CISA (SSVC, 2 Nov 2026):
- Exploitation
- poc: a proof of concept is public
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-409 Improper Handling of Highly Compressed Data (Data Amplification)
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
jose
package
jose |
affected from 1.0.0, before 1.11.13
Other versions: unaffected
|
|
jose
package
potatosalad/erlang-jose |
affected from a7746ecd4950f85a393136e449a91dac62b5c429, before 857eb8e7f2d33e2c9ca2189e77226561cacaf2ad
Other versions: unaffected
|
Is my server affected?
Find the installed version of jose and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i jose
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-65627 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-65627RHEL, Rocky, Alma, Fedora
rpm -q jose
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-65627Alpine
apk list --installed | grep -i joseWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-65627
trivy image --scanners vuln IMAGE | grep CVE-2026-65627
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Patches and release notes
- Fix commit 857eb8e in potatosalad/erlang-jose github.com · patch
Exploits and proof of concept
- https://github.com/potatosalad/erlang-jose/security/advisories/GHSA-wfpv-qxp8-x5gm github.com · vendor advisory, related, exploit
Other references
- EEF CNA record for CVE-2026-65627 cna.erlef.org · related
- OSV record EEF-CVE-2026-65627 osv.dev · related
- Introducing commit a7746ec in potatosalad/erlang-jose github.com · related
Source: the record CVE-2026-65627 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse