{"id":"CVE-2026-5501","published":"2026-04-10T03:07:39Z","modified":"2026-04-22T13:59:28Z","title":"Improper Certificate Signature Verification in X.509 Chain Validation Allows Forged Leaf Certificates","vendor":"wolfSSL","product":"wolfSSL","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.6,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00324,"percentile":0.26065,"provenance":"source"},"cwes":[{"id":"CWE-295","name":"Improper Certificate Validation"}],"references":[{"url":"https://github.com/wolfSSL/wolfssl/pull/10102","tags":[]}],"priority":{"score":11.2,"factors":[{"name":"EPSS percentile","points":5.21},{"name":"CVSS severity","points":6.02}]},"vendorSlug":"wolfssl","affectedVersions":[{"vendor":"wolfSSL","product":"wolfSSL","versions":["<= 5.9.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-04-22T03:55:48.544190Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-21294","exploited":false,"provenance":"source"}}