CVE-2026-22796ASN1_TYPE Type Confusion in the PKCS7_digest_from_attributes() function
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.
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.10 | edk2 | Fix pending | UBUNTU-CVE-2026-22796 | |
| Ubuntu 26.10 | edk2-hwe | Fix pending | UBUNTU-CVE-2026-22796 | |
| Ubuntu 26.04 | edk2 | Under investigation | UBUNTU-CVE-2026-22796 | |
| Ubuntu 26.04 | edk2-hwe | Under investigation | UBUNTU-CVE-2026-22796 | |
| Ubuntu 26.04 | nodejs | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | openssl | Fixed | 3.5.5-1ubuntu1 | UBUNTU-CVE-2026-22796 |
| Ubuntu 25.10 | edk2 | Will not fix edk2 in jammy embeds OpenSSL 1.1.1j edk2 in noble embeds OpenSSL 3.0.9 edk2 in plucky embeds OpenSSL 3.4.0 edk2 in questing embeds OpenSSL 3.4.0 3.6, 3.5,… | UBUNTU-CVE-2026-22796 | |
| Ubuntu 25.10 | nodejs | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | openssl | Fixed | 3.5.3-1ubuntu3 | UBUNTU-CVE-2026-22796 |
| Ubuntu 24.04 | edk2 | Under investigation | UBUNTU-CVE-2026-22796 | |
| Ubuntu 24.04 | nodejs | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | openssl | Fixed | 3.0.13-0ubuntu3.7 | UBUNTU-CVE-2026-22796 |
| Ubuntu 22.04 | edk2 | Under investigation | UBUNTU-CVE-2026-22796 | |
| Ubuntu 22.04 | nodejs | Fix pending | UBUNTU-CVE-2026-22796 | |
| Ubuntu 22.04 | openssl | Fixed | 3.0.2-0ubuntu1.21 | UBUNTU-CVE-2026-22796 |
| Ubuntu 20.04 | edk2 | Fix pending | UBUNTU-CVE-2026-22796 | |
| Ubuntu 20.04 | openssl | Fix pending | 1.1.1f-1ubuntu2.24+esm2 (Ubuntu Pro) | UBUNTU-CVE-2026-22796 |
| Ubuntu 18.04 | edk2 | Fix pending | UBUNTU-CVE-2026-22796 | |
| Ubuntu 18.04 | nodejs | Fix pending | UBUNTU-CVE-2026-22796 | |
| Ubuntu 18.04 | openssl | Fix pending | 1.1.1-1ubuntu2.1~18.04.23+esm7 (Ubuntu Pro) | UBUNTU-CVE-2026-22796 |
| Ubuntu 18.04 | openssl1.0 | Fix pending | 1.0.2n-1ubuntu5.13+esm3 (Ubuntu Pro) | UBUNTU-CVE-2026-22796 |
| Ubuntu 16.04 | edk2 | Fix pending | UBUNTU-CVE-2026-22796 | |
| Ubuntu 16.04 | nodejs | Fix pending | UBUNTU-CVE-2026-22796 | |
| Ubuntu 16.04 | openssl | Fix pending | 1.0.2g-1ubuntu4.20+esm14 (Ubuntu Pro) | UBUNTU-CVE-2026-22796 |
| Ubuntu 14.04 | openssl | Fix pending | 1.0.1f-1ubuntu2.27+esm12 (Ubuntu Pro) | UBUNTU-CVE-2026-22796 |
| Debian 14 | openssl | Fixed | 3.5.5-1 | DEBIAN-CVE-2026-22796 |
| Debian 13 | openssl | Fixed | 3.5.4-1~deb13u2 | DEBIAN-CVE-2026-22796 |
| Debian 12 | openssl | Fixed | 3.0.18-1~deb12u2 | DEBIAN-CVE-2026-22796 |
| 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-22796 |
| Alpine Linux 3.23 | openssl | Fixed | 3.5.5-r0 | ALPINE-CVE-2026-22796 |
| Alpine Linux 3.22 | openssl | Fixed | 3.5.5-r0 | ALPINE-CVE-2026-22796 |
| Alpine Linux 3.21 | openssl | Fixed | 3.3.6-r0 | ALPINE-CVE-2026-22796 |
| Alpine Linux 3.20 | openssl | Fixed | 3.3.6-r0 | ALPINE-CVE-2026-22796 |
| Alpine Linux 3.17 | openssl | Fixed | 3.0.19-r0 | ALPINE-CVE-2026-22796 |
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.