Infinite loop Affecting openssl package, versions [3.5.0-alpha1, 3.5.10)[4.0.0-alpha1, 4.0.4)[4.1.0-alpha1, 4.1.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.4% (35th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-OPENSSL-22989630
  • published26 Nov 2026
  • disclosed10 Nov 2026
  • creditYinxi Liu

Introduced: 10 Nov 2026

NewCVE-2026-107496  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade openssl to version 3.5.10, 4.0.4, 4.1.1 or higher.

Overview

Affected versions of this package are vulnerable to Infinite loop via the ec_generate_key function in crypto/ec/ec_key.c. An attacker can make an application hang and consume a CPU core by supplying an EC recipient certificate with group order 1 to an application that encrypts CMS messages using CMS_encrypt() or CMS_encrypt_ex; key generation then loops indefinitely while trying to generate a nonzero private scalar.

Notes

  • On the certificate-processing step, OpenSSL 4.0 and later require enable-ec_explicit_curves; default builds reject unknown explicit EC groups before key generation.

CVSS Base Scores

version 4.0
version 3.1