Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-22796 EUVD-2026-4813GHSA-r9hf-rxjm-gv2f

ASN1_TYPE Type Confusion in the PKCS7_digest_from_attributes() function

Published Jan 27, 2026 · Updated Oct 15, 2026 · Assigned by openssl

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.

Affected products

VendorProductAffectedFixed
OpenSSL OpenSSL 3.6.0 – < 3.6.1, 3.5.0 – < 3.5.5, 3.4.0 – < 3.4.4, 3.3.0 – < 3.3.6, 3.0.0 – < 3.0.19, 1.1.1 – < 1.1.1ze, 1.0.2 – < 1.0.2zn 3.6.1

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 openssl 3.5.5-1 —
Debian 13 openssl 3.5.4-1~deb13u2 DSA-6113-1
Debian 12 openssl 3.0.18-1~deb12u2 DSA-6113-1
Debian 11 openssl 1.1.1w-0+deb11u5 DLA-4490-1
ReleasePackageFixed inAdvisory
Ubuntu 26.10 edk2 +1 No fix yet —
Ubuntu 26.04 LTS edk2 +1 No fix yet —
Ubuntu 26.04 LTS openssl 3.5.5-1ubuntu1 —
Ubuntu 25.10 edk2 No fix yet —
Ubuntu 25.10 openssl 3.5.3-1ubuntu3 USN-7980-1
Ubuntu 24.04 LTS edk2 No fix yet —
Ubuntu 24.04 LTS openssl 3.0.13-0ubuntu3.7 USN-7980-1
Ubuntu 22.04 LTS edk2 No fix yet —
Ubuntu 22.04 LTS openssl 3.0.2-0ubuntu1.21 USN-7980-1
Show 14 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro FIPS 20.04 LTS openssl No fix yet —
Ubuntu Pro FIPS 18.04 LTS openssl No fix yet —
Ubuntu Pro FIPS 16.04 LTS openssl No fix yet —
Ubuntu Pro FIPS-updates 24.04 LTS openssl-fips 3.0.13-0ubuntu3.12+Fips1 —
Ubuntu Pro FIPS-updates 22.04 LTS openssl 3.0.2-0ubuntu1.21+Fips1 —
Ubuntu Pro FIPS-updates 22.04 LTS openssl-fips No fix yet —
Ubuntu Pro FIPS-updates 20.04 LTS openssl 1.1.1f-1ubuntu2.fips.24.2 —
Ubuntu Pro FIPS-updates 18.04 LTS openssl 1.1.1-1ubuntu2.fips.2.1~18.04.23.7 —
Ubuntu Pro FIPS-updates 16.04 LTS openssl 1.0.2g-1ubuntu4.fips.4.20.14 —
Ubuntu Pro FIPS-preview 22.04 LTS openssl +1 No fix yet —
Ubuntu Pro 22.04 LTS nodejs No fix yet —
Ubuntu Pro 20.04 LTS edk2 No fix yet —
Ubuntu Pro 20.04 LTS openssl 1.1.1f-1ubuntu2.24+esm2 —
Ubuntu Pro 18.04 LTS edk2 +1 No fix yet —
Ubuntu Pro 18.04 LTS openssl 1.1.1-1ubuntu2.1~18.04.23+esm7 —
Ubuntu Pro 18.04 LTS openssl1.0 1.0.2n-1ubuntu5.13+esm3 —
Ubuntu Pro 16.04 LTS edk2 +1 No fix yet —
Ubuntu Pro 16.04 LTS openssl 1.0.2g-1ubuntu4.20+esm14 —
Ubuntu Pro 14.04 LTS openssl 1.0.1f-1ubuntu2.27+esm12 —
ReleasePackageFixed inAdvisory
RHEL 10 openssl +3 1:3.5.1-7.el10_1 RHSA-2026:1472
RHEL 9 openssl +3 1:3.5.1-7.el9_7 RHSA-2026:1473
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 openssl +5 3.5.6-0.1.hum1 RHSA-2026:7261

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 openssl +3 1:3.5.1-7.el10_1.alma.1 ALSA-2026:1472
AlmaLinux 9 openssl +3 1:3.5.1-7.el9_7 ALSA-2026:1473

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 openssl 1:3.5.1-7.el10_1 RLSA-2026:1472
Rocky Linux 9 openssl 1:3.5.1-7.el9_7 RLSA-2026:1473
ReleasePackageFixed inAdvisory
SLES 15 SP7 openssl-1_0_0 1.0.2p-150000.3.102.1 SUSE-SU-2026:0332-1
SLES 15 SP7 openssl-1_1 1.1.1w-150700.11.11.1 SUSE-SU-2026:0331-1
SLES 15 SP7 openssl-3 3.2.3-150700.5.24.1 SUSE-SU-2026:0309-1
SLES 15 SP6 openssl-1_0_0 1.0.2p-150000.3.102.1 SUSE-SU-2026:0332-1
SLES 15 SP6 openssl-1_1 1.1.1w-150600.5.21.1 SUSE-SU-2026:0346-1
SLES 15 SP6 openssl-3 3.1.4-150600.5.42.1 SUSE-SU-2026:0312-1
SLES 15 SP5 openssl-1_0_0 1.0.2p-150000.3.102.1 SUSE-SU-2026:0332-1
SLES 15 SP5 openssl-1_1 1.1.1l-150500.17.46.1 SUSE-SU-2026:0359-1
SLES 15 SP5 openssl-3 3.0.8-150500.5.57.1 SUSE-SU-2026:0311-1
SLES 15 SP4 openssl-1_0_0 1.0.2p-150000.3.102.1 SUSE-SU-2026:0332-1
SLES 15 SP4 openssl-1_1 1.1.1l-150400.7.87.1 SUSE-SU-2026:0360-1
SLES 15 SP4 openssl-3 3.0.8-150400.4.78.1 SUSE-SU-2026:0310-1
SLES 12 SP5 openssl-1_0_0 1.0.2p-3.103.1 SUSE-SU-2026:0333-1
SLES 12 SP5 openssl-1_1 1.1.1d-2.122.1 SUSE-SU-2026:0358-1
Show 15 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 11 SP4 openssl1 1.0.1g-58.90.2 SUSE-SU-2026:0498-1
SLES for SAP 16.0 openssl-3 3.5.0-160000.5.1 SUSE-SU-2026:20223-1
SLES for SAP 15 SP6 openssl-1_0_0 1.0.2p-150000.3.102.1 SUSE-SU-2026:0332-1
SLES for SAP 15 SP6 openssl-1_1 1.1.1w-150600.5.21.1 SUSE-SU-2026:0346-1
SLES for SAP 15 SP6 openssl-3 3.1.4-150600.5.42.1 SUSE-SU-2026:0312-1
SLES for SAP 15 SP5 openssl-1_0_0 1.0.2p-150000.3.102.1 SUSE-SU-2026:0332-1
SLES for SAP 15 SP5 openssl-1_1 1.1.1l-150500.17.46.1 SUSE-SU-2026:0359-1
SLES for SAP 15 SP5 openssl-3 3.0.8-150500.5.57.1 SUSE-SU-2026:0311-1
SLES for SAP 15 SP4 openssl-1_0_0 1.0.2p-150000.3.102.1 SUSE-SU-2026:0332-1
SLES for SAP 15 SP4 openssl-1_1 1.1.1l-150400.7.87.1 SUSE-SU-2026:0360-1
SLES for SAP 15 SP4 openssl-3 3.0.8-150400.4.78.1 SUSE-SU-2026:0310-1
SLES 16.0 openssl-3 3.5.0-160000.5.1 SUSE-SU-2026:20223-1
SLE Micro 6.2 openssl-3 3.5.0-160000.5.1 SUSE-SU-2026:20211-1
SLE Micro 6.1 openssl-3 3.1.4-slfo.1.1_8.1 SUSE-SU-2026:20373-1
SLE Micro 6.0 openssl-3 3.1.4-11.1 SUSE-SU-2026:20349-1
SLE Micro 5.5 openssl-1_1 1.1.1l-150500.17.46.1 SUSE-SU-2026:0359-1
SLE Micro 5.4 openssl-1_1 1.1.1l-150400.7.87.1 SUSE-SU-2026:0360-1
SLE Micro 5.4 openssl-3 3.0.8-150400.4.78.1 SUSE-SU-2026:0310-1
SLE Micro 5.3 openssl-1_1 1.1.1l-150400.7.87.1 SUSE-SU-2026:0360-1
SLE Micro 5.3 openssl-3 3.0.8-150400.4.78.1 SUSE-SU-2026:0310-1
SLE Micro 5.2 openssl-1_1 1.1.1d-150200.11.106.1 SUSE-SU-2026:0343-1
SLE HPC 15 SP5 openssl-1_1 1.1.1l-150500.17.46.1 SUSE-SU-2026:0359-1
SLE HPC 15 SP5 openssl-3 3.0.8-150500.5.57.1 SUSE-SU-2026:0311-1
SLE HPC 15 SP4 openssl-1_0_0 1.0.2p-150000.3.102.1 SUSE-SU-2026:0332-1
SLE HPC 15 SP4 openssl-1_1 1.1.1l-150400.7.87.1 SUSE-SU-2026:0360-1
SLE HPC 15 SP4 openssl-3 3.0.8-150400.4.78.1 SUSE-SU-2026:0310-1
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 openssl-3 3.5.0-160000.5.1 openSUSE-SU-2026:20152-1
openSUSE Leap 15.6 openssl-1_0_0 1.0.2p-150000.3.102.1 SUSE-SU-2026:0332-1
openSUSE Leap 15.6 openssl-1_1 1.1.1w-150600.5.21.1 SUSE-SU-2026:0346-1
openSUSE Leap 15.6 openssl-3 3.1.4-150600.5.42.1 SUSE-SU-2026:0312-1
ReleasePackageFixed inAdvisory
Alpine v3.24 openssl 3.5.5-r0 —
Alpine v3.23 openssl 3.5.5-r0 —
Alpine v3.22 openssl 3.5.5-r0 —
Alpine v3.21 openssl 3.3.6-r0 —
Alpine v3.20 openssl 3.3.6-r0 —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.17 openssl 3.0.19-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 openssl +5 1:3.2.2-1.amzn2023.0.5 ALAS2023-2026-1434
Amazon Linux 2 edk2-ovmf +3 20240813-306.amzn2 ALAS2-2026-3150
Amazon Linux 2 openssl +4 1:1.0.2k-24.amzn2.0.17 ALAS2-2026-3168
Amazon Linux 2 openssl11 +3 1:1.1.1zf-1.amzn2.0.1 ALAS2-2026-3169

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 edk2 20240524git3e722403cd16-14 —
Azure Linux 3 openssl 3.3.5-3 —
Azure Linux 3 openssl-fips-provider No fix yet —
Azure Linux 2 (CBL-Mariner) edk2 20230301gitf80f052277c8-47 —
Azure Linux 2 (CBL-Mariner) hvloader 1.0.1-18 —
Azure Linux 2 (CBL-Mariner) openssl No fix yet —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 openssl +3 1:3.5.1-7.0.1.el10_1 ELSA-2026-1472
Oracle Linux 9 openssl +3 1:3.5.1-7.0.1.el9_7 ELSA-2026-50075, ELSA-2026-1473

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling openssl 3.6.1-r0 —

Advisories 44

References