Public Security Advisories
Coordinated vulnerability disclosures from Argus. Findings, impact, and remediation, published in good faith.
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.