Receiving crafted out-of-sequence DTLS handshake fragments may cause OpenSSL to allocate a full message-length reassembly buffer for each buffered message, so a small amount of wire data consumes a large amount of memory.
CVE-2026-54872Timing Side-Channel in Scalar Multiplication for Non-NIST EC Curves
Description
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.
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| OpenSSL | OpenSSL | 4.0.0 – < 4.0.3, 3.6.0 – < 3.6.5, 3.5.0 – < 3.5.9, 3.4.0 – < 3.4.8, 3.0.0 – < 3.0.23, 1.1.1 – < 1.1.1zj, 1.0.2 – < 1.0.2zs | |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) | V3.1.7 | |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) | V3.1.7 | |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) | V3.1.7 | |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) | V3.1.7 | |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) | V3.1.7 |
References and patches
- OpenSSL Advisory vendor-advisoryVendor Advisory
- 4.0.3 git commit patchPatch
- 3.6.5 git commit patchPatch
- 3.5.9 git commit patchPatch
- 3.4.8 git commit patchPatch
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html
CPE matches (NVD) (7)
cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*≥ 1.0.2 < 1.0.2zscpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*≥ 1.1.1 < 1.1.1zjcpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*≥ 3.0.0 < 3.0.23cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*≥ 3.4.0 < 3.4.8cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*≥ 3.5.0 < 3.5.9cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*≥ 3.6.0 < 3.6.5cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*≥ 4.0.0 < 4.0.3