CVE-2026-34610
CVE-2026-34610 is a medium-severity vulnerability in Leancrypto with a CVSS 3.x base score of 5.9. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-681.
Key facts
- Severity: Medium (CVSS 3.x base score 5.9)
- EPSS exploit prediction: 0% (6th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-18466
- Weakness: CWE-681
- Affected product: Leancrypto
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is CVE-2026-34610?
- 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.
- How severe is CVE-2026-34610?
- CVE-2026-34610 has a CVSS 3.x base score of 5.9, rated medium severity. It is exploitable over network with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity high, and availability none.
- Is CVE-2026-34610 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (6th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-34610?
- CVE-2026-34610 affects Leancrypto. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-34610?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2026-34610 have an EU (EUVD) identifier?
- Yes. CVE-2026-34610 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-18466.
- When was CVE-2026-34610 published?
- CVE-2026-34610 was published on 2026-04-02 and last updated on 2026-06-17.
References
- https://github.com/smuellerDD/leancrypto/commit/5cdcbe12bd6c3d6e87e969972a580b44a74c3a6a
- https://github.com/smuellerDD/leancrypto/releases/tag/v1.7.1
- https://github.com/smuellerDD/leancrypto/security/advisories/GHSA-636g-jxv4-v4gr
Affected products (1)
- cpe:2.3:a:leancrypto:leancrypto:*:*:*:*:*:*:*:*
Other CWE-681 vulnerabilities
- CVE-2022-40138 — Critical (CVSS 9.8): An integer conversion error in Hermes bytecode generation, prior to commit 6aa825e480d48127b480b08d13adf70033237097,…
- CVE-2021-36357 — Critical (CVSS 9.8): An issue was discovered in OpenPOWER 2.6 firmware. unpack_timestamp() calls le32_to_cpu() for endian conversion of a…
- CVE-2021-38187 — Critical (CVSS 9.8): An issue was discovered in the anymap crate through 0.12.1 for Rust. It violates soundness via conversion of a *u8 to a…
- CVE-2019-19317 — Critical (CVSS 9.8): lookupName in resolve.c in SQLite 3.30.1 omits bits from the colUsed bitmask in the case of a generated column, which…
- CVE-2019-14842 — Critical (CVSS 9.8): Structured reply is a feature of the newstyle NBD protocol allowing the server to send a reply in chunks. A bounds…
- CVE-2018-8786 — Critical (CVSS 9.8): FreeRDP prior to version 2.0.0-rc4 contains an Integer Truncation that leads to a Heap-Based Buffer Overflow in…