CVE Explorer
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 cert
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"leancrypto","vendor":"smuellerDD","versions":[{"status":"affected","version":"< 1.7.1"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:04a40b49fc95a2d7715b15702578aa49eaea5f75786b143ca0480a233e5463fa · sha256:5cb554d8557967c4… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:04a40b49fc95a2d7715b15702578aa49eaea5f75786b143ca0480a233e5463fa · sha256:5cb554d8557967c4… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-681","description":"CWE-681: Incorrect Conversion between Numeric Types","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:04a40b49fc95a2d7715b15702578aa49eaea5f75786b143ca0480a233e5463fa · sha256:5cb554d8557967c4… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/smuellerDD/leancrypto/commit/5cdcbe12bd6c3d6e87e969972a580b44a74c3a6a","tags":["x_refsource_MISC"],"url":"https://github.com/smuellerDD/leancrypto/commit/5cdcbe12bd6c3d6e87e969972a580b44a74c3a6a"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:04a40b49fc95a2d7715b15702578aa49eaea5f75786b143ca0480a233e5463fa · sha256:5cb554d8557967c4… · /containers/cna/references/1
{"name":"https://github.com/smuellerDD/leancrypto/releases/tag/v1.7.1","tags":["x_refsource_MISC"],"url":"https://github.com/smuellerDD/leancrypto/releases/tag/v1.7.1"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:04a40b49fc95a2d7715b15702578aa49eaea5f75786b143ca0480a233e5463fa · sha256:5cb554d8557967c4… · /containers/cna/references/2
{"name":"https://github.com/smuellerDD/leancrypto/security/advisories/GHSA-636g-jxv4-v4gr","tags":["x_refsource_CONFIRM"],"url":"https://github.com/smuellerDD/leancrypto/security/advisories/GHSA-636g-jxv4-v4gr"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:04a40b49fc95a2d7715b15702578aa49eaea5f75786b143ca0480a233e5463fa · sha256:5cb554d8557967c4… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.