CVE-2026-22796

ASN1_TYPE Type Confusion in the PKCS7_digest_from_attributes() function

MEDIUM
5.3
CVSS Score
Published: January 27, 2026 at 04:01 PM UTC
Updated: October 15, 2026 at 01:12 AM UTC
2 products affected across 2 vendorsOpenSSLSIMATIC S7-1500 TM MFP

Using OpenSSL by OpenSSL?

Get instant alerts when new vulnerabilities affect OpenSSL - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.3
Exploit prediction
EPSS 0.6%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

1.0.2 ≤ v < 1.0.2zn1.1.1 ≤ v < 1.1.1ze3.0.0 ≤ v < 3.0.193.3.0 ≤ v < 3.3.63.4.0 ≤ v < 3.4.43.5.0 ≤ v < 3.5.53.6.0 ≤ v < 3.6.11.0.21.1.13.0.03.3.03.4.03.5.03.6.0
Affected range stops below 1.0.2zn, so it looks safe — our inference, not a vendor statement
Affected range stops below 1.1.1ze, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.0.19, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.3.6, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.4.4, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.5.5, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.6.1, so it looks safe — our inference, not a vendor statement

SSVC — Action Prioritization

SSVCNo known exploitAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.3MEDIUM134c704f-9b21-4f2e-91b3-4a467353bcc0
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
LOW
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-754

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card