CVE-2026-65626
Bleichenbacher padding oracle in RSAES-PKCS1-v1_5 decryption in jose
Mitigation
- Upgrade jose to 1.11.13 or later.
- Upgrade jose to 0eac8cef9aaa48fb6846f4e47a0002dc4a73966d or later.
Who should check
- Anyone running potatosalad jose >= 1.3.0, < 1.11.13
- Anyone running potatosalad jose >= 853c5d4c4c0bd2a7ecb055b237f4284184e176c8, < 0eac8cef9aaa48fb6846f4e47a0002dc4a73966d
Vulnerability facts
- Affected
- potatosalad jose >= 1.3.0, < 1.11.13; potatosalad jose >= 853c5d4c4c0bd2a7ecb055b237f4284184e176c8, < 0eac8cef9aaa48fb6846f4e47a0002dc4a73966d
- Fixed in
- potatosalad jose 1.11.13, potatosalad jose 0eac8cef9aaa48fb6846f4e47a0002dc4a73966d
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.9 (v4.0, CNA)CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Attack requirements: Present
- Privileges required: None
- User interaction: None
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: None
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.12% chance of exploitation in 30 days (percentile 1, 2026-11-26)
- CWE
- CWE-203
- Modified
Description
The pure-Erlang RSAES-PKCS1-v1_5 decryption in the jose_jwa_pkcs1 module is a Bleichenbacher padding oracle. eme_pkcs1_decode/2 returns the recovered message when a decrypted block has valid PKCS#1 v1.5 padding (a leading 0x00 0x02, a padding string of at least eight non-zero bytes, and a 0x00 separator) and returns a distinct error result otherwise, and rsaes_pkcs1_decrypt/2 additionally returns {error, {badsize, _}} when the length check fails. The implementation applies no implicit-rejection countermeasure (RFC 8017 §7.2.2): it does not substitute a deterministic pseudo-random plaintext on a padding failure, so a one-bit padding-conformance signal leaks to the caller. Because the underlying modular exponentiation in dp/2 is a raw, non-blinded crypto:mod_pow/3, the padding check also stays distinguishable by timing even when an application normalizes every failure to a single error value. An unauthenticated attacker who knows only the public RSA key and can submit ciphertexts to a decryption endpoint that unwraps RSA1_5 JWE keys (or otherwise calls decrypt_private/3 with rsa_pkcs1_padding) can use this oracle to recover the plaintext of intercepted ciphertexts, such as content-encryption keys and thus the protected message, or to forge signatures, through roughly 10^4 to 10^6 adaptive chosen-ciphertext queries. This issue affects jose: from 1.3.0 before 1.11.13.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| potatosalad jose | >= 1.3.0, < 1.11.13 | — | cvelist |
| potatosalad jose | >= 853c5d4c4c0bd2a7ecb055b237f4284184e176c8, < 0eac8cef9aaa48fb6846f4e47a0002dc4a73966d | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-65626. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-65626.md Affected: potatosalad jose >= 1.3.0, < 1.11.13; potatosalad jose >= 853c5d4c4c0bd2a7ecb055b237f4284184e176c8, < 0eac8cef9aaa48fb6846f4e47a0002dc4a73966d Fixed in: potatosalad jose 1.11.13, potatosalad jose 0eac8cef9aaa48fb6846f4e47a0002dc4a73966d Steps: 1. Search this machine and project for potatosalad jose: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
FAQ
Is CVE-2026-65626 being exploited?
There is no confirmed exploitation: CVE-2026-65626 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.12% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-65626?
Medium: CVSS 5.9 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-65626?
potatosalad jose >= 1.3.0, < 1.11.13; potatosalad jose >= 853c5d4c4c0bd2a7ecb055b237f4284184e176c8, < 0eac8cef9aaa48fb6846f4e47a0002dc4a73966d.
Is there a fix for CVE-2026-65626?
Yes. Fixed in potatosalad jose 1.11.13, potatosalad jose 0eac8cef9aaa48fb6846f4e47a0002dc4a73966d. Upgrade jose to 1.11.13 or later. Upgrade jose to 0eac8cef9aaa48fb6846f4e47a0002dc4a73966d or later.
How do I check if I'm affected by CVE-2026-65626?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.