# CVE-2026-5501: Improper Certificate Signature Verification in X.509 Chain Validation Allows Forged Leaf Certificates

- Severity: High 8.6 (CVSS:4.0, scored by wolfSSL) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 27% of CVEs (2026-12-02)
- Published: 2026-04-10T03:07:39.604Z
- Modified: 2026-06-17T10:59:07.810Z
- Weaknesses: CWE-295
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: wolfSSL

## Description

wolfSSL_X509_verify_cert in the OpenSSL compatibility layer accepts a certificate chain in which the leaf's signature is not checked, if the attacker supplies an untrusted intermediate with Basic Constraints `CA:FALSE` that is legitimately signed by a trusted root. An attacker who obtains any leaf certificate from a trusted CA (e.g. a free DV cert from Let's Encrypt) can forge a certificate for any subject name with any public key and arbitrary signature bytes, and the function returns `WOLFSSL_SUCCESS` / `X509_V_OK`. The native wolfSSL TLS handshake path (`ProcessPeerCerts`) is not susceptible and the issue is limited to applications using the OpenSSL compatibility API directly, which would include integrations of wolfSSL into nginx and haproxy.

(As written by CVE List.)

## Affected

- wolfSSL wolfSSL: up to 5.9.0

## Every score

- wolfSSL: CVSS:4.0 8.6 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/wolfSSL/wolfssl/pull/10102> (issue-tracking)

## Sources

- CVE List: [CVE-2026-5501](https://www.cve.org/CVERecord?id=CVE-2026-5501), CVE Terms of Use, modified 2026-04-22
- NVD: [CVE-2026-5501](https://nvd.nist.gov/vuln/detail/CVE-2026-5501), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-5501 · Whole record: https://cve.day/CVE-2026-5501.json · Rebuilt by cve.day 2026-11-25T22:59:18.477Z
