Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-107493

published high CVSS 3.1 · 7.7

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

Published
17 Nov 2026, 08:14:08 UTC
Updated
17 Nov 2026, 16:49:16 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
OpenSSL — OpenSSL4.1.0 to < 4.1.1 · 4.0.0 to < 4.0.4 · 3.5.0 to < 3.5.10 · 3.0.0 to < 3.0.24 · 1.1.1 to < 1.1.1zk · 1.0.2 to < 1.0.2zt · Other versions: unaffected Affected Not stated openssl
Amazon Linux AL2 Release evaluation Pending Fix Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Pending Fix Not stated Amazon Linux assessment
Alpine Linux edge openssl Fixed 3.5.9-r2 Package fix record
Alpine Linux v3.22 openssl Fixed 3.5.9-r2 Package fix record
Alpine Linux v3.23 openssl Fixed 3.5.10-r0 Package fix record
Alpine Linux v3.24 openssl Fixed 3.5.9-r2 Package fix record

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.

en · openssl · cna

Vendor advisories explicitly linked to this CVE.

4

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.7 / 10
Severity
high
Provider
CISA-ADP · adp
Vector string
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
OpenSSL OpenSSL 4.1.0 to < 4.1.1 (affected · semver)4.0.0 to < 4.0.4 (affected · semver)3.5.0 to < 3.5.10 (affected · semver)3.0.0 to < 3.0.24 (affected · semver)1.1.1 to < 1.1.1zk (affected · custom)1.0.2 to < 1.0.2zt (affected · custom)Default: unaffected openssl · cna

Weaknesses

1
  • CWE-416 Use After Free (openssl · cna)

References

4
  • 4.0.4 git commit https://github.com/openssl/openssl/commit/0486dfadfec558e1808f59d35a8d79e541c4e7d7 patch Contributors: openssl (cna)
  • 4.1.1 git commit https://github.com/openssl/openssl/commit/c57a5ccf0c060755b5494a6870922b7c6cdd7dd8 patch Contributors: openssl (cna)
  • 3.5.10 git commit https://github.com/openssl/openssl/commit/c8f6d04f8e6d40b1bf83334e4a2ec9daf5943a3d patch Contributors: openssl (cna)
  • OpenSSL Advisory https://openssl-library.org/news/secadv/20261117.txt vendor-advisory Contributors: openssl (cna)

Provider assertions

2

openssl · cna

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

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
b33fc9192c9f6b3201c7b64561aa3b80cfeb535d2ad9cf5080bc4b4e6721cab7
Ingested
17 Nov 2026, 16:51:25 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected