Kernel Kit / Infix / v26.10.0latest
CVE-2026-77696
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: SM2 signature generation uses non-constant-time arithmetic on secret values, forming a timing side-channel.
Impact summary: An attacker able to measure SM2 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: SM2 signature generation computes the signature value using variable-time BIGNUM operations on the secret nonce and the private key, so the time taken to produce an SM2 signature depends on these secret values, forming a timing side-channel.
Applications performing SM2 signature generation are affected on all platforms.
FIPS Impact: no SM2 is not a FIPS algorithm.
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/1c4aed808a7aea32d2d013049c2e0d9fef164fc9
- github.com/openssl/openssl/commit/20b20628d39b2dcc4677194bd68c7c060fa598cb
- github.com/openssl/openssl/commit/419f5cb519721dceed393dbc524d79e487c72e64
- github.com/openssl/openssl/commit/6b90445a56b99a328ac1feba058abf976504f440
- openssl-library.org/news/secadv/20260929.txt
- cert-portal.siemens.com/productcert/html/ssa-457936.html
Fable 5.1 · high confidence · 2026-11-05
The target libopenssl 3.5.8 contains the unfixed SM2 signing code (variable-time BIGNUM arithmetic on the nonce and private key in crypto/sm2/sm2_sign.c) and SM2 is compiled into libcrypto and the default provider; none of the four Buildroot patches touch it.
However, nothing on a shipped Infix device performs SM2 signature generation: all generated keys are RSA (gencert.c, mkkeys), libssl in this version has no SM2 TLS signature algorithm so nginx/RESTCONF could not sign with an SM2 key even if one were uploaded through ietf-keystore, OpenSSH does not support SM2, and the only rootfs use of the openssl CLI is CMS verification.
Exploitation would require a root shell or custom application signing with an SM2 key plus a network timing oracle that the product does not expose.
Evidence 12
OPENSSL_VERSION_STR "3.5.8" — unpatched upstream release predating the 2026-09-29 advisory
output/build/libopenssl-3.5.8/include/openssl/opensslv.h:90
s computed with BN_add/ossl_ec_group_do_inverse_ord/BN_mod_mul/BN_sub on dA and k, no BN_FLG_CONSTTIME or blinding — the vulnerable code path
output/build/libopenssl-3.5.8/crypto/sm2/sm2_sign.c:296-301
Only 4 Buildroot build-system patches (reproducible build, ppc64 ABI, static revert, install serialisation); none address SM2
output/build/libopenssl-3.5.8/.applied_patches_list
Configure options include no-sm2-precomp but not no-sm2 — SM2 is enabled
output/build/libopenssl-3.5.8/configdata.pm:247
Target build produced crypto/sm2/libcrypto-shlib-sm2_sign.o and providers/implementations/signature/libdefault-lib-sm2_sig.o
output/objects.txt:3655-3691
BR2_PACKAGE_OPENSSL=y / BR2_PACKAGE_LIBOPENSSL_BIN=y — target package selected, openssl CLI installed (output/target/usr/bin/openssl)
output/.config:2199 and configs/x86_64_defconfig:54
No SM2 references in libssl — TLS cannot negotiate SM2 signatures, so nginx/RESTCONF never generates SM2 signatures
output/build/libopenssl-3.5.8/ssl/ (grep -ri sm2)
Device HTTPS certificate key is generated as RSA-2048 (EVP_PKEY_RSA)
src/gencert/gencert.c:106-108
SSH host keys generated with openssl genpkey -algorithm RSA
board/common/rootfs/usr/libexec/infix/mkkeys:9
Operator-supplied cleartext-private-key from ietf-keystore is written to nginx key file — only consumer is TLS, which cannot use SM2 for signing
src/confd/src/keystore.c:84-130 (gen_webcert)
Only rootfs use of the openssl CLI is 'openssl cms -verify' and 'openssl x509' — verification, not signing
board/common/rootfs/usr/bin/ddi:203-209
Default services: mstpd, netconf (SSH/RSA host key), rauc; restconf available but not enabled; none perform SM2 signing
board/common/rootfs/etc/finit.d/enabled/
Version and patches
NVD/upstream: all 3.5.x up to and including 3.5.8 affected (advisory 2026-09-29, after the 3.5.8 release of 2026-08-25); fix is in the next 3.5 patch release (3.5.9 expected) via the listed upstream commits. The tree contains unmodified 3.5.8 sm2_sign.c; the 4 applied Buildroot patches are build-system only. SM2 compiled in (no 'no-sm2' configure option).
Recommendation
Document as not applicable to the shipped configuration (no SM2 signing path reachable; RSA keys only; libssl has no SM2 sigalg). Pick up the fix opportunistically with the next Buildroot libopenssl bump to 3.5.9+; no urgent backport required.
Open questions
Could not fetch the upstream advisory offline to confirm the exact fixed version string (assumed 3.5.9). The artifact copy has libcrypto.so and .o files pruned from output/target and output/build, so compilation of SM2 was confirmed from output/objects.txt and the .d dependency files rather than the binaries themselves.
Members of Kernel Kit decide. Sign in if you are one.