Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2026-22796— ASN1_TYPE Type Confusion in the PKCS7_digest_from_attributes() function

EPSS 0.12% · P30
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-22796

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
ASN1_TYPE Type Confusion in the PKCS7_digest_from_attributes() function
Source: NVD (National Vulnerability Database)
Vulnerability 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.
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
对因果或异常条件的不恰当检查
Source: NVD (National Vulnerability Database)
Vulnerability Title
OpenSSL 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
OpenSSL是OpenSSL团队的一个开源的能够实现安全套接层(SSLv2/v3)和安全传输层(TLSv1)协议的通用加密库。该产品支持多种加密算法,包括对称密码、哈希算法、安全散列算法等。 OpenSSL 3.6、3.5、3.4、3.3、3.0、1.1.1和1.0.2版本存在安全漏洞,该漏洞源于签名PKCS#7数据验证存在类型混淆,未验证类型即访问ASN1_TYPE联合体成员,可能导致处理畸形PKCS#7数据时取消引用无效或空指针,引发拒绝服务。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
OpenSSLOpenSSL 3.6.0 ~ 3.6.1 -

II. Public POCs for CVE-2026-22796

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-22796

登录查看更多情报信息。

Same Patch Batch · OpenSSL · 2026-01-27 · 12 CVEs total

CVE-2026-22795Missing ASN1_TYPE validation in PKCS#12 parsing
CVE-2025-15467Stack buffer overflow in CMS (Auth)EnvelopedData parsing
CVE-2025-15469'openssl dgst' one-shot codepath silently truncates inputs >16MB
CVE-2025-15468NULL dereference in SSL_CIPHER_find() function on unknown cipher ID
CVE-2025-66199TLS 1.3 CompressedCertificate excessive memory allocation
CVE-2025-68160Heap out-of-bounds write in BIO_f_linebuffer on short writes
CVE-2025-11187Improper validation of PBMAC1 parameters in PKCS#12 MAC verification
CVE-2025-69421NULL Pointer Dereference in PKCS12_item_decrypt_d2i_ex function
CVE-2025-69420Missing ASN1_TYPE validation in TS_RESP_verify_response() function
CVE-2025-69419Out of bounds write in PKCS12_get_friendlyname() UTF-8 conversion
CVE-2025-69418Unauthenticated/unencrypted trailing bytes with low-level OCB function calls

IV. Related Vulnerabilities

V. Comments for CVE-2026-22796

No comments yet


Leave a comment