CVEfocus › CVE database › CVE-2026-22795

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

CVSS 5.5 MediumEPSS 0.3% (higher than 19% of CVEs)Published 2026-01-27Updated 2026-10-15Assigner: openssl

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.

CWE-754

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

31Fixed
55Fix pending
7Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04edk2Not affected
vulnerable_code_not_present
Ubuntu 26.04nodejsNot affected
vulnerable_code_not_present
Ubuntu 26.04opensslFixed3.5.5-1ubuntu1UBUNTU-CVE-2026-22795
Ubuntu 25.10edk2Not affected
vulnerable_code_not_present
Ubuntu 25.10nodejsNot affected
vulnerable_code_not_present
Ubuntu 25.10opensslFixed3.5.3-1ubuntu3UBUNTU-CVE-2026-22795
Ubuntu 24.04edk2Not affected
vulnerable_code_not_present
Ubuntu 24.04nodejsNot affected
vulnerable_code_not_present
Ubuntu 24.04opensslFixed3.0.13-0ubuntu3.7UBUNTU-CVE-2026-22795
Ubuntu 22.04edk2Not affected
vulnerable_code_not_present
Ubuntu 22.04nodejsFix pendingUBUNTU-CVE-2026-22795
Ubuntu 22.04opensslFixed3.0.2-0ubuntu1.21UBUNTU-CVE-2026-22795
Ubuntu 20.04opensslFix pending1.1.1f-1ubuntu2.24+esm2 (Ubuntu Pro)UBUNTU-CVE-2026-22795
Ubuntu 18.04nodejsFix pendingUBUNTU-CVE-2026-22795
Ubuntu 18.04opensslFix pending1.1.1-1ubuntu2.1~18.04.23+esm7 (Ubuntu Pro)UBUNTU-CVE-2026-22795
Ubuntu 16.04nodejsFix pendingUBUNTU-CVE-2026-22795
Debian 14opensslFixed3.5.5-1DEBIAN-CVE-2026-22795
Debian 13opensslFixed3.5.4-1~deb13u2DEBIAN-CVE-2026-22795
Debian 12opensslFixed3.0.18-1~deb12u2DEBIAN-CVE-2026-22795
Red Hat Enterprise Linux 10edk2Fix pending
Fix deferred
Red Hat Enterprise Linux 10edk2-aarch64Fix pending
Fix deferred
Red Hat Enterprise Linux 10edk2-ovmfFix pending
Fix deferred
Red Hat Enterprise Linux 10edk2-toolsFix pending
Fix deferred
Red Hat Enterprise Linux 10edk2-tools-docFix pending
Fix deferred
Red Hat Enterprise Linux 10mokutilFix pending
Fix deferred
Red Hat Enterprise Linux 10opensslFixed1:3.5.1-7.el10_1RHSA-2026:1472
Red Hat Enterprise Linux 10openssl-develFixed1:3.5.1-7.el10_1RHSA-2026:1472
Red Hat Enterprise Linux 10openssl-libsFixed1:3.5.1-7.el10_1RHSA-2026:1472
Red Hat Enterprise Linux 10openssl-perlFixed1:3.5.1-7.el10_1RHSA-2026:1472
Red Hat Enterprise Linux 10shim-aa64Fix pending
Fix deferred
Red Hat Enterprise Linux 10shim-unsigned-aarch64Fix pending
Fix deferred
Red Hat Enterprise Linux 10shim-unsigned-x64Fix pending
Fix deferred
Red Hat Enterprise Linux 10shim-x64Fix pending
Fix deferred
Red Hat Enterprise Linux 9compat-openssl11Fix pending
Fix deferred
Red Hat Enterprise Linux 9edk2Fix pending
Fix deferred
Red Hat Enterprise Linux 9edk2-aarch64Fix pending
Fix deferred
Red Hat Enterprise Linux 9edk2-ovmfFix pending
Fix deferred
Red Hat Enterprise Linux 9edk2-toolsFix pending
Fix deferred
Red Hat Enterprise Linux 9edk2-tools-docFix pending
Fix deferred
Red Hat Enterprise Linux 9opensslFixed1:3.5.1-7.el9_7RHSA-2026:1473
Red Hat Enterprise Linux 9openssl-develFixed1:3.5.1-7.el9_7RHSA-2026:1473
Red Hat Enterprise Linux 9openssl-libsFixed1:3.5.1-7.el9_7RHSA-2026:1473
Red Hat Enterprise Linux 9openssl-perlFixed1:3.5.1-7.el9_7RHSA-2026:1473
Red Hat Enterprise Linux 9shimFix pending
Fix deferred
Red Hat Enterprise Linux 9shim-aa64Fix pending
Fix deferred
Red Hat Enterprise Linux 9shim-unsigned-aarch64Fix pending
Fix deferred
Red Hat Enterprise Linux 9shim-unsigned-x64Fix pending
Fix deferred
Red Hat Enterprise Linux 9shim-x64Fix pending
Fix deferred
Red Hat Enterprise Linux 8compat-openssl10Fix pending
Fix deferred
Red Hat Enterprise Linux 8edk2Fix pending
Fix deferred
Red Hat Enterprise Linux 8edk2-aarch64Fix pending
Fix deferred
Red Hat Enterprise Linux 8edk2-ovmfFix pending
Fix deferred
Red Hat Enterprise Linux 8mingw-opensslFix pending
Fix deferred
Red Hat Enterprise Linux 8mingw32-opensslFix pending
Fix deferred
Red Hat Enterprise Linux 8mingw64-opensslFix pending
Fix deferred
Red Hat Enterprise Linux 8opensslFix pending
Fix deferred
Red Hat Enterprise Linux 8openssl-develFix pending
Fix deferred
Red Hat Enterprise Linux 8openssl-libsFix pending
Fix deferred
Red Hat Enterprise Linux 8openssl-perlFix pending
Fix deferred
Red Hat Enterprise Linux 8openssl-staticFix pending
Fix deferred
Red Hat Enterprise Linux 8shimFix pending
Fix deferred
Red Hat Enterprise Linux 8shim-aa64Fix pending
Fix deferred
Red Hat Enterprise Linux 8shim-ia32Fix pending
Fix deferred
Red Hat Enterprise Linux 8shim-unsigned-x64Fix pending
Fix deferred
Red Hat Enterprise Linux 8shim-x64Fix pending
Fix deferred
Red Hat Enterprise Linux 7AAVMFFix pending
Fix deferred
Red Hat Enterprise Linux 7OVMFFix pending
Fix deferred
Red Hat Enterprise Linux 7opensslFix pending
Fix deferred
Red Hat Enterprise Linux 7openssl-develFix pending
Fix deferred
Red Hat Enterprise Linux 7openssl-libsFix pending
Fix deferred
Red Hat Enterprise Linux 7openssl-perlFix pending
Fix deferred
Red Hat Enterprise Linux 7openssl-staticFix pending
Fix deferred
Red Hat Enterprise Linux 7ovmfFix pending
Fix deferred
Red Hat Enterprise Linux 6opensslFix pending
Fix deferred
Red Hat Enterprise Linux 6openssl-develFix pending
Fix deferred
Red Hat Enterprise Linux 6openssl-perlFix pending
Fix deferred
Red Hat Enterprise Linux 6openssl-staticFix pending
Fix deferred
AlmaLinux 10opensslFixed1:3.5.1-7.el10_1.alma.1ALSA-2026:1472
AlmaLinux 10openssl-develFixed1:3.5.1-7.el10_1.alma.1ALSA-2026:1472
AlmaLinux 10openssl-libsFixed1:3.5.1-7.el10_1.alma.1ALSA-2026:1472
AlmaLinux 10openssl-perlFixed1:3.5.1-7.el10_1.alma.1ALSA-2026:1472
AlmaLinux 9opensslFixed1:3.5.1-7.el9_7ALSA-2026:1473
AlmaLinux 9openssl-develFixed1:3.5.1-7.el9_7ALSA-2026:1473
AlmaLinux 9openssl-libsFixed1:3.5.1-7.el9_7ALSA-2026:1473
AlmaLinux 9openssl-perlFixed1:3.5.1-7.el9_7ALSA-2026:1473
Rocky Linux 10opensslFixed1:3.5.1-7.el10_1RLSA-2026:1472
Rocky Linux 9opensslFixed1:3.5.1-7.el9_7RLSA-2026:1473
Alpine Linux 3.24opensslFixed3.5.5-r0ALPINE-CVE-2026-22795
Alpine Linux 3.23opensslFixed3.5.5-r0ALPINE-CVE-2026-22795
Alpine Linux 3.22opensslFixed3.5.5-r0ALPINE-CVE-2026-22795
Alpine Linux 3.21opensslFixed3.3.6-r0ALPINE-CVE-2026-22795
Alpine Linux 3.20opensslFixed3.3.6-r0ALPINE-CVE-2026-22795
Alpine Linux 3.17opensslFixed3.0.19-r0ALPINE-CVE-2026-22795

What the vendor says

As published in the CVE record by openssl, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.