All vulnerabilities

Servers and applications

CVE-2026-107493

Use-After-Free in PEM_X509_INFO_read_bio_ex() when appending to a caller-supplied stack fails

Severity
High 7.7
Published
17 Nov 2026
Last changed
17 Nov 2026
Added to UpHeron
17 Nov 2026
Fixed in
1.0.2zt, 1.1.1zk, 3.0.24, 3.5.10, 4.0.4, 4.1.1
Exploit chance
0.1% in the next 30 daysHigher than 3% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Use after free (CWE-416)
Attack
Needs local access · No login needed · No user action needed
Attacker can
Read data · Take it down
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Sources
CVE Program

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.

From the CVE Program. Shortened; the full text is there.

Affected software

SoftwareAffected versions
OpenSSLServers and applications · cna:openssl|openssl
  • From 1.0.2 before 1.0.2zt
  • From 1.1.1 before 1.1.1zk
  • From 3.0.0 before 3.0.24
  • From 3.5.0 before 3.5.10
  • From 4.0.0 before 4.0.4
  • From 4.1.0 before 4.1.1

About OpenSSL

open-source implementation of the SSL and TLS protocols

From Wikidata, CC0 1.0.
GitHub stars
31,449GitHub, 15 Nov 2026
Forks
11,615GitHub, 15 Nov 2026
Latest release
openssl-4.1.0GitHub, 15 Nov 2026
Released
23 Oct 2026GitHub
Developer
Richard LevitteWikidata
License
Apache Software License 2.0Wikidata
Written in
C, assembly language, PerlWikidata
First released
1998Wikidata
First published on GitHub
15 Jan 2013GitHub

Release lines

ReleaseLatestSecurity fixes
4.14.1.0Until 23 Nov 2027
4.04.0.3Until 14 May 2027
3.63.6.5Ended 1 Nov 2026
3.5 (LTS)LTS3.5.9Until 8 Apr 2030
3.43.4.8Ended 22 Oct 2026
3.33.3.7Ended 9 Apr 2026

From endoflife.date.

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-107493