7.5High

CVE-2026-28389Possible NULL Dereference When Processing CMS KeyAgreeRecipientInfo

OpenSSL OpenSSL; Siemens SIMATIC CN 4100; Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem Published: (7 months ago)

Description

Issue summary: During processing of a crafted CMS EnvelopedData message with KeyAgreeRecipientInfo a NULL pointer dereference can happen. Impact summary: Applications that process attacker-controlled CMS data may crash before authentication or cryptographic operations occur resulting in Denial of Service. When a CMS EnvelopedData message that uses KeyAgreeRecipientInfo is processed, the optional parameters field of KeyEncryptionAlgorithmIdentifier is examined without checking for its presence. This results in a NULL pointer dereference if the field is missing. Applications and services that call CMS_decrypt() on untrusted input (e.g., S/MIME processing or CMS-based protocols) are vulnerable. The FIPS modules in 3.6, 3.5, 3.4, 3.3 and 3.0 are not affected by this issue, as the affected code is outside the OpenSSL FIPS module boundary.

Weakness (CWE): CWE-476

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
OpenSSL OpenSSL 3.6.0 – < 3.6.2, 3.5.0 – < 3.5.6, 3.4.0 – < 3.4.5, 3.3.0 – < 3.3.7, 3.0.0 – < 3.0.20, 1.1.1 – < 1.1.1zg, 1.0.2 – < 1.0.2zp
Siemens SIMATIC CN 4100 < V5.0
Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem 0

References and patches

CPE matches (NVD) (7)

  • cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:* ≥ 1.0.2 < 1.0.2zp
  • cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:* ≥ 1.1.1 < 1.1.1zg
  • cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:* ≥ 3.0.0 < 3.0.20
  • cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:* ≥ 3.3.0 < 3.3.7
  • cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:* ≥ 3.4.0 < 3.4.5
  • cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:* ≥ 3.5.0 < 3.5.6
  • cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:* ≥ 3.6.0 < 3.6.2