Approved changes feed: RSS · Atom

cpe:2.3:a:leancrypto:leancrypto:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorLeancrypto (c78c5420-d8d2-563e-bce0-039692e56c80)
ProductLeancrypto (5c3aa348-3281-58e1-85d9-52566b8df61c)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*

Notes

Imported from gcve-enriched-dumps CVE data

PURL mappings

PURLSourceLast updated
No PURL mappings for this CPE yet.

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2026-34610 vulnerable 2026-06-08 07:59:12.763400 leancrypto: Integer truncation in X.509 name parser enables certificate identity impersonation
MEDIUM (5.9)
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.
Published: 2026-04-02T17:54:53.250Z
Updated: 2026-04-03T17:25:10.195Z
Reference links
Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.

Inspect record JSON

Open JSON directly

Open this panel to browse, search, copy or download the JSON record.