Kernel Kit / Infix / v26.10.0latest
CVE-2026-54872
3.7lowlibopenssl3.5.8 · 3.4.3 · 3.4.1in 4 of 4 releases
Reach libopenssl · 8 builds in 4 of 4 releases
full reviewcross-check✓ a member decided
Description · NVD
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.
Published 2026-09-29NVD
CVSS 3.1Network · no privileges · no user interaction
How it is reached
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
What it costs
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
- Scope
- Unchanged
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
References 6
- github.com/openssl/openssl/commit/1a5bee8dc57430a2be69cd1ffe7fec6a62f4f179
- github.com/openssl/openssl/commit/3f7e1363dccec6f7732bb9e9fa471bb6e4aa68cb
- github.com/openssl/openssl/commit/7d83bc7764999dfd91b83b4f0815b45390422afd
- github.com/openssl/openssl/commit/8166827a78aad164a07aa86dea2b425403ced471
- openssl-library.org/news/secadv/20260929.txt
- cert-portal.siemens.com/productcert/html/ssa-457936.html
Fable 5.1 · high confidence · 2026-11-06
OpenSSL 3.5.8 in this tree is unfixed: crypto/ec/ec_mult.c still pads the secret scalar with plain BN_add() in ossl_ec_scalar_mul_ladder, EC/ECDSA/SM2 are compiled in, and Brainpool (and, because no-ec_nistp_64_gcc_128 is set, also P-384/P-521) use that generic ladder.
However, the product never signs with an EC key: the factory-default SSH/NETCONF host key (mkkeys) and HTTPS/RESTCONF certificate (gencert.c) are RSA-2048, the keystore YANG models only RSA (and X25519 for WireGuard) private-key formats, infix-services.yang enforces "Only RSA hostkeys are supported", and web cert keys are written with an RSA PRIVATE KEY header. Reaching the vulnerable ECDSA-signing path therefore requires a root shell to install an EC key outside the management interface (or to run openssl directly).
Remote ECDHE with secp384r1 does touch the same ladder but with ephemeral scalars, which is outside the CVE's nonce/HNP threat model.
Evidence 12
OpenSSL 3.5.8 released 25 Aug 2026, before the 2026-09-29 advisory; CHANGES.md/NEWS.md have no CVE-2026-54872 entry
output/build/libopenssl-3.5.8/VERSION.dat; include/openssl/opensslv.h:90,102
Only 4 Buildroot build-system patches applied; none touch crypto/ec
output/build/libopenssl-3.5.8/.applied_patches_list
Unfixed ossl_ec_scalar_mul_ladder: scalar padding via non-constant-time BN_add(), the code the advisory describes
output/build/libopenssl-3.5.8/crypto/ec/ec_mult.c:234-248
ossl_ec_wNAF_mul always routes secret-scalar multiplication to the ladder
output/build/libopenssl-3.5.8/crypto/ec/ec_mult.c:437-457
Generic EC_GFp_mont_method has mul=0; Brainpool curves have no dedicated method so they use the ladder
output/build/libopenssl-3.5.8/crypto/ec/ecp_mont.c:51; crypto/ec/ec_curve.c:2810-2827
Configure options: no-ec/no-ecdsa/no-sm2 absent (EC compiled in); no-ec_nistp_64_gcc_128 set
output/build/libopenssl-3.5.8/configdata.pm:246
P-384/P-521 fall back to method 0 (generic ladder) in this build; P-256 (ECP_NISTZ256_ASM) and SM2 (ECP_SM2P256_ASM) have dedicated aarch64 implementations
output/build/libopenssl-3.5.8/include/openssl/configuration.h:69; crypto/ec/ec_curve.c:2648-2662; configdata.pm:951-952
libopenssl is a target package used by sshd, nginx, netopeer2/libnetconf2, curl, rauc
output/.config (BR2_PACKAGE_LIBOPENSSL=y, BR2_PACKAGE_OPENSSH_SERVER=y, BR2_PACKAGE_NGINX_HTTP_SSL_MODULE=y, BR2_PACKAGE_NETOPEER2=y)
Default SSH/NETCONF host key 'genkey' is RSA-2048, generated with openssl genpkey -algorithm RSA
src/confd/share/factory.d/10-keystore.json; board/common/rootfs/usr/libexec/infix/mkkeys:12
Default HTTPS/RESTCONF certificate 'gencert' is RSA-2048; ssh and web/restconf enabled by default with these RSA keys
src/gencert/gencert.c:106-107; src/confd/share/factory.d/10-infix-services.json
YANG must-constraint: 'Only RSA hostkeys are supported'
src/confd/yang/confd/infix-services.yang:251-256
Web cert private key written with 'RSA PRIVATE KEY' header; keystore models only RSA and X25519 private-key formats, no EC/ECDSA format
src/confd/src/keystore.c:132; src/confd/yang/confd/infix-crypto-types.yang:37-56
Version and patches
3.5.8 is within the affected range; upstream fix published 2026-09-29 (3.5.9+ on the 3.5 branch). No stable backport present in the tree. Applied patches (reproducible build, ppc64 ELFv2 ABI, revert static-fix, serialize install) are unrelated.
Recommendation
Document as not applicable for this release; pick up OpenSSL 3.5.9+ on the next routine Buildroot bump. No urgent backport needed since the device performs no ECDSA/SM2 signing with a long-term EC key by default or through any management interface.
Open questions
(1) The advisory says P-384/P-521 are unaffected, but this build (like upstream default, Configure:605) disables ec_nistp_64_gcc_128 so ECDSA on P-384/P-521 also uses the generic ladder here; only relevant if an EC host key/cert is installed outside the product (root shell into /var/lib/ssh/hostkeys or the nginx key dir). (2) TLS/SSH ECDHE with secp384r1 negotiated by a remote peer exercises the same ladder from the network, but with ephemeral scalars; this is outside the CVE's ECDSA/SM2 nonce / HNP threat model and does not expose a long-term key.
Members of Kernel Kit decide. Sign in if you are one.