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

Published Apr 9, 2026
·
Updated

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.

Affected Software

2 affected components
wolfSSL wolfssl
wolfSSL wolfssl<=5.9.0

Event History

Apr 9, 2026
CVE Published
via MITRE·10:33 PM
Data Sourced
via MITRE·10:33 PM
DescriptionWeakness
Data Sourced
via NVD·11:17 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-5504?

CVE-2026-5504 has a moderate severity rating due to potential plaintext recovery through padding oracle attacks.

2

How do I fix CVE-2026-5504?

To fix CVE-2026-5504, update wolfSSL to the latest version where interior padding validation has been implemented.

3

Which versions of wolfSSL are affected by CVE-2026-5504?

CVE-2026-5504 affects previous versions of wolfSSL prior to the implementation of padding byte validation.

4

What are the consequences of not addressing CVE-2026-5504?

Not addressing CVE-2026-5504 could allow attackers to recover sensitive plaintext data from the encrypted messages.

5

How does CVE-2026-5504 exploit PKCS7 CBC decryption?

CVE-2026-5504 exploits PKCS7 CBC decryption by leveraging a padding oracle vulnerability through repeated decryption queries with modified ciphertext.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203