CVE-2026-34610Leancrypto · Leancrypto
Vulnerability data via NVD (ingested)
The leancrypto library is a cryptographic library that exclusively contains only PQC-resistant cryptographic algorithms. Prior to version 1.7.1, lc_x509_extract_name_segment() casts size_t vlen to uint8_t when storing the Common Name (CN) length. An attacker who crafts a certificate with CN = victim's CN + 256 bytes padding gets cn_size = (uint8_t)(256 + N) = N, where N is the victim's CN length. The first N bytes of the attacker's CN are the victim's identity. After parsing, the attacker's certificate has an identical CN to the victim's — enabling identity impersonation in PKCS#7 verification, certificate chain matching, and code signing. This issue has been patched in version 1.7.1.
External references
Search for exposed instances
Shodan + Censys queries derived from NVD's CPE data. The vuln tag catches assets Shodan has explicitly linked to this CVE; the product / banner fingerprints find exposed instances even when the vuln tag was never applied (which is common).
vuln:CVE-2026-34610product:"Leancrypto Leancrypto"http.html:"Leancrypto"More intel sources (5)
vuln:CVE-2026-34610vulnerabilities.cve_id: CVE-2026-34610CVE-2026-34610CVE-2026-34610"CVE-2026-34610" exploit -site:nvd.nist.gov