7.5high
Possible NULL Dereference When Processing CMS KeyAgreeRecipientInfo
- Severity
- 7.5high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.84% (higher than 58% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- openssl
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| OpenSSL OpenSSL | from 3.6.0 before 3.6.2, from 3.5.0 before 3.5.6, from 3.4.0 before 3.4.5, from 3.3.0 before 3.3.7, from 3.0.0 before 3.0.20, from 1.1.1 before 1.1.1zg, from 1.0.2 before 1.0.2zp | CVE List, NVD |
All scores
| CISA-ADP | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Resumen del problema: Durante el procesamiento de un mensaje CMS EnvelopedData manipulado con KeyAgreeRecipientInfo puede ocurrir una desreferencia de puntero NULL. Resumen del impacto: Las aplicaciones que procesan datos CMS controlados por el atacante pueden fallar antes de que ocurran operaciones de autenticación o criptográficas, lo que resulta en denegación de servicio. Cuando se procesa un mensaje CMS EnvelopedData que utiliza KeyAgreeRecipientInfo, el campo de parámetros opcionales de KeyEncryptionAlgorithmIdentifier se examina sin verificar su presencia. Esto resulta en una desreferencia de puntero NULL si el campo falta. Las aplicaciones y servicios que llaman a CMS_decrypt() en entradas no confiables (por ejemplo, procesamiento S/MIME o protocolos basados en CMS) son vulnerables. Los módulos FIPS en 3.6, 3.5, 3.4, 3.3 y 3.0 no se ven afectados por este problema, ya que el código afectado está fuera del límite del módulo FIPS de OpenSSL.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-28389 changed 2026-10-15 | CVE Terms of Use |
| NVD | CVE-2026-28389 changed 2026-07-24 | Public domain |