bitVakt

Kernel Kit / Infix / v26.10.0latest

CVE-2026-35189

5.3medium

libopenssl3.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: A certificate with many nameRelativeToCRLIssuer CRL distribution points causes disproportionate heap growth when OpenSSL caches X.509 extensions.

Impact summary: Receiving a crafted certificate from a malicious peer can lead to significant memory pressure and possible Denial of Service in clients or in servers that solicit client certificates.

CWE: CWE-770: Allocation of Resources Without Limits or Throttling

Description: A certificate or a set of certificates that fits under the limit for size of certificates accepted from the peer (~100 KiB) can result in allocation of several hundred MiB of resident memory on the receiving side during a normal TLS handshake. This may be enough to crash the client or server, if multiple concurrent connections lead to similarly large memory allocations.

The fix postpones processing of the CRL distribution points extensions in certificates to the time when the processed value is required for CRL processing. This avoids keeping large memory allocations for a long time when such certificates are received.

FIPS impact: no The affected code is outside the FIPS module boundary.

Published 2026-09-29NVD

CVSS 3.1Network · no privileges · no user interaction

How it is reached

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None

What it costs

Confidentiality
None
Integrity
None
Availability
Low
Scope
Unchanged

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

References 6
Review Av26.10.0x86_64Used when enabled✓ accepted by a member, 2026-11-18 · settles 4 of 8

Fable 5.1 · high confidence · 2026-11-05

OpenSSL 3.5.8 in this tree still contains the vulnerable code: ossl_x509v3_cache_extensions() in crypto/x509/v3_purp.c eagerly calls setup_crldp() and allocates per-DP name data for every certificate it parses; none of the four Buildroot patches touch X.509 code, and X.509/TLS is core libcrypto/libssl (not disabled by any configure option).

In the factory-default configuration the only network-facing TLS endpoint is nginx (ports 443/7681, web/restconf enabled in factory.d), which never sets ssl_verify_client, so it does not solicit peer certificates and the default image is not exposed.

The vulnerable path is reachable as a TLS client when an operator uses product-provided features that fetch from an https:// URL: the CLI copy <https-url> command (src/bin/copy.c spawns curl -L, curl built against OpenSSL), and the YANG node /ietf-system:system/infix-system-software:software/update-url (scheduled release-feed fetch) plus bundle installation via URL through RAUC (BR2_PACKAGE_RAUC_NETWORK=y). A malicious or MITM'd server can then deliver a crafted certificate and cause large heap growth in the curl/rauc process.

Evidence 10
  1. Unfixed code: CRL distribution points are still processed eagerly during extension caching; the upstream fix defers this to CRL-check time.

    output/build/libopenssl-3.5.8/crypto/x509/v3_purp.c:391-400 (setup_crldp) and :616 (call from ossl_x509v3_cache_extensions)

  2. Only the 4 Buildroot build-system patches (reproducible build, ppc64 ABI, static revert, serialized install) are applied; none touch crypto/x509.

    output/build/libopenssl-3.5.8/.applied_patches_list

  3. Source is plain 3.5.8 (25 Aug 2026); no CVE-2026-35189 entry, so no stable backport present.

    output/build/libopenssl-3.5.8/CHANGES.md:31

  4. BR2_PACKAGE_LIBOPENSSL=y with ENABLE_SSL=y; libopenssl is the target OpenSSL provider, so libssl/libcrypto with X.509 are in the image.

    output/.config:2200,2217,2238

  5. Configure options only disable rc5/docs/tests/fuzz/afalgeng; X.509 and TLS cannot be disabled and are compiled in.

    buildroot/package/libopenssl/libopenssl.mk:81-97

  6. nginx with TLS runs by default on a shipped device.

    src/confd/share/factory.d/10-infix-services.json (infix-services:web enabled=true, restconf enabled=true)

  7. TLS listeners on 443/7681 with only server cert/key; no ssl_verify_client anywhere in board/ or src/confd/src/services.c, so nginx never solicits client certificates — default server path is not exposed.

    board/common/rootfs/etc/nginx/ssl.conf and available/netbrowse.conf:12, available/ttyd.conf:2

  8. CLI `copy` with an https:// URL runs curl (-L, no -k) which performs full TLS handshake and peer-cert parsing via OpenSSL (output/.config:2658,2665 BR2_PACKAGE_LIBCURL=y, LIBCURL_OPENSSL=y).

    src/bin/copy.c:511-547 (curl) and :689-712

  9. Operator-configurable YANG node causing unattended periodic HTTPS fetches of a release feed/bundle; RAUC network download is built in.

    src/confd/yang/confd/infix-system-software.yang:110-125 (leaf update-url) and output/.config:3785 BR2_PACKAGE_RAUC_NETWORK=y

  10. Syslog TLS transport is deviated out (not supported), so it is not an additional exposure path.

    src/confd/yang/confd/infix-syslog.yang:316

Version and patches

Upstream advisory 20260929 lists OpenSSL 3.5.x before 3.5.9 (and 3.6/3.4/3.3/3.0 branches) as affected; this tree is unmodified 3.5.8 (VERSION.dat / CHANGES.md) and the eager setup_crldp() call in crypto/x509/v3_purp.c is still present. Applied patches (0001-0004 from buildroot/package/libopenssl/) are build-system only and do not address the CVE. Could not fetch the advisory offline; fixed-version claim is from the CVE references.

Recommendation

Upgrade libopenssl to 3.5.9 (or backport upstream commits 2b93c73b / 3842516c / 8e0efc75 / c72ae182) at the next maintenance release. Priority is moderate: the default image is not exposed (nginx does not request client certs), the impact is memory pressure/DoS limited to a short-lived curl/rauc process on operator- or schedule-initiated HTTPS fetches, and it requires the remote server (or a MITM) to be malicious. Until then, document that update-url/copy https:// should only point at trusted servers.

Open questions

Whether any other target binaries act as unattended TLS clients/servers requesting client certs (e.g. netopeer2/libnetconf2 TLS transport, hostapd/wpa_supplicant EAP-TLS) is not wired through the Infix YANG models as far as the tree shows; if such a feature is added it would raise this to a broader exposure. Fixed-version (3.5.9) could not be confirmed against the advisory text offline.

Members of Kernel Kit decide. Sign in if you are one.