Vulnerability · Published Jan 27, 2026 · Assigned by openssl

CVE-2026-22795Missing ASN1_TYPE validation in PKCS#12 parsing

Medium 5.5

In plain English

A medium-severity security flaw in OpenSSL from OpenSSL. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 8% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.5Medium
Exploit odds (30 days)0.2%top 92.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Issue summary: An invalid or NULL pointer dereference can happen in an application processing a malformed PKCS#12 file. Impact summary: An application processing a malformed PKCS#12 file can be caused to dereference an invalid or NULL pointer on memory read, resulting in a Denial of Service. A type confusion vulnerability exists in PKCS#12 parsing code where an ASN1_TYPE union member is accessed without first validating the type, causing an invalid pointer read. The location is constrained to a 1-byte address space, meaning any attempted pointer manipulation can only target addresses between 0x00 and 0xFF. This range corresponds to the zero page, which is unmapped on most modern operating systems and will reliably result in a crash, leading only to a Denial of Service. Exploiting this issue also requires a user or application to process a maliciously crafted PKCS#12 file. It is uncommon to accept untrusted PKCS#12 files in applications as they are usually used to store private keys which are trusted by definition. For these reasons, the issue was assessed as Low severity. The FIPS modules in 3.5, 3.4, 3.3 and 3.0 are not affected by this issue, as the PKCS12 implementation is outside the OpenSSL FIPS module boundary. OpenSSL 3.6, 3.5, 3.4, 3.3, 3.0 and 1.1.1 are vulnerable to this issue. OpenSSL 1.0.2 is not affected by this issue.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:10openssl1:3.5.1-7.el10_1.alma.1ALSA-2026:1472
AlmaLinux:9openssl1:3.5.1-7.el9_7ALSA-2026:1473
AlmaLinux:10openssl-devel1:3.5.1-7.el10_1.alma.1ALSA-2026:1472
AlmaLinux:9openssl-devel1:3.5.1-7.el9_7ALSA-2026:1473
AlmaLinux:10openssl-libs1:3.5.1-7.el10_1.alma.1ALSA-2026:1472
AlmaLinux:9openssl-libs1:3.5.1-7.el9_7ALSA-2026:1473
AlmaLinux:10openssl-perl1:3.5.1-7.el10_1.alma.1ALSA-2026:1472
AlmaLinux:9openssl-perl1:3.5.1-7.el9_7ALSA-2026:1473
Alpine:v3.20openssl3.3.6-r0ALPINE-CVE-2026-22795
Alpine:v3.21openssl3.3.6-r0ALPINE-CVE-2026-22795
Alpine:v3.22openssl3.5.5-r0ALPINE-CVE-2026-22795
Alpine:v3.23openssl3.5.5-r0ALPINE-CVE-2026-22795
Alpine:v3.24openssl3.5.5-r0ALPINE-CVE-2026-22795
Debian:12openssl3.0.18-1~deb12u2DEBIAN-CVE-2026-22795
Debian:12openssl3.0.18-1~deb12u2DSA-6113-1
Debian:13openssl3.5.4-1~deb13u2DSA-6113-1
Debian:13openssl3.5.4-1~deb13u2DEBIAN-CVE-2026-22795
Debian:14openssl3.5.5-1DEBIAN-CVE-2026-22795
Rocky Linux:10openssl1:3.5.1-7.el10_1RLSA-2026:1472
Rocky Linux:9openssl1:3.5.1-7.el9_7RLSA-2026:1473
Ubuntu:22.04:LTSopenssl3.0.2-0ubuntu1.21UBUNTU-CVE-2026-22795
Ubuntu:22.04:LTSopenssl3.0.2-0ubuntu1.21USN-7980-1
Ubuntu:24.04:LTSopenssl3.0.13-0ubuntu3.7UBUNTU-CVE-2026-22795
Ubuntu:24.04:LTSopenssl3.0.13-0ubuntu3.7USN-7980-1
Ubuntu:25.10openssl3.5.3-1ubuntu3USN-7980-1
Ubuntu:25.10openssl3.5.3-1ubuntu3UBUNTU-CVE-2026-22795
Ubuntu:26.04:LTSopenssl3.5.5-1ubuntu1UBUNTU-CVE-2026-22795

Affected products (as reported)

VendorProductVersions
OpenSSL OpenSSL 3.6.0 – before 3.6.13.5.0 – before 3.5.53.4.0 – before 3.4.43.3.0 – before 3.3.63.0.0 – before 3.0.191.1.1 – before 1.1.1ze

Weakness: CWE-754 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

References