Bug 2577900 - CVE-2026-54872 erlang: OpenSSL: Private key recovery via timing side-channel in generic elliptic curve operations [fedora-all]
Summary: CVE-2026-54872 erlang: OpenSSL: Private key recovery via timing side-channel ...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: erlang
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Peter Lemenkov
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["aa5863e9-e00e-4548-89d3-7...
Depends On:
Blocks: CVE-2026-54872
TreeView+ depends on / blocked
 
Reported: 2026-11-20 08:00 UTC by Srikanth Balasubramanian
Modified: 2026-11-20 12:23 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-11-20 12:23:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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).


Note You need to log in before you can comment on or make changes to this bug.