Use After Free Affecting openssl package, versions [,3.5.10)[4.0.0-alpha1, 4.0.4)[4.1.0-alpha1, 4.1.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.15% (3rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-OPENSSL-22989642
  • published26 Nov 2026
  • disclosed17 Nov 2026
  • creditFilipe Casal (Trail of Bits)

Introduced: 17 Nov 2026

NewCVE-2026-107493  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade openssl to version 3.5.10, 4.0.4, 4.1.1 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free via the PEM_X509_INFO_read_bio_ex() function in crypto/pem/pem_info.c. When an application passes an existing X509_INFO stack and an attacker supplies malformed PEM data that makes reading fail, the function frees the stack entries but leaves their pointers in the stack. If the application then reads or frees the stack, it may crash or corrupt memory; only applications that pass a non-NULL stack are affected.

Notes

  • At the call-site gate, OpenSSL’s own callers—including TLS CA-certificate loading—pass NULL; triggering the flaw requires an application integration that supplies an existing stack, not those built-in paths.
  • Additional fixes are available for premium supporters versions 3.0.24, 1.1.1zk, and 1.0.2zt.

CVSS Base Scores

version 4.0
version 3.1