{"id":"DHI-wtnf-uqxq-zucw-tjrw","aliases":[],"title":"Issue summary: Encrypting a CMS message to an EC certificate whose group order","originalDescription":"Issue summary: Encrypting a CMS message to an EC certificate whose group order is 1 may cause CMS_encrypt() or CMS_encrypt_ex() to loop indefinitely. Impact summary: An attacker able to supply the recipient certificate to an application performing CMS encryption can cause that application to loop indefinitely, consuming CPU and resulting in Denial of Service. CWE: CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop') Description: CMS_encrypt() and CMS_encrypt_ex() encrypt a message to one or more recipient certificates and, for an EC recipient, generate an ephemeral key in the recipient's group. If the certificate declares a group order of 1, random scalar generation can only produce zero. The key generation routine then retries without limit while waiting for a nonzero private scalar, so the call never returns. The OpenSSL TLS and QUIC implementations do not use this path. An application is exposed only if it calls CMS_encrypt() or CMS_encrypt_ex() with a recipient certificate whose EC parameters are attacker-controlled. Certificates with normal EC group orders do not trigger the loop. OpenSSL 4.0 and later reject unknown explicit EC groups in default builds. These versi","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":null,"exploitDb":null},"affected":[{"ecosystem":"Docker Hardened Images:Alpine:3.23","name":"openssl","range":">=0, <3.5.9-r2","fixed":"3.5.9-r2"},{"ecosystem":"Docker Hardened Images:Alpine:3.24","name":"openssl","range":">=0, <3.5.9-r2","fixed":"3.5.9-r2"},{"ecosystem":"Docker Hardened Images:Debian:13","name":"openssl","range":">=0, <3.5.7-1~deb13u3+dhi1","fixed":"3.5.7-1~deb13u3+dhi1"},{"ecosystem":"Docker Hardened Images:Debian:13","name":"openssl","range":">=3.5.7-1~deb13u3+fips+dhi0, <3.5.9-1~deb13u1+dhi0","fixed":"3.5.9-1~deb13u1+dhi0"}],"references":[{"url":"https://scout.docker.com/v/DHI-wtnf-uqxq-zucw-tjrw","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-107496","type":"advisory"},{"url":"https://security.alpinelinux.org/vuln/CVE-2026-107496","type":"advisory"},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-107496","type":"advisory"},{"url":"https://ubuntu.com/security/CVE-2026-107496","type":"advisory"},{"url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-107496","type":"advisory"},{"url":"https://github.com/openssl/openssl/commit/a8531368ddb1f86d2a2782a8b693926bb67b59e7","type":"fix"},{"url":"https://github.com/openssl/openssl/commit/a0051cfe699bf5a047bc1c4faef65f80f7987366","type":"fix"},{"url":"https://github.com/openssl/openssl/commit/36e15b618decdff1b116eead6747718e6e729ad2","type":"fix"}],"sources":[{"name":"osv","at":"2026-11-28T00:09:30.468Z","url":"https://osv.dev/vulnerability/DHI-wtnf-uqxq-zucw-tjrw","license":"CC-BY 4.0","firstSeenAt":"2026-11-20T16:58:39.724Z"}],"firstSeenAt":"2026-11-20T16:58:39.724Z","publishedAt":"2026-11-19T20:54:10.000Z","modifiedAt":"2026-11-24T20:45:03.188Z"}