CVE-2026-45447: Heap Use-After-Free in the OpenSSL PKCS7_verify() Function

19 points by hoistbypetard


cadey

Obligatory "No way to prevent this" say users of only language where this regularly happens

hoistbypetard

This one is worth an immediate patch.

By my read, the function in question can be triggered by a malicious TLS server before its certificate is verified, if authorityInformationAccess is being processed, depending on how the library is configured. (And pre-verification in general for applications that are directly using the PKCS7 API.)

Applications that process PKCS#7 or S/MIME signed messages using OpenSSL PKCS#7 APIs may be affected. Applications using the CMS APIs for this processing are not affected.

If you think your application is using the CMS APIs, check very carefully. I'm sure I'm aware of code I've written that's still being run which didn't ever migrate to the newer APIs, even though it's been updated recently enough that one might reasonably expect that.