CVE-2026-22796
ASN1_TYPE Type Confusion in the PKCS7_digest_from_attributes() function
Reported by openssl · Published January 27, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| openssl | Wolfi | 3.6.1-r0 |
| openssl-perl | Amazon Linux | 1:3.2.2-1.amzn2023.0.5, 1:1.0.2k-24.amzn2.0.17 |
| edk2-tools | Amazon Linux | 20240813-306.amzn2 |
| edk2-aarch64 | Amazon Linux | 20240813-306.amzn2 |
| openssl | Chainguard | 3.6.1-r0 |
| openssl11 | Amazon Linux | 1:1.1.1zf-1.amzn2.0.1 |
| openssl11-libs | Amazon Linux | 1:1.1.1zf-1.amzn2.0.1 |
| openssl-devel | Amazon Linux | 1:3.2.2-1.amzn2023.0.5, 1:1.0.2k-24.amzn2.0.17 |
| openssl-fips-provider-latest | Amazon Linux | 1:3.2.2-1.amzn2023.0.5 |
| openssl-3.5 | Chainguard | 3.5.5-r0 |
| openssl11-devel | Amazon Linux | 1:1.1.1zf-1.amzn2.0.1 |
| edk2-tools-doc | Amazon Linux | 20240813-306.amzn2 |
9 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| OpenSSL | OpenSSL | 3.6.0, 3.5.0, 3.4.0 |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | 0 |
| OpenSSL | OpenSSL | 3.6.0, 3.5.0, 3.4.0 |
Timeline
- Jan 27, 2026 CVE Published
- Jan 27, 2026 PoC Published (18 in total, the first dated here)
- Jan 28, 2026 EPSS Score (30 in total, the first dated here)
- Mar 22, 2026 Coalition ESS Score (2 in total, the first dated here)
- Jun 2, 2026 Security Advisory (49 in total, the first dated here)
- Aug 12, 2026 Distribution Patch (46 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-22796
vulnetix vdb fixes CVE-2026-22796
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-22796/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- 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
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html url