NULL Pointer Dereference in OpenSSL CMS Implementation Affects Password Encrypted Messages
CVE-2026-42766
5.9MEDIUM
What is CVE-2026-42766?
A specially crafted password-encrypted CMS message can cause a NULL pointer dereference during decryption in OpenSSL's CMS implementation, resulting in application crashes. The CMS PasswordRecipientInfo.keyDerivationAlgorithm field is optional, which may be missing in specially designed inputs. Consequently, during decryption, the absence of this field is not checked, leading to crashes and Denial of Service. Applications capable of processing such messages may be impacted by this vulnerability.
Affected Version(s)
OpenSSL 4.0.0 < 4.0.1
OpenSSL 3.6.0 < 3.6.3
OpenSSL 3.5.0 < 3.5.7
References
CVSS V3.1
Score:
5.9
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged
Timeline
Vulnerability published
Vulnerability Reserved
Credit
Mayank Jangid
Kushal Khemka
Hari Priandana
Bhabani Sankar Das
Qifan Zhang (Palo Alto Networks)
Igor Ustinov