CVE-2026-4159 PUBLISHED

wc_PKCS7_DecodeEnvelopedData 1 byte out-of-bounds read

Assigner: wolfSSL
Reserved: 13.03.2026 Published: 19.03.2026 Updated: 19.03.2026

1-byte OOB heap read in wc_PKCS7_DecodeEnvelopedData via zero-length encrypted content. A vulnerability existed in wolfSSL 5.8.4 and earlier, where a 1-byte out-of-bounds heap read in wc_PKCS7_DecodeEnvelopedData could be triggered by a crafted CMS EnvelopedData message with zero-length encrypted content. Note that PKCS7 support is disabled by default.

Metrics

CVSS Vector: CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P/U:Green
CVSS Score: 1.2

Product Status

Vendor wolfSSL
Product wolfSSL
Versions Default: unaffected
  • affected from 0 to 5.9.0 (excl.)

Credits

  • Haruto Kimura (Stella) finder

References

Problem Types

  • CWE-125 Out-of-bounds read CWE