CVE-2026-22795Missing ASN1_TYPE validation in PKCS#12 parsing
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | edk2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | nodejs | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | openssl | Fixed | 3.5.5-1ubuntu1 | UBUNTU-CVE-2026-22795 |
| Ubuntu 25.10 | edk2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | nodejs | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | openssl | Fixed | 3.5.3-1ubuntu3 | UBUNTU-CVE-2026-22795 |
| Ubuntu 24.04 | edk2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | nodejs | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | openssl | Fixed | 3.0.13-0ubuntu3.7 | UBUNTU-CVE-2026-22795 |
| Ubuntu 22.04 | edk2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | nodejs | Fix pending | UBUNTU-CVE-2026-22795 | |
| Ubuntu 22.04 | openssl | Fixed | 3.0.2-0ubuntu1.21 | UBUNTU-CVE-2026-22795 |
| Ubuntu 20.04 | openssl | Fix pending | 1.1.1f-1ubuntu2.24+esm2 (Ubuntu Pro) | UBUNTU-CVE-2026-22795 |
| Ubuntu 18.04 | nodejs | Fix pending | UBUNTU-CVE-2026-22795 | |
| Ubuntu 18.04 | openssl | Fix pending | 1.1.1-1ubuntu2.1~18.04.23+esm7 (Ubuntu Pro) | UBUNTU-CVE-2026-22795 |
| Ubuntu 16.04 | nodejs | Fix pending | UBUNTU-CVE-2026-22795 | |
| Debian 14 | openssl | Fixed | 3.5.5-1 | DEBIAN-CVE-2026-22795 |
| Debian 13 | openssl | Fixed | 3.5.4-1~deb13u2 | DEBIAN-CVE-2026-22795 |
| Debian 12 | openssl | Fixed | 3.0.18-1~deb12u2 | DEBIAN-CVE-2026-22795 |
| Red Hat Enterprise Linux 10 | edk2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | edk2-aarch64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | edk2-ovmf | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | edk2-tools | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | edk2-tools-doc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | mokutil | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | openssl | Fixed | 1:3.5.1-7.el10_1 | RHSA-2026:1472 |
| Red Hat Enterprise Linux 10 | openssl-devel | Fixed | 1:3.5.1-7.el10_1 | RHSA-2026:1472 |
| Red Hat Enterprise Linux 10 | openssl-libs | Fixed | 1:3.5.1-7.el10_1 | RHSA-2026:1472 |
| Red Hat Enterprise Linux 10 | openssl-perl | Fixed | 1:3.5.1-7.el10_1 | RHSA-2026:1472 |
| Red Hat Enterprise Linux 10 | shim-aa64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | shim-unsigned-aarch64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | shim-unsigned-x64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | shim-x64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | compat-openssl11 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | edk2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | edk2-aarch64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | edk2-ovmf | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | edk2-tools | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | edk2-tools-doc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | openssl | Fixed | 1:3.5.1-7.el9_7 | RHSA-2026:1473 |
| Red Hat Enterprise Linux 9 | openssl-devel | Fixed | 1:3.5.1-7.el9_7 | RHSA-2026:1473 |
| Red Hat Enterprise Linux 9 | openssl-libs | Fixed | 1:3.5.1-7.el9_7 | RHSA-2026:1473 |
| Red Hat Enterprise Linux 9 | openssl-perl | Fixed | 1:3.5.1-7.el9_7 | RHSA-2026:1473 |
| Red Hat Enterprise Linux 9 | shim | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | shim-aa64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | shim-unsigned-aarch64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | shim-unsigned-x64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | shim-x64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | compat-openssl10 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | edk2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | edk2-aarch64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | edk2-ovmf | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mingw-openssl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mingw32-openssl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mingw64-openssl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | openssl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | openssl-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | openssl-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | openssl-perl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | openssl-static | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | shim | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | shim-aa64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | shim-ia32 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | shim-unsigned-x64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | shim-x64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | AAVMF | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | OVMF | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | openssl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | openssl-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | openssl-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | openssl-perl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | openssl-static | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | ovmf | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | openssl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | openssl-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | openssl-perl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | openssl-static | Fix pending Fix deferred | ||
| AlmaLinux 10 | openssl | Fixed | 1:3.5.1-7.el10_1.alma.1 | ALSA-2026:1472 |
| AlmaLinux 10 | openssl-devel | Fixed | 1:3.5.1-7.el10_1.alma.1 | ALSA-2026:1472 |
| AlmaLinux 10 | openssl-libs | Fixed | 1:3.5.1-7.el10_1.alma.1 | ALSA-2026:1472 |
| AlmaLinux 10 | openssl-perl | Fixed | 1:3.5.1-7.el10_1.alma.1 | ALSA-2026:1472 |
| AlmaLinux 9 | openssl | Fixed | 1:3.5.1-7.el9_7 | ALSA-2026:1473 |
| AlmaLinux 9 | openssl-devel | Fixed | 1:3.5.1-7.el9_7 | ALSA-2026:1473 |
| AlmaLinux 9 | openssl-libs | Fixed | 1:3.5.1-7.el9_7 | ALSA-2026:1473 |
| AlmaLinux 9 | openssl-perl | Fixed | 1:3.5.1-7.el9_7 | ALSA-2026:1473 |
| Rocky Linux 10 | openssl | Fixed | 1:3.5.1-7.el10_1 | RLSA-2026:1472 |
| Rocky Linux 9 | openssl | Fixed | 1:3.5.1-7.el9_7 | RLSA-2026:1473 |
| Alpine Linux 3.24 | openssl | Fixed | 3.5.5-r0 | ALPINE-CVE-2026-22795 |
| Alpine Linux 3.23 | openssl | Fixed | 3.5.5-r0 | ALPINE-CVE-2026-22795 |
| Alpine Linux 3.22 | openssl | Fixed | 3.5.5-r0 | ALPINE-CVE-2026-22795 |
| Alpine Linux 3.21 | openssl | Fixed | 3.3.6-r0 | ALPINE-CVE-2026-22795 |
| Alpine Linux 3.20 | openssl | Fixed | 3.3.6-r0 | ALPINE-CVE-2026-22795 |
| Alpine Linux 3.17 | openssl | Fixed | 3.0.19-r0 | ALPINE-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.
- OpenSSL: affected: 3.6.0 to before 3.6.1, 3.5.0 to before 3.5.5, 3.4.0 to before 3.4.4, 3.3.0 to before 3.3.6, 3.0.0 to before 3.0.19, 1.1.1 to before 1.1.1ze; fixed in
3.6.1,3.5.5,3.4.4,3.3.6,3.0.19,1.1.1ze
Vendor advisories:
- https://openssl-library.org/news/secadv/20260127.txt (vendor-advisory)
- https://github.com/openssl/openssl/commit/ef2fb66ec571564d64d1c74a12e388a2a54d05d2 (patch)
- https://github.com/openssl/openssl/commit/2502e7b7d4c0cf4f972a881641fe09edc67aeec4 (patch)
- https://github.com/openssl/openssl/commit/7bbca05be55b129651d9df4bdb92becc45002c12 (patch)
- https://github.com/openssl/openssl/commit/eeee3cbd4d682095ed431052f00403004596373e (patch)
- https://github.com/openssl/openssl/commit/572844beca95068394c916626a6d3a490f831a49 (patch)
References
- https://openssl-library.org/news/secadv/20260127.txt
- https://github.com/openssl/openssl/commit/ef2fb66ec571564d64d1c74a12e388a2a54d05d2
- https://github.com/openssl/openssl/commit/2502e7b7d4c0cf4f972a881641fe09edc67aeec4
- https://github.com/openssl/openssl/commit/7bbca05be55b129651d9df4bdb92becc45002c12
- https://github.com/openssl/openssl/commit/eeee3cbd4d682095ed431052f00403004596373e
- https://github.com/openssl/openssl/commit/572844beca95068394c916626a6d3a490f831a49
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.