{"id":"CVE-2026-42766","aliases":["CVE-2026-42766"],"related":[],"kind":"vulnerability","state":"published","title":"Possible NULL Dereference in Password-Based CMS Decryption","summary":"Issue summary: A specially crafted password-encrypted CMS message\ncan trigger a NULL pointer dereference during CMS decryption.\n\nImpact summary: This NULL pointer dereference leads to an application crash\nand a Denial of Service.\n\nThe CMS PasswordRecipientInfo.keyDerivationAlgorithm field is defined as\nOPTIONAL in the ASN.1 specification and may therefore be absent in specially\ncrafted inputs. During the password-based CMS decryption the OpenSSL\nCMS implementation dereferences this field without first checking whether it\nwas present.\n\nAn attacker who supplies such a CMS message to an application performing\npassword-based CMS decryption can trigger an application crash, leading to\na Denial of Service.\n\nApplications that process password-encrypted CMS messages may be affected.\n\nThe FIPS modules in 4.0, 3.6, 3.5, 3.4, and 3.0 are not affected by this\nissue, as the affected code is outside the OpenSSL FIPS module boundary.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Issue summary: A specially crafted password-encrypted CMS message\ncan trigger a NULL pointer dereference during CMS decryption.\n\nImpact summary: This NULL pointer dereference leads to an application crash\nand a Denial of Service.\n\nThe CMS PasswordRecipientInfo.keyDerivationAlgorithm field is defined as\nOPTIONAL in the ASN.1 specification and may therefore be absent in specially\ncrafted inputs. During the password-based CMS decryption the OpenSSL\nCMS implementation dereferences this field without first checking whether it\nwas present.\n\nAn attacker who supplies such a CMS message to an application performing\npassword-based CMS decryption can trigger an application crash, leading to\na Denial of Service.\n\nApplications that process password-encrypted CMS messages may be affected.\n\nThe FIPS modules in 4.0, 3.6, 3.5, 3.4, and 3.0 are not affected by this\nissue, as the affected code is outside the OpenSSL FIPS module boundary.","source":"cvelist"},{"lang":"es","text":"Resumen del problema: Un mensaje CMS cifrado con contraseña especialmente diseñado puede desencadenar una desreferencia de puntero NULL durante el descifrado CMS.\n\nResumen del impacto: Esta desreferencia de puntero NULL conduce a un fallo de la aplicación y a una denegación de servicio.\n\nEl campo CMS PasswordRecipientInfo.keyDerivationAlgorithm se define como OPCIONAL en la especificación ASN.1 y, por lo tanto, puede estar ausente en entradas especialmente diseñadas. Durante el descifrado CMS basado en contraseña, la implementación CMS de OpenSSL desreferencia este campo sin comprobar primero si estaba presente.\n\nUn atacante que suministra un mensaje CMS de este tipo a una aplicación que realiza el descifrado CMS basado en contraseña puede desencadenar un fallo de la aplicación, lo que lleva a una denegación de servicio.\n\nLas aplicaciones que procesan mensajes CMS cifrados con contraseña pueden verse afectadas.\n\nLos módulos FIPS en 4.0, 3.6, 3.5, 3.4 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.","source":"nvd"}],"published":"2026-06-09T16:03:26.679Z","modified":"2026-07-23T08:10:00.137Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"semver","introduced":"4.0.0","fixed":"4.0.1","status":"affected"},{"type":"semver","introduced":"3.6.0","fixed":"3.6.3","status":"affected"},{"type":"semver","introduced":"3.5.0","fixed":"3.5.7","status":"affected"},{"type":"semver","introduced":"3.4.0","fixed":"3.4.6","status":"affected"},{"type":"semver","introduced":"3.0.0","fixed":"3.0.21","status":"affected"},{"type":"custom","introduced":"1.1.1","fixed":"1.1.1zh","status":"affected"},{"type":"custom","introduced":"1.0.2","fixed":"1.0.2zq","status":"affected"}],"vendor":"OpenSSL","product":"OpenSSL","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"1.0.2","fixed":"1.0.2zq"},{"status":"affected","introduced":"1.1.1","fixed":"1.1.1zh"},{"status":"affected","introduced":"3.0.0","fixed":"3.0.21"},{"status":"affected","introduced":"3.4.0","fixed":"3.4.6"},{"status":"affected","introduced":"3.5.0","fixed":"3.5.7"},{"status":"affected","introduced":"3.6.0","fixed":"3.6.3"},{"status":"affected","version":"4.0.0"}],"vendor":"openssl","product":"openssl","cpe":"cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://openssl-library.org/news/secadv/20260609.txt","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/openssl/openssl/commit/12bc26ffb3a2be728c9b86e1cae277de5b33dfa4","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/openssl/openssl/commit/da26f368732b83e40e9d356fe61c3d3aaab6d2e8","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/openssl/openssl/commit/056d06c1918fafbb98c1c85a02e4c47cc4e199ce","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/openssl/openssl/commit/ab52d88cb5374876d59aee3c91f9e4ccce2b7ce4","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/openssl/openssl/commit/3ff64913615d648cfbb6a6f1cf5529ae7ea829d7","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":["Mayank Jangid","Kushal Khemka","Hari Priandana","Bhabani Sankar Das","Qifan Zhang (Palo Alto Networks)","Igor Ustinov"],"assigner":"openssl","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-06-09T19:46:24.673Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-42766","url":"https://www.cve.org/CVERecord?id=CVE-2026-42766","licence":"CVE Terms of Use","modified":"2026-06-10T07:48:01.992Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-42766","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42766","licence":"Public domain","modified":"2026-07-23T08:10:00.137Z"}],"updatedAt":"2026-11-25T22:59:24.133Z","epss":{"score":0.0106,"percentile":0.65476,"date":"2026-12-01T12:00:22.000Z"}}