Description
Two buffer overflow vulnerabilities existed in the wolfSSL CRL parser when parsing CRL numbers: a heap-based buffer overflow could occur when improperly storing the CRL number as a hexadecimal string, and a stack-based overflow for sufficiently sized CRL numbers. With appropriately crafted CRLs, either of these out of bound writes could be triggered. Note this only affects builds that specifically enable CRL support, and the user would need to load a CRL from an untrusted source.
Problem types
CWE-122 Heap-based Buffer Overflow
Product status
Any version before 5.9.0
References
github.com/wolfSSL/wolfssl/pull/9628/
github.com/wolfSSL/wolfssl/pull/9873/