Bug 2577900

Summary: CVE-2026-54872 erlang: OpenSSL: Private key recovery via timing side-channel in generic elliptic curve operations [fedora-all]
Product: [Fedora] Fedora Reporter: Srikanth Balasubramanian <sbalasub>
Component: erlangAssignee: Peter Lemenkov <lemenkov>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: jonathan, lemenkov, rhbugs, rich
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["aa5863e9-e00e-4548-89d3-73a550ed258b"]}
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-11-20 12:23:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2543250    

Description Srikanth Balasubramanian 2026-11-20 08:00:46 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

Issue summary: The generic elliptic-curve scalar multiplication used for
ECDSA and SM2 signature operations with curves that do not have a dedicated
implementation leaks information about the secret nonce through timing.

Impact summary: An attacker able to measure signing times may learn
information about the per-signature secret nonce, which over many signatures
can, via a lattice / Hidden Number Problem attack, lead to recovery of the
private key.

CWE: CWE-208: Observable Timing Discrepancy

Description: The generic elliptic-curve scalar multiplication used for
curves that do not have a dedicated constant-time implementation pads the
secret scalar with non-constant-time BIGNUM operations, so the time taken
depends on the value of the secret scalar derived from the ECDSA and SM2 nonce.

The leak is very small; observing it requires a large number of
measurements. The effect is largest for curves whose group order lies
on a machine-word boundary, such as brainpoolP384r1.

Applications using ECDSA signing over the Brainpool and other generic prime
curves, and SM2 signing on platforms that use the generic implementation,
are vulnerable to this issue.

The NIST curves P-256, P-384 and P-521 use dedicated constant-time
implementations and are not affected.

FIPS Impact: no
The FIPS modules are not affected: the approved NIST curves used in the FIPS
provider have dedicated constant-time implementations and do not use the
affected code path.

Comment 1 Peter Lemenkov 2026-11-20 12:23:40 UTC
erlang is not affected by CVE-2026-54872.

This flaw is in OpenSSL's generic elliptic-curve arithmetic (private-key recovery via timing side-channel). Erlang/OTP neither ships nor exercises that code:

- The crypto and ssl applications link against the *system* OpenSSL (BuildRequires: pkgconfig(openssl)); any fix for CVE-2026-54872 is delivered by the openssl package.
- Erlang's crypto application calls the system libcrypto for these operations and carries no copy of the elliptic-curve code.
- The only OpenSSL code *bundled* in OTP (Provides: bundled(openssl) = 3.1.4) is a very small part of the MD5 digest — erts/emulator/openssl/ holds only crypto/md5/md5_dgst.c, crypto/md5/md5_local.h, include/crypto/md32_common.h and include/openssl_local/md5.h (see erts/emulator/openssl/README). No elliptic-curve code is bundled.

The vulnerable code path therefore does not exist in Erlang/OTP. Closing as NOTABUG (not affected).