{"id":"JLSEC-2026-1753","summary":"Issue summary: Encrypting a CMS message to an EC certificate whose group order is 1 may cause...","details":"Issue summary: Encrypting a CMS message to an EC certificate whose group order\nis 1 may cause `CMS_encrypt()` or `CMS_encrypt_ex()` to loop indefinitely.\n\nImpact summary: An attacker able to supply the recipient certificate to an\napplication performing CMS encryption can cause that application to loop\nindefinitely, consuming CPU and resulting in Denial of Service.\n\nCWE: CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')\n\nDescription: `CMS_encrypt()` and `CMS_encrypt_ex()` encrypt a message to one or\nmore recipient certificates and, for an EC recipient, generate an ephemeral\nkey in the recipient's group. If the certificate declares a group order of 1,\nrandom scalar generation can only produce zero. The key generation routine\nthen retries without limit while waiting for a nonzero private scalar, so the\ncall never returns.\n\nThe OpenSSL TLS and QUIC implementations do not use this path. An application\nis exposed only if it calls `CMS_encrypt()` or `CMS_encrypt_ex()` with a recipient\ncertificate whose EC parameters are attacker-controlled. Certificates with\nnormal EC group orders do not trigger the loop.\n\nOpenSSL 4.0 and later reject unknown explicit EC groups in default builds.\nThese versions are affected only when configured with the\n`enable-ec_explicit_curves` option.\n\nThe result is a hang that consumes a CPU core until the process is\ninterrupted, a Denial of Service. The severity is Low because the attacker\nmust supply the recipient certificate and the application must choose to\nencrypt to it; ordinary CMS encryption to trusted recipients is unaffected.\n\nThe fix makes EC key generation fail when the group has no valid nonzero\nprivate scalar, instead of retrying indefinitely.\n\nFIPS impact: no\nThe FIPS modules in 4.1, 4.0, 3.5 and 3.0 are not affected. The FIPS provider\ndoes not support arbitrary explicit EC domain parameters, so an order-1 group\nis rejected during key import before the vulnerable key generation path is\nreached.","modified":"2026-12-01T23:28:34.376915040Z","published":"2026-12-01T23:02:50.836Z","upstream":["CVE-2026-107496","EUVD-2026-121711","GHSA-vv67-6crp-mvmp"],"database_specific":{"license":"CC-BY-4.0","sources":[{"html_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-107496","database_specific":{"status":"Awaiting Analysis"},"id":"CVE-2026-107496","imported":"2026-12-01T22:40:54.007Z","modified":"2026-11-16T19:17:24.600Z","published":"2026-11-10T19:18:02.583Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-107496"},{"url":"https://api.github.com/advisories/GHSA-vv67-6crp-mvmp","html_url":"https://github.com/advisories/GHSA-vv67-6crp-mvmp","id":"GHSA-vv67-6crp-mvmp","imported":"2026-12-01T22:42:19.902Z","modified":"2026-11-16T21:31:15Z","published":"2026-11-10T21:32:25Z"},{"id":"EUVD-2026-121711","imported":"2026-12-01T22:40:06.007Z","modified":"2026-11-16T19:11:29Z","published":"2026-11-10T18:14:18Z","url":"https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-121711","html_url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-121711","affected":{"OpenSSL:OpenSSL":["1.0.2 \u003c1.0.2zt","1.1.1 \u003c1.1.1zk","3.0.0 \u003c3.0.24","3.5.0 \u003c3.5.10","4.0.0 \u003c4.0.4","4.1.0 \u003c4.1.1"]}}]},"references":[{"type":"WEB","url":"https://github.com/advisories/GHSA-vv67-6crp-mvmp"},{"type":"WEB","url":"https://github.com/openssl/openssl/commit/36e15b618decdff1b116eead6747718e6e729ad2"},{"type":"WEB","url":"https://github.com/openssl/openssl/commit/a0051cfe699bf5a047bc1c4faef65f80f7987366"},{"type":"WEB","url":"https://github.com/openssl/openssl/commit/a8531368ddb1f86d2a2782a8b693926bb67b59e7"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-107496"},{"type":"WEB","url":"https://openssl-library.org/news/secadv/20261110.txt"}],"affected":[{"package":{"name":"AppBundler","ecosystem":"Julia","purl":"pkg:julia/AppBundler?uuid=40eb83ae-c93a-480c-8f39-f018b568f472"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.0.0"},{"fixed":"1.0.1"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-1753.json"}},{"package":{"name":"OpenSSL_jll","ecosystem":"Julia","purl":"pkg:julia/OpenSSL_jll?uuid=458c3c95-2e84-50aa-8efc-19380b2a3a95"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.5.10+0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-1753.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"CNA"}]}