CVE-2026-107493
Last modified
CVE-2026-107493 is a high-severity vulnerability rated 7.7/10 on the CVSS scale. Issue summary: When an application passes a stack to PEM_X509_INFO_read_bio_ex() to add entries to, and reading fails, OpenSSL frees every entry in the stack, both the old ones and any new ones, but leaves them in the stack. Impact summary: An application that passes an existing stack to PEM_X509_INFO_read_bio_ex() and keeps using it after a failed read may use memory that was already freed. This can cause a crash or, in principle, memory corruption. EPSS estimates a 0.12% chance of exploitation in the next 30 days.
Description
Issue summary: When an application passes a stack to PEM_X509_INFO_read_bio_ex() to add entries to, and reading fails, OpenSSL frees every entry in the stack, both the old ones and any new ones, but leaves them in the stack. Impact summary: An application that passes an existing stack to PEM_X509_INFO_read_bio_ex() and keeps using it after a failed read may use memory that was already freed. This can cause a crash or, in principle, memory corruption. Malformed PEM data can make the read fail, but only applications that pass an existing stack are affected, and OpenSSL itself does not do this. CWE: CWE-416: Use After Free Description: PEM_X509_INFO_read_bio_ex() reads certificates, CRLs and private keys from PEM data and adds them to a stack of X509_INFO structures. If the application passes a stack that is not NULL, the function adds the new entries to it and must leave the entries that are already there unchanged. If reading fails, the function frees every entry in the stack. This includes the entries that were there before the call, and the entries added by the call. It does not remove these entries from the stack, so the stack keeps pointers to freed memory. The failure can happen at any point, even before any entry was added. A PEM item with invalid content is enough. This also happens if the stack was empty: entries added before the failure are freed but stay in the stack. An application that then reads or frees the stack will use memory that was already freed. This can crash the application or, in principle, corrupt memory. Only applications that pass a stack that is not NULL are affected. OpenSSL itself never does this. Its own callers, including the code that TLS uses to load CA certificates, always pass NULL. When the stack is NULL, the function frees only the entries that it created itself, which is safe. We expect that very few applications pass an existing stack. An attacker can make the read fail with malformed PEM data, but cannot make an application pass an existing stack. The same problem affects PEM_X509_INFO_read_bio(), PEM_X509_INFO_read() and PEM_X509_INFO_read_ex(), which use the same code. OpenSSL 1.1.1 and 1.0.2 have only the first two of these functions. FIPS impact: no The affected code is outside the FIPS module boundary.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| OpenSSL | OpenSSL | >= 4.1.0, < 4.1.1; >= 4.0.0, < 4.0.4; >= 3.5.0, < 3.5.10; >= 3.0.0, < 3.0.24; >= 1.1.1, < 1.1.1zk; >= 1.0.2, < 1.0.2zt |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-107493?
How severe is CVE-2026-107493?
How do I fix CVE-2026-107493?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-107474The Apache Airflow connections API did not mask the apprise …6.5
- CVE-2026-107479An integer truncation vulnerability in the QTextCodec conver…1.7
- CVE-2026-10748An authenticated user with the nx-licensing-create privilege…7.2
- CVE-2026-107484An input and authorization validation vulnerability in Gaia …7.3
- CVE-2026-10749The Post Duplicator WordPress plugin before 3.0.15 does not …7.2
- CVE-2026-107492Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2026-107494Issue summary: The QUIC stack queues a RETIRE_CONNECTION_ID …7.5
- CVE-2026-107496Issue summary: Encrypting a CMS message to an EC certificate…7.5
- CVE-2026-1075The ZT Captcha plugin for WordPress is vulnerable to Cross-S…4.3
- CVE-2026-10750The Royal MCP WordPress plugin before 1.4.26 does not perfo…8.1
- CVE-2026-107503In Eclipse Ditto versions 3.6.0 to 3.8.13 and 3.9.0 to 3.9.7…7.1
- CVE-2026-107506The Simple Banner WordPress plugin before 3.3.3 does not co…7.5
Are you affected by CVE-2026-107493?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
