CVE-2026-5392: wolfSSL heap OOB read in PKCS7 SignedData streaming
Heap out-of-bounds read in PKCS7 parsing. A crafted PKCS7 message can trigger an OOB read on the heap. The missing bounds check is in the indefinite-length end-of-content verification loop in PKCS7VerifySignedData().
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
alpine/wolfsslto a version that resolves this vulnerability.Fixed in 5.9.1-r0 - Upgrade
Upgrade
debian/wolfsslto a version that resolves this vulnerability.Fixed in 5.9.2-1.2
Event History
Frequently Asked Questions
What is the severity of CVE-2026-5392?
The severity of CVE-2026-5392 is classified as high due to the potential for an out-of-bounds read leading to information disclosure.
How do I fix CVE-2026-5392?
To fix CVE-2026-5392, update to the latest version of wolfSSL that includes the patch for the heap out-of-bounds read.
What type of vulnerability is CVE-2026-5392?
CVE-2026-5392 is a heap out-of-bounds read vulnerability found in the PKCS7 SignedData parsing function of wolfSSL.
Which components are affected by CVE-2026-5392?
CVE-2026-5392 affects the wolfSSL library, specifically the PKCS7 message parsing functionality.
What can be exploited in CVE-2026-5392?
CVE-2026-5392 can be exploited by crafting a malicious PKCS7 message that triggers an out-of-bounds read on the heap.