CVE-2026-107496OpenSSL infinite loop
CVSS score
7.5
High
CVSS 3.1 from 134c704f-9b21-4f2e-91b3-4a467353bcc0
Exploit probability (EPSS)
0.40%
0.40% chance of exploitation in the next 30 days, higher than 34.9% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: openssl-security@openssl.org
How to fix it, step by step
Check whether you're affected
Find every system running OpenSSL and compare its version with the affected versions.
Update to a fixed version
- Update OpenSSL to 1.0.2zt, 1.1.1zk, 3.0.24, 3.5.10 or later, on the branch you run.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected products
| Affected products | Versions |
|---|---|
| OpenSSL 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 |
Weakness
- CWE-835 infinite loop
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-107496 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.4% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-107496?
CVE-2026-107496 has a CVSS 3.1 base score of 7.5 (high).
Which versions are affected?
OpenSSL 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 patch for CVE-2026-107496?
The official record links to vendor advisories or patches; see “What to do” above.
References
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.