Public Security Advisories
Coordinated vulnerability disclosures from Argus. Findings, impact, and remediation, published in good faith.
On WOLF_C89 builds, XSNPRINTF expands to sprintf and ignores its size argument. X509PrintReqAttributes formats each CSR attribute value into an 80-byte stack buffer through that macro, so printing a request with a long attribute value writes past the buffer.
On WOLF_C89 builds, XSNPRINTF expands to sprintf and ignores its size argument. wolfSSL_X509V3_EXT_print formats the hex form of an Authority or Subject Key Identifier extension into a 129-byte stack buffer through that macro, so printing a certificate with a long key identifier writes past the buffer.
In WOLF_C89 builds the XSNPRINTF macro expands to sprintf and discards its size argument. Callers across the library format untrusted data into fixed buffers and rely on that size, or on a length check made after the write, so certificate fields can overflow stack and structure buffers. Master has bounded the known call sites but keeps the mapping.
In WOLF_C89 builds DecodePolicyOID converts each OID arc to text with an unbounded sprintf and checks the length afterwards. A certificate whose certificatePolicies OID is longer than the 200-byte destination writes up to 11 bytes past it inside the decoded certificate structure while the certificate is parsed, before the certificate is rejected.
In WOLF_C89 builds the certificate printer formats each extension's OID text and criticality into an 80-byte stack buffer with an unbounded sprintf and checks the length afterwards. A critical extension with long numeric OID text writes up to six bytes past the buffer. The parser rejects unrecognised critical extensions, so only builds that accept certain critical extensions without naming them are exposed.
In WOLF_C89 builds the certificate printer appends each serial number byte to an 80-byte stack buffer with an unbounded sprintf and checks the remaining space afterwards. Printing a certificate whose serial number is 23 to 32 bytes long writes three bytes past the buffer before the function returns an error.
// No embargoed advisories.