ASN1_TYPE Type Confusion in OpenSSL PKCS7_digest_from_attributes()
CVE-2026-22796 is a type confusion vulnerability in OpenSSL's legacy PKCS#7 signature verification path, specifically in the PKCS7_digest_from_attributes() function. The function reads the messageDigest attribute from signed PKCS#7 data and accesses an ASN1_TYPE union member without first validating that the attribute type is V_ASN1_OCTET_STRING. When a malformed signed PKCS#7 object supplies an unexpected ASN.1 type, the code dereferences an invalid or NULL pointer through the ASN1_TYPE union, causing a crash during signature verification or when the function is called directly. The issue affects OpenSSL 3.6, 3.5, 3.4, 3.3, 3.0, 1.1.1, and 1.0.2. The OpenSSL FIPS modules in 3.5, 3.4, 3.3, and 3.0 are not affected because the vulnerable PKCS#7 parsing code is outside the FIPS module boundary.
Are you exposed to this one?
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
Impact, mitigation & remediation
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Mitigation
If you can’t patch tonight, do this now.
Remediation
Patch, then assume compromise.
Exploits
No public exploits tracked yet. Mallory keeps watching.
No public exploit code observed for this vulnerability.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
Recent activity
39 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A remote denial-of-service vulnerability affecting HPE Superdome Flex 280 and HPE Compute Scale-up Server 3200 platforms.
An OpenSSL vulnerability patched by upgrading to OpenSSL 3.6.1 in IPFire Core Update 200.
Unknown (listed among related OpenSSL CVEs, but not described in the content).
Unknown
The version that knows your environment.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.