bitVakt

Kernel Kit / Infix / v26.10.0latest

CVE-2026-75805

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 CMP client that requests certificate revocation on the basis of a PKCS#10 CSR may dereference a NULL pointer and terminate abnormally when processing a crafted revocation response.

Impact summary: The NULL pointer dereference happens on a read which leads to a crash and a Denial of Service for the affected client application.

CWE: CWE-476: NULL-pointer dereference

Description: A CMP client revoking a certificate has to tell the server which certificate to revoke, and may do so by supplying a PKCS#10 CSR instead of the certificate itself or its issuer name and serial number. This is 'openssl cmp -cmd rr -csr <file>' on the command line, or OSSL_CMP_exec_RR_ses() with the certificate supplied via OSSL_CMP_CTX_set1_p10CSR() through the API.

A CSR does not contain the issuer name and serial number of the certificate, so the client does not send them. A server may optionally name the certificate it revoked in its response, and the client then compares that name against what it sent. Having sent neither an issuer name nor a serial number, it has nothing to compare against, and a server returning a specially crafted name causes the client to read from a NULL pointer and crash.

The revocation response is checked for valid message protection before the affected code is reached, so an attacker must be a malicious or compromised CMP server, or a man-in-the-middle in possession of the secret used for message protection. Clients that identify the certificate to be revoked by a certificate or by issuer and serial number rather than by a PKCS#10 CSR are not affected.

FIPS impact: no No FIPS modules are affected by this issue, as the CMP protocol implementation is outside the OpenSSL 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_64Not exposed✓ accepted by a member, 2026-11-18 · settles 8 of 8

Fable 5.1 · high confidence · 2026-11-05

The vulnerable CMP revocation-response check is present unmodified in the 3.5.8 tree (crypto/cmp/cmp_client.c, OSSL_CMP_exec_RR_ses: with a PKCS#10 CSR the request template carries NULL issuer/serial, and a CertId whose issuer is not a directoryName makes X509_NAME_cmp(NULL,NULL) return 0 so ASN1_INTEGER_cmp() is called on a NULL serial).

CMP is compiled into libcrypto and the openssl app (no no-cmp/no-apps in configdata.pm options; target openssl binary references OSSL_CMP_exec_RR_ses).

However, nothing in Infix uses CMP: no finit service, rootfs script, confd/YANG node or CLI command runs a CMP client, and no other target package source references the OSSL_CMP_* API.

Reaching the bug requires a root shell on the device running openssl cmp -cmd rr -csr ... against a malicious/compromised CMP server (or a MITM holding the protection secret); it is a client-side DoS only, not a listening network surface.

Evidence 12
  1. Source is 3.5.8 (last listed security fix is CVE-2026-75803); no CVE-2026-75805 entry, so the advisory's fix is not present.

    output/build/libopenssl-3.5.8/VERSION.dat, CHANGES.md

  2. Only the four Buildroot build-system patches apply; none touches crypto/cmp.

    output/build/libopenssl-3.5.8/.applied_patches_list

  3. Unfixed code: issuer/serial taken from the sent certDetails, then X509_NAME_cmp()/ASN1_INTEGER_cmp() against server-supplied CertId with no NULL guard.

    output/build/libopenssl-3.5.8/crypto/cmp/cmp_client.c:985-1014 (OSSL_CMP_exec_RR_ses)

  4. With ctx->p10CSR set, issuer and serialNumber stay NULL in the RR template, which is the precondition the CVE describes.

    output/build/libopenssl-3.5.8/crypto/cmp/cmp_msg.c:613-628 (ossl_cmp_rr_new)

  5. OSSL_CRMF_CERTID_get0_issuer returns NULL for non-directoryName issuer; X509_NAME_cmp(NULL,NULL) returns 0, so execution reaches ASN1_INTEGER_cmp(NULL, ...).

    output/build/libopenssl-3.5.8/crypto/crmf/crmf_lib.c:603 + crypto/x509/x509_cmp.c:255-262

  6. Configure options contain neither no-cmp nor no-apps; CMP and the openssl app are compiled in.

    output/build/libopenssl-3.5.8/configdata.pm:247 ("options")

  7. no-cmp / no-apps only added when BR2_PACKAGE_LIBOPENSSL_ENABLE_CMP / _BIN are unset; both are =y in output/.config.

    buildroot/package/libopenssl/libopenssl.mk:91,116

  8. BR2_PACKAGE_LIBOPENSSL=y and BR2_PACKAGE_LIBOPENSSL_BIN=y: libcrypto and the openssl binary are installed to the target image.

    output/.config:2199-2202, configs/x86_64_defconfig:54

  9. Installed binary references OSSL_CMP_exec_RR_ses and links libcrypto.so.3, so the `openssl cmp` subcommand exists on the device.

    output/target/usr/bin/openssl

  10. Default services and rootfs scripts use only openssl cms/x509/genpkey/rsa; no CMP client is run at boot or by any product script.

    board/common/rootfs/etc/finit.d/enabled/ (mstpd, netconf, rauc); board/common/rootfs/usr/bin/ddi:203, usr/libexec/infix/mkkeys:12

  11. No YANG node or CLI command configures or triggers CMP certificate enrollment/revocation; only unrelated 'icmp'/'strcmp' hits.

    src/confd/yang/, src/klish-plugin-infix/xml/ (grep for cmp/OSSL_CMP)

  12. No other target package calls the CMP client API.

    output/build/* (rg for OSSL_CMP_exec_*/OSSL_CMP_CTX_set1_p10CSR, excluding libopenssl)

Version and patches

Advisory covers OpenSSL 3.x up to and including 3.5.8 (fixed in the subsequent 3.5.x release per the 2026-09-29 secadv); this tree is exactly 3.5.8 with no CVE-2026-75805 backport in CHANGES.md or in crypto/cmp/cmp_client.c. The four Buildroot patches (compiler-path, ppc64 ELFv2, revert static-build fix, serialized install) are build-system only.

Recommendation

Document as not exposed: no product component or management interface uses the CMP client; exploitation needs a root shell plus a malicious CMP server and yields only a crash of that one-shot CLI invocation. Pick up the fix with the next routine libopenssl bump (3.5.9 or later) rather than as a priority backport.

Open questions

output/target/usr/lib contains no shared libraries in this artifact cache (apparently stripped), so presence of libcrypto.so.3 on the image was inferred from .config and the openssl binary's dynamic reference rather than from the file itself. The CLI's shell command (src/klish-plugin-infix/xml/shell.xml) gives an admin a system shell from which openssl cmp could be run manually; this was treated as stepping outside the product's managed configuration.

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