← VULNERABILITIES

DHI-wtnf-uqxq-zucw-tjrw

Issue summary: Encrypting a CMS message to an EC certificate whose group order

UnscoredFix available
CVSS
—
EPSS
—
Published
2026-11-19
Age
14d old
Modified
2026-11-24
Product
Docker Hardened Images:Alpine:3.23 openssl-provider-fips

Description

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

Fixed in

3.5.7-1~deb13u3+dhi1 · 3.5.9-1~deb13u1+dhi0 · 3.5.9-r2

Affected packages

EcosystemPackageRangeFixed
Docker Hardened Images:Alpine:3.23openssl>=0, <3.5.9-r23.5.9-r2
Docker Hardened Images:Alpine:3.24openssl>=0, <3.5.9-r23.5.9-r2
Docker Hardened Images:Debian:13openssl>=0, <3.5.7-1~deb13u3+dhi13.5.7-1~deb13u3+dhi1
Docker Hardened Images:Debian:13openssl>=3.5.7-1~deb13u3+fips+dhi0, <3.5.9-1~deb13u1+dhi03.5.9-1~deb13u1+dhi0

Sources

  • OSV · first seen 14d ago · CC-BY 4.0

References

JSON