Memory Management Flaw in OpenSSL Affects PEM Data Processing
CVE-2026-107493

Currently unrated

Key Information:

Vendor

OpenSSL

Status
Vendor
CVE Published:
17 November 2026

What is CVE-2026-107493?

The function PEM_X509_INFO_read_bio_ex() in OpenSSL introduces a vulnerability that may allow applications to encounter instability when processing malformed PEM data. If an application provides an existing stack for certificates and encounters a read failure, the function erroneously frees memory associated with all entries in that stack, including those not created during the function call. Consequently, the stack retains pointers to freed memory, which can lead to application crashes or potential memory corruption if the application attempts to access or free the stack thereafter. While OpenSSL’s internal implementations avoid this issue by passing a NULL stack, third-party applications that do not adhere to this practice are at risk.

Affected Version(s)

OpenSSL 4.1.0 < 4.1.1

OpenSSL 4.0.0 < 4.0.4

OpenSSL 3.5.0 < 3.5.10

References

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Filipe Casal (Trail of Bits)
Viktor Dukhovni
.