CVE-2026-22795 Missing ASN1_TYPE validation in PKCS#12 parsing
- Published
- Updated
- Exploit status
- No public exploit known
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 products
| Product | Affected versions | Fixed in |
|---|---|---|
| azure linux openvmm(Azure Linux:3.0) | All versions | No fix listed |
| OpenSSL | >= 3.6.0, < 3.6.1 | 3.6.1 |
| OpenSSL | >= 3.5.0, < 3.5.5 | 3.5.5 |
| OpenSSL | >= 3.4.0, < 3.4.4 | 3.4.4 |
| OpenSSL | >= 3.3.0, < 3.3.6 | 3.3.6 |
| OpenSSL | >= 3.0.0, < 3.0.19 | 3.0.19 |
| OpenSSL | >= 1.1.1, < 1.1.1ze | 1.1.1ze |
| Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | All versions | No fix listed |
| debian/openssl(Debian:12) | < 3.0.18-1~deb12u2 | 3.0.18-1~deb12u2 |
| debian/openssl(Debian:12) | = 3.0.10-1 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.10-1~deb12u1 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.11-1 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.11-1~deb12u1 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.11-1~deb12u2 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.12-1 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.12-2 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.13-1~deb12u1 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.13-1~deb12u2 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.14-1~deb12u1 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.14-1~deb12u2 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.15-1~deb12u1 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.16-1~deb12u1 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.17-1~deb12u1 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.17-1~deb12u2 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.17-1~deb12u3 | No fix listed |
Show 64 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/openssl(Debian:12) | = 3.0.18-1~deb12u1 | No fix listed |
| debian/openssl(Debian:12) | = 3.0.9-1 | No fix listed |
| debian/openssl(Debian:13) | < 3.5.4-1~deb13u2 | 3.5.4-1~deb13u2 |
| debian/openssl(Debian:13) | = 3.5.1-1 | No fix listed |
| debian/openssl(Debian:13) | = 3.5.1-1+deb13u1 | No fix listed |
| debian/openssl(Debian:13) | = 3.5.2-1 | No fix listed |
| debian/openssl(Debian:13) | = 3.5.3-1 | No fix listed |
| debian/openssl(Debian:13) | = 3.5.4-1~deb13u1 | No fix listed |
| debian/openssl(Debian:14) | < 3.5.5-1 | 3.5.5-1 |
| debian/openssl(Debian:14) | = 3.5.1-1 | No fix listed |
| debian/openssl(Debian:14) | = 3.5.2-1 | No fix listed |
| debian/openssl(Debian:14) | = 3.5.3-1 | No fix listed |
| debian/openssl(Debian:14) | = 3.5.4-1 | No fix listed |
| debian/openssl(Debian:14) | = 3.5.4-1~deb13u1 | No fix listed |
| debian/openssl(Debian:14) | = 3.5.4-1~deb13u2 | No fix listed |
| debian/openssl(Debian:14) | = 3.5.5-1~deb13u1 | No fix listed |
| debian/openssl(Debian:14) | = 3.5.5-1~deb13u2 | No fix listed |
| ubuntu/openssl(Ubuntu:22.04) | < 3.0.2-0ubuntu1.21 | 3.0.2-0ubuntu1.21 |
| ubuntu/nodejs(Ubuntu:22.04) | All versions | No fix listed |
| redhat openssl(Red Hat:enterprise_linux:10.1) | < 1:3.5.1-7.el10_1 | 1:3.5.1-7.el10_1 |
| redhat openssl(Red Hat:enterprise_linux:9) | < 1:3.5.1-7.el9_7 | 1:3.5.1-7.el9_7 |
| redhat/cert-manager/jetstack-cert-manager-acmesolver-rhel9:1791459707(Red Hat:cert_manager:1.18::el9) | All versions | No fix listed |
| redhat/cert-manager/jetstack-cert-manager-rhel9:1791459711(Red Hat:cert_manager:1.18::el9) | All versions | No fix listed |
| redhat/cert-manager/cert-manager-istio-csr-rhel9:1791459759(Red Hat:cert_manager:1.18::el9) | All versions | No fix listed |
| redhat/cert-manager/cert-manager-operator-rhel9:1789029076(Red Hat:cert_manager:1.18::el9) | All versions | No fix listed |
| redhat/cert-manager/cert-manager-operator-bundle:1791966259(Red Hat:cert_manager:1.18::el9) | All versions | No fix listed |
| redhat/costmanagement/costmanagement-metrics-rhel9-operator:1770836349(Red Hat:cost_management:4::el9) | All versions | No fix listed |
| redhat/discovery/discovery-server-rhel9:1769104765(Red Hat:discovery:2::el9) | All versions | No fix listed |
| redhat/discovery/discovery-ui-rhel9:1769111774(Red Hat:discovery:2::el9) | All versions | No fix listed |
| redhat/openssl-main(Red Hat:hummingbird:1) | < 3.5.6-0.1.hum1 | 3.5.6-0.1.hum1 |
| redhat/insights-proxy/insights-proxy-container-rhel9:1770740405(Red Hat:insights_proxy:1.5::el9) | All versions | No fix listed |
| redhat/rhui5/installer-rhel9:1770646925(Red Hat:rhui:5::el9) | All versions | No fix listed |
| redhat/rhui5/cds-rhel9:1773670073(Red Hat:rhui:5::el9) | All versions | No fix listed |
| redhat/rhui5/haproxy-rhel9:1773672059(Red Hat:rhui:5::el9) | All versions | No fix listed |
| redhat/rhui5/rhua-rhel9:1773670137(Red Hat:rhui:5::el9) | All versions | No fix listed |
| redhat/edk2(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/shim(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/shim-unsigned-aarch64(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/shim-unsigned-x64(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat openssl(Red Hat:rhel_els:6) | All versions | No fix listed |
| redhat openssl(Red Hat:rhel_els:7) | All versions | No fix listed |
| redhat/ovmf(Red Hat:rhel_els:7) | All versions | No fix listed |
| redhat/compat-openssl10(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/edk2(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/mingw-openssl(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat openssl(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/shim(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/shim-unsigned-x64(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/compat-openssl11(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/edk2(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/shim(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/shim-unsigned-aarch64(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/shim-unsigned-x64(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat openssl(Red Hat:jboss_core_services:1) | All versions | No fix listed |
| redhat/openshift/ose-rhel-coreos-8(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift/ose-rhel-coreos-9(Red Hat:openshift:4) | All versions | No fix listed |
| ubuntu/openssl(Ubuntu:24.04) | < 3.0.13-0ubuntu3.7 | 3.0.13-0ubuntu3.7 |
| ubuntu/openssl(Ubuntu:26.04) | < 3.5.5-1ubuntu1 | 3.5.5-1ubuntu1 |
| alpine/openssl(Alpine:v3.17) | >= 3.0.0, < 3.0.19-r0 | 3.0.19-r0 |
| alpine/openssl(Alpine:v3.20) | >= 3.3.0, < 3.3.6-r0 | 3.3.6-r0 |
| alpine/openssl(Alpine:v3.21) | >= 3.3.0, < 3.3.6-r0 | 3.3.6-r0 |
| alpine/openssl(Alpine:v3.22) | >= 3.5.0, < 3.5.5-r0 | 3.5.5-r0 |
| alpine/openssl(Alpine:v3.23) | >= 3.5.0, < 3.5.5-r0 | 3.5.5-r0 |
| alpine/openssl(Alpine:v3.24) | >= 3.5.0, < 3.5.5-r0 | 3.5.5-r0 |
References
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory
- OpenSSL Advisory vendor-advisory
- 3.6.1 git commit patch
- 3.5.5 git commit patch
- 3.4.4 git commit patch
- 3.3.6 git commit patch
- 3.0.19 git commit patch
- cert-portal.siemens.com
- Debian Security Tracker CVE-2026-22795 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-7980-1 vendor-advisory
- USN-7980-2 vendor-advisory
- www.cve.org
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:1472 patch vendor-advisory
- RHSA-2026:1473 patch vendor-advisory
- RHSA-2026:82347 patch vendor-advisory
- RHSA-2026:82354 patch vendor-advisory
- RHSA-2026:82372 patch vendor-advisory
- RHSA-2026:82857 patch vendor-advisory
- RHSA-2026:3228 patch vendor-advisory
- RHSA-2026:1736 patch vendor-advisory
- RHSA-2026:7261 patch vendor-advisory
- RHSA-2026:2485 patch vendor-advisory
- RHSA-2026:2563 patch vendor-advisory
- RHSA-2026:4943 patch vendor-advisory
- Red Hat Bugzilla 2430389 issue-tracking
- nvd.nist.gov
- security.alpinelinux.org vendor-advisory
- Release and Advisory Timeline vendor-advisory
- Security advisory list (json) vendor-advisory