CVE-2026-22796 ASN1_TYPE Type Confusion in the PKCS7_digest_from_attributes() function
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- OpenSSLUbuntuDebianRed Hat
Description
Issue summary: A type confusion vulnerability exists in the signature
verification of signed PKCS#7 data where an ASN1_TYPE union member is
accessed without first validating the type, causing an invalid or NULL
pointer dereference when processing malformed PKCS#7 data.
Impact summary: An application performing signature verification of PKCS#7
data or calling directly the PKCS7_digest_from_attributes() function can be
caused to dereference an invalid or NULL pointer when reading, resulting in
a Denial of Service.
The function PKCS7_digest_from_attributes() accesses the message digest attribute
value without validating its type. When the type is not V_ASN1_OCTET_STRING,
this results in accessing invalid memory through the ASN1_TYPE union, causing
a crash.
Exploiting this vulnerability requires an attacker to provide a malformed
signed PKCS#7 to an application that verifies it. The impact of the
exploit is just a Denial of Service, the PKCS7 API is legacy and applications
should be using the CMS API instead. 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 PKCS#7 parsing implementation is outside the OpenSSL FIPS module
boundary.
OpenSSL 3.6, 3.5, 3.4, 3.3, 3.0, 1.1.1 and 1.0.2 are vulnerable to this issue.
Upgrade path
59 packages: 16 fixed, 43 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| azure linux openvmm(Azure Linux 3.0) | All versions | No fix listed | No fix yet |
| redhat openssl(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat openssl(Red Hat jboss_core_services 1) | All versions | No fix listed | No fix yet |
| redhat openssl(Red Hat rhel_els 6) | All versions | No fix listed | No fix yet |
| redhat openssl(Red Hat rhel_els 7) | All versions | No fix listed | No fix yet |
| redhat/cert-manager/cert-manager-istio-csr-rhel9:1791459759(Red Hat cert_manager 1.18 el9) | All versions | No fix listed | No fix yet |
| redhat/cert-manager/cert-manager-operator-bundle:1791966259(Red Hat cert_manager 1.18 el9) | All versions | No fix listed | No fix yet |
| redhat/cert-manager/cert-manager-operator-rhel9:1789029076(Red Hat cert_manager 1.18 el9) | All versions | No fix listed | No fix yet |
| redhat/cert-manager/jetstack-cert-manager-acmesolver-rhel9:1791459707(Red Hat cert_manager 1.18 el9) | All versions | No fix listed | No fix yet |
| redhat/cert-manager/jetstack-cert-manager-rhel9:1791459711(Red Hat cert_manager 1.18 el9) | All versions | No fix listed | No fix yet |
| redhat/compat-openssl10(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/compat-openssl11(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/costmanagement/costmanagement-metrics-rhel9-operator:1770836349(Red Hat cost_management 4 el9) | All versions | No fix listed | No fix yet |
| redhat/discovery/discovery-server-rhel9:1769104765(Red Hat discovery 2 el9) | All versions | No fix listed | No fix yet |
| redhat/discovery/discovery-ui-rhel9:1769111774(Red Hat discovery 2 el9) | All versions | No fix listed | No fix yet |
| redhat/edk2(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| redhat/edk2(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/edk2(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/insights-proxy/insights-proxy-container-rhel9:1770740405(Red Hat insights_proxy 1.5 el9) | All versions | No fix listed | No fix yet |
| redhat/mingw-openssl(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/openshift/ose-rhel-coreos-8(Red Hat openshift 4) | All versions | No fix listed | No fix yet |
| redhat/openshift/ose-rhel-coreos-9(Red Hat openshift 4) | All versions | No fix listed | No fix yet |
| redhat/ovmf(Red Hat rhel_els 7) | All versions | No fix listed | No fix yet |
| redhat/rhui5/cds-rhel9:1773670073(Red Hat rhui 5 el9) | All versions | No fix listed | No fix yet |
| redhat/rhui5/haproxy-rhel9:1773672059(Red Hat rhui 5 el9) | All versions | No fix listed | No fix yet |
| redhat/rhui5/installer-rhel9:1770646925(Red Hat rhui 5 el9) | All versions | No fix listed | No fix yet |
| redhat/rhui5/rhua-rhel9:1773670137(Red Hat rhui 5 el9) | All versions | No fix listed | No fix yet |
| redhat/shim(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| redhat/shim(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/shim(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
… and 29 more packages.
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 |
| OpenSSL | >= 1.0.2, < 1.0.2zn | 1.0.2zn |
| 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 |
Show 71 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/openssl(Debian:12) | = 3.0.17-1~deb12u3 | No fix listed |
| 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/edk2(Ubuntu:22.04) | All versions | 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/edk2(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/openssl(Ubuntu:24.04) | < 3.0.13-0ubuntu3.7 | 3.0.13-0ubuntu3.7 |
| ubuntu/edk2(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/edk2-hwe(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/openssl(Ubuntu:26.04) | < 3.5.5-1ubuntu1 | 3.5.5-1ubuntu1 |
| ubuntu/edk2(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/edk2-hwe(Ubuntu:26.10) | All versions | No fix listed |
| 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-22796 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 2430390 issue-tracking
- nvd.nist.gov
- security.alpinelinux.org vendor-advisory
- Release and Advisory Timeline vendor-advisory
- Security advisory list (json) vendor-advisory