# CVE-2026-5504: PKCS7 CBC Padding Oracle — Plaintext Recovery

- Severity: Medium 6.3 (CVSS:4.0, scored by wolfSSL) `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 1% of CVEs (2026-12-02)
- Published: 2026-04-09T22:33:42.179Z
- Modified: 2026-06-17T10:59:08.143Z
- Weaknesses: CWE-354
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: wolfSSL

## Description

A padding oracle exists in wolfSSL's PKCS7 CBC decryption that could allow an attacker to recover plaintext through repeated decryption queries with modified ciphertext. In previous versions of wolfSSL the interior padding bytes are not validated.

(As written by CVE List.)

## Affected

- wolfSSL wolfSSL: up to 5.9.0

## Every score

- wolfSSL: CVSS:4.0 6.3 Medium `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/wolfSSL/wolfssl/pull/10088> (issue-tracking, patch)

## Sources

- CVE List: [CVE-2026-5504](https://www.cve.org/CVERecord?id=CVE-2026-5504), CVE Terms of Use, modified 2026-04-14
- NVD: [CVE-2026-5504](https://nvd.nist.gov/vuln/detail/CVE-2026-5504), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-5504 · Whole record: https://cve.day/CVE-2026-5504.json · Rebuilt by cve.day 2026-11-25T22:59:18.465Z
