# CVE-2026-65626: Bleichenbacher padding oracle in RSAES-PKCS1-v1\_5 decryption in jose

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.9
- **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:N`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.12% (percentile 1, 2026-11-26)
- **CWE:** CWE-203
- **Published:** 2026-10-26T19:53:05.620Z
- **Modified:** 2026-11-19T08:03:06.718Z

## Who should check

- Anyone running potatosalad jose \>= 1.3.0, \< 1.11.13
- Anyone running potatosalad jose \>= 853c5d4c4c0bd2a7ecb055b237f4284184e176c8, \< 0eac8cef9aaa48fb6846f4e47a0002dc4a73966d

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

- potatosalad jose: \>= 1.3.0, \< 1.11.13 (cvelist)
- potatosalad jose: \>= 853c5d4c4c0bd2a7ecb055b237f4284184e176c8, \< 0eac8cef9aaa48fb6846f4e47a0002dc4a73966d (cvelist)

## Mitigation

- Upgrade jose to 1.11.13 or later.
- Upgrade jose to 0eac8cef9aaa48fb6846f4e47a0002dc4a73966d or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

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

## References

- vendor: <https://github.com/potatosalad/erlang-jose/security/advisories/GHSA-vwvr-f994-6j9j>
- patch: <https://github.com/potatosalad/erlang-jose/commit/853c5d4c4c0bd2a7ecb055b237f4284184e176c8>
- patch: <https://github.com/potatosalad/erlang-jose/commit/0eac8cef9aaa48fb6846f4e47a0002dc4a73966d>
- other: <https://cna.erlef.org/cves/CVE-2026-65626.html>
- other: <https://osv.dev/vulnerability/EEF-CVE-2026-65626>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-65626>

HTML: <https://flawdb.com/CVE-2026-65626> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-65626>
