CVE-2026-107496
Infinite Loop in CMS_encrypt() With an EC Group Order of 1
Mitigation
- Upgrade OpenSSL to 1.0.2zt or later.
Who should check
- Anyone running OpenSSL >= 4.1.0, < 4.1.1; >= 4.0.0, < 4.0.4; >= 3.5.0, < 3.5.10; >= 3.0.0, < 3.0.24; >= 1.1.1, < 1.1.1zk; >= 1.0.2, < 1.0.2zt
Vulnerability facts
- Affected
- OpenSSL >= 4.1.0, < 4.1.1; >= 4.0.0, < 4.0.4; >= 3.5.0, < 3.5.10; >= 3.0.0, < 3.0.24; >= 1.1.1, < 1.1.1zk; >= 1.0.2, < 1.0.2zt
- Fixed in
- OpenSSL 4.1.1, OpenSSL 4.0.4, OpenSSL 3.5.10, OpenSSL 3.0.24, OpenSSL 1.1.1zk, OpenSSL 1.0.2zt
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.40% chance of exploitation in 30 days (percentile 26, 2026-11-26)
- CWE
- CWE-835
- Modified
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 versions are affected only when configured with the enable-ec_explicit_curves option. The result is a hang that consumes a CPU core until the process is interrupted, a Denial of Service. The severity is Low because the attacker must supply the recipient certificate and the application must choose to encrypt to it; ordinary CMS encryption to trusted recipients is unaffected. The fix makes EC key generation fail when the group has no valid nonzero private scalar, instead of retrying indefinitely. FIPS impact: no The FIPS modules in 4.1, 4.0, 3.5 and 3.0 are not affected. The FIPS provider does not support arbitrary explicit EC domain parameters, so an order-1 group is rejected during key import before the vulnerable key generation path is reached.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| OpenSSL | >= 4.1.0, < 4.1.1; >= 4.0.0, < 4.0.4; >= 3.5.0, < 3.5.10; >= 3.0.0, < 3.0.24; >= 1.1.1, < 1.1.1zk; >= 1.0.2, < 1.0.2zt | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-107496. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-107496.md Affected: OpenSSL >= 4.1.0, < 4.1.1; >= 4.0.0, < 4.0.4; >= 3.5.0, < 3.5.10; >= 3.0.0, < 3.0.24; >= 1.1.1, < 1.1.1zk; >= 1.0.2, < 1.0.2zt Fixed in: OpenSSL 4.1.1, OpenSSL 4.0.4, OpenSSL 3.5.10, OpenSSL 3.0.24, OpenSSL 1.1.1zk, OpenSSL 1.0.2zt Steps: 1. Search this machine and project for OpenSSL: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
Technologies
References
Vendor advisories
FAQ
Is CVE-2026-107496 being exploited?
There is no confirmed exploitation: CVE-2026-107496 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.40% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-107496?
High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-107496?
OpenSSL >= 4.1.0, < 4.1.1; >= 4.0.0, < 4.0.4; >= 3.5.0, < 3.5.10; >= 3.0.0, < 3.0.24; >= 1.1.1, < 1.1.1zk; >= 1.0.2, < 1.0.2zt.
Is there a fix for CVE-2026-107496?
Yes. Fixed in OpenSSL 4.1.1, OpenSSL 4.0.4, OpenSSL 3.5.10, OpenSSL 3.0.24, OpenSSL 1.1.1zk, OpenSSL 1.0.2zt. Upgrade OpenSSL to 1.0.2zt or later.
How do I check if I'm affected by CVE-2026-107496?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More OpenSSL vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| MEDIUM 5.3 | CVE-2026-115841 Sequoia-openpgp: sequoia-openpgp: degenerate dsa keys are accepted on the nettle and openssl backendsa | Linux kernel+4 | ||
| UNSCORED | CVE-2026-84785 Unbounded Out-of-Order Fragment Reassembly in QUIC Streams | OpenSSL | EPSS 15% | |
| MEDIUM 5.3 | CVE-2026-95690 Excessive Memory Allocation in DTLS Handshake Message Reassembly | OpenSSL | EPSS 18% | |
| HIGH 7.5 | CVE-2026-84786 Possible NULL Dereference in Non-SMTP DANE Clients | OpenSSL | EPSS 35% | |
| HIGH 7.5 | CVE-2026-121482 Relative CRL Distribution Point Names Rebuilt per CRL in X.509 Verification | OpenSSL | EPSS 35% |