CVE-2026-22796
ASN1_TYPE Type Confusion in the PKCS7_digest_from_attributes() function
Mitigation
- Upgrade OpenSSL to 1.0.2zn or later.
Who should check
- Anyone running 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
Vulnerability facts
- Affected
- 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
- Fixed in
- OpenSSL 3.6.1, OpenSSL 3.5.5, OpenSSL 3.4.4, OpenSSL 3.3.6, OpenSSL 3.0.19, OpenSSL 1.1.1ze, OpenSSL 1.0.2zn
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 5.3 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: Low
- EPSS
- 1.16% chance of exploitation in 30 days (percentile 67, 2026-11-26)
- CWE
- CWE-754
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| 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 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-22796. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-22796.md Affected: 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 Fixed in: OpenSSL 3.6.1, OpenSSL 3.5.5, OpenSSL 3.4.4, OpenSSL 3.3.6, OpenSSL 3.0.19, OpenSSL 1.1.1ze, OpenSSL 1.0.2zn Steps: 1. Search this machine and project for OpenSSL: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
- 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
FAQ
Is CVE-2026-22796 being exploited?
There is no confirmed exploitation: CVE-2026-22796 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.16% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-22796?
Medium: CVSS 5.3 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-22796?
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.
Is there a fix for CVE-2026-22796?
Yes. Fixed in OpenSSL 3.6.1, OpenSSL 3.5.5, OpenSSL 3.4.4, OpenSSL 3.3.6, OpenSSL 3.0.19, OpenSSL 1.1.1ze, OpenSSL 1.0.2zn. Upgrade OpenSSL to 1.0.2zn or later.
How do I check if I'm affected by CVE-2026-22796?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.