Security Advisory

CVE-2026-5194: wolfSSL Signature Digest Check Flaw

Last updated:
  • CVE-2026-5194

CVE-2026-5194 is a certificate-verification flaw in the wolfSSL embedded TLS library: missing digest size and OID checks let signature verification accept digests smaller than the key type allows, weakening ECDSA certificate authentication when EdDSA or ML-DSA is also enabled. NVD scores it 9.1, wolfSSL rates it Critical, and 5.9.1 fixes it; OpenWrt ships 5.9.1 from 24.10.7 and 25.12.3.

Vulnerability summary

CVSS base score

9.1

Critical severity

EPSS score (FIRST)

0.6%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

No

Not listed

Published

Vulnerability ID: CVE-2026-5194 · Source: NVD

Affected components

ComponentCPEVersion range
wolfSSL (wolfCrypt signature verification)cpe:2.3:a:wolfssl:wolfssl:*:*:*:*:*:*:*:*NVD: 3.12.0 up to (excluding) 5.9.1; fixed in 5.9.1 (wolfSSL ChangeLog, PR 10131)
OpenWrt libwolfssl package—5.7.6 in OpenWrt 24.10.0-24.10.6 and 5.8.4 in 25.12.0-25.12.2; 5.9.1 from 24.10.7 and 25.12.3 (OpenWrt package Makefile per release tag)

What does this mean for affected devices?

CVE-2026-5194 is an improper certificate validation flaw (CWE-295, per wolfSSL as CNA) in wolfCrypt, the crypto layer of wolfSSL. The wolfSSL vulnerabilities page and the 5.9.1 section of the wolfSSL ChangeLog (8 April 2026) say missing hash/digest size and OID checks "allow digests smaller than allowed by FIPS 186-4 or 186-5 (as appropriate), or smaller than is appropriate for the relevant key type, to be accepted by signature verification functions". The project lists ECDSA/ECC, DSA, ML-DSA, Ed25519 and Ed448 as affected and recommends that "builds that have both ECC and EdDSA or ML-DSA enabled that are doing certificate verification" update. Nicholas Carlini of Anthropic reported it; the fix is pull request 10131, which adds digest size and signature/key OID agreement checks to signature generation and verification.

NVD gives it a Primary CVSS v3.1 score of 9.1 with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N, and wolfSSL's own CVSS v4.0 score is 9.3. NVD's configuration covers wolfSSL 3.12.0 up to (excluding) 5.9.1, and its description adds that the reduced security applies "if the public CA key used is also known" (NVD). On a device the exposure is any TLS, DTLS or update-signature check that verifies a certificate chain with wolfSSL.

OpenWrt is a firmware example with a public build record. Its libwolfssl package shipped 5.7.6 in OpenWrt 24.10.0 to 24.10.6 and 5.8.4 in 25.12.0 to 25.12.2, both inside NVD's range, and moved to 5.9.1 in 24.10.7 and 25.12.3. The OpenWrt 25.12 update commit says the update "includes a fix for a critical (CVSS 9.3) vulnerability" and links GHSA-f5h9-5q52-qrx7, the GitHub advisory for this CVE. The stock OpenWrt wolfSSL Makefile passes no --enable-ed25519, --enable-ed448 or --enable-mldsa flag, and wolfSSL's configure.ac lists all three as disabled by default, so a stock OpenWrt build does not match the configuration wolfSSL singles out; firmware that adds Ed25519, Ed448 or ML-DSA to an ECC build does.

Debian fixed it in bookworm with 5.5.4-2+deb12u3 (DLA-4683-1) and in trixie with 5.7.2-0.1+deb13u2; bullseye is marked postponed (Debian security tracker). Embedded Linux images built on those releases take the fix from the distribution package; RTOS images that compile wolfSSL in need a rebuild against 5.9.1 or later.

CVE-2026-5194 is not in the CISA KEV catalog as of 2026-11-16 (catalog version 2026.11.13), and FIRST EPSS gives it 0.0058, the 48.3rd percentile, in the 2026-11-15 dataset (CISA KEV, FIRST EPSS).

Find every copy of wolfSSL in the image, check whether the build enables ECC together with Ed25519, Ed448 or ML-DSA, and move to 5.9.1 or later (the current release is 5.9.4). Our Mbed TLS and wolfSSL firmware guide covers finding the library and its build options, and our authentication bypass fix guide covers the weakness class. Two later wolfSSL certificate flaws are CVE-2026-93302 and CVE-2026-94418.

How to fix this class of issueThis advisory's weakness class is Authentication bypass. Our practical guide covers how to detect, fix, verify and disclose it: How to fix authentication bypass in embedded firmware.

Evidence

  • Missing digest size and OID checks; ECDSA/ECC, DSA, ML-DSA, Ed25519, Ed448 affected; builds with ECC and EdDSA or ML-DSA doing certificate verification should update; reported by Nicholas Carlini (Anthropic); fixed in 5.9.1, PR 10131. — wolfSSL ChangeLog (5.9.1, 8 April 2026)
  • Critical rating, fixed in 5.9.1, time to fix 1 day. — wolfSSL security vulnerabilities page
  • NVD Primary CVSS v3.1 9.1 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N); CNA CVSS v4.0 9.3; CPE range 3.12.0 to before 5.9.1. — NVD
  • OpenWrt 25.12 update to 5.9.1 cites a critical (CVSS 9.3) fix, GHSA-f5h9-5q52-qrx7. — OpenWrt commit da8b65de
  • GHSA-f5h9-5q52-qrx7 is the GitHub advisory for CVE-2026-5194. — GitHub Advisory Database
  • OpenWrt wolfSSL configure arguments contain no ed25519, ed448 or mldsa flag. — OpenWrt wolfSSL Makefile (v24.10.8)
  • --enable-ed25519, --enable-ed448 and --enable-mldsa are default disabled. — wolfSSL configure.ac (v5.9.2-stable)
  • Debian: bookworm fixed in 5.5.4-2+deb12u3 (DLA-4683-1), trixie in 5.7.2-0.1+deb13u2, bullseye postponed. — Debian security tracker
  • Not in the CISA KEV catalog as of 2026-11-16 (catalog version 2026.11.13). — CISA KEV
  • EPSS 0.00582 (48.3rd percentile), dataset 2026-11-15, read 2026-11-16. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. wolfSSL: Security Vulnerabilities
  3. wolfSSL ChangeLog.md (release 5.9.1)
  4. wolfSSL pull request 10131: digest size and OID checks
  5. GitHub Advisory GHSA-f5h9-5q52-qrx7
  6. OpenWrt commit: wolfssl update to 5.9.1 (openwrt-25.12)
  7. OpenWrt wolfSSL package Makefile (v24.10.8)
  8. wolfSSL configure.ac (v5.9.2-stable)
  9. Debian security tracker
  10. CISA KEV
  11. FIRST EPSS

Frequently asked questions

Which wolfSSL builds are affected by CVE-2026-5194?

NVD covers wolfSSL 3.12.0 up to (excluding) 5.9.1. wolfSSL lists ECDSA/ECC, DSA, ML-DSA, Ed25519 and Ed448 verification as affected and tells builds that enable ECC together with EdDSA or ML-DSA and verify certificates to update (per NVD and the wolfSSL ChangeLog).

Is OpenWrt affected by CVE-2026-5194?

OpenWrt shipped libwolfssl 5.7.6 in 24.10.0 to 24.10.6 and 5.8.4 in 25.12.0 to 25.12.2, both in NVD's range, and moved to 5.9.1 in 24.10.7 and 25.12.3, citing this critical fix. Its stock build enables no Ed25519, Ed448 or ML-DSA option, so it does not match the configuration wolfSSL singles out (per OpenWrt and wolfSSL configure.ac).

Why does NVD score CVE-2026-5194 at 9.1?

NVD's vector is network, low complexity, no privileges and no user interaction with high confidentiality and integrity impact, because a weakened signature check undermines certificate authentication; wolfSSL's own CVSS v4.0 score is 9.3 (per NVD).

Is CVE-2026-5194 exploited in the wild?

It is not in the CISA KEV catalog as of 2026-11-16 (catalog version 2026.11.13), and FIRST EPSS gives it 0.0058, the 48.3rd percentile, in the 2026-11-15 dataset (per CISA KEV and FIRST EPSS).