Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-34610

published medium CVSS 3.1 · 5.9

leancrypto: Integer truncation in X.509 name parser enables certificate identity impersonation

Published
02 Apr 2026, 17:54:53 UTC
Updated
03 Apr 2026, 17:25:10 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
smuellerDD — leancrypto< 1.7.1 Affected Not stated GitHub_M
SUSE / openSUSE SLE-16 leancrypto-develaarch64 Advisory build 1.7.2-160000.1.1 SUSE-SU-2026:21824-1
SUSE / openSUSE SLE-16 leancrypto-develppc64le Advisory build 1.7.2-160000.1.1 SUSE-SU-2026:21824-1
SUSE / openSUSE SLE-16 leancrypto-devels390x Advisory build 1.7.2-160000.1.1 SUSE-SU-2026:21824-1
SUSE / openSUSE SLE-16 leancrypto-develx86_64 Advisory build 1.7.2-160000.1.1 SUSE-SU-2026:21824-1
SUSE / openSUSE SLE-16 leancrypto-devel-staticaarch64 Advisory build 1.7.2-160000.1.1 SUSE-SU-2026:21824-1
SUSE / openSUSE SLE-16 leancrypto-devel-staticppc64le Advisory build 1.7.2-160000.1.1 SUSE-SU-2026:21824-1
SUSE / openSUSE SLE-16 leancrypto-devel-statics390x Advisory build 1.7.2-160000.1.1 SUSE-SU-2026:21824-1
Show 70 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE SLE-16 leancrypto-devel-staticx86_64 Advisory build 1.7.2-160000.1.1 SUSE-SU-2026:21824-1
SUSE / openSUSE SLE-16 leancrypto-toolsaarch64 Advisory build 1.7.2-160000.1.1 SUSE-SU-2026:21824-1
SUSE / openSUSE SLE-16 leancrypto-toolsppc64le Advisory build 1.7.2-160000.1.1 SUSE-SU-2026:21824-1
SUSE / openSUSE SLE-16 leancrypto-toolss390x Advisory build 1.7.2-160000.1.1 SUSE-SU-2026:21824-1
SUSE / openSUSE SLE-16 leancrypto-toolsx86_64 Advisory build 1.7.2-160000.1.1 SUSE-SU-2026:21824-1
SUSE / openSUSE SLE-16 libleancrypto-fips1aarch64 Advisory build 1.7.2-160000.1.1 SUSE-SU-2026:21824-1
SUSE / openSUSE SLE-16 libleancrypto-fips1ppc64le Advisory build 1.7.2-160000.1.1 SUSE-SU-2026:21824-1
SUSE / openSUSE SLE-16 libleancrypto-fips1s390x Advisory build 1.7.2-160000.1.1 SUSE-SU-2026:21824-1
SUSE / openSUSE SLE-16 libleancrypto-fips1x86_64 Advisory build 1.7.2-160000.1.1 SUSE-SU-2026:21824-1
SUSE / openSUSE SLE-16 libleancrypto1aarch64 Advisory build 1.7.2-160000.1.1 SUSE-SU-2026:21824-1
SUSE / openSUSE SLE-16 libleancrypto1ppc64le Advisory build 1.7.2-160000.1.1 SUSE-SU-2026:21824-1
SUSE / openSUSE SLE-16 libleancrypto1s390x Advisory build 1.7.2-160000.1.1 SUSE-SU-2026:21824-1
SUSE / openSUSE SLE-16 libleancrypto1x86_64 Advisory build 1.7.2-160000.1.1 SUSE-SU-2026:21824-1
SUSE / openSUSE openSUSE-Leap-16.0 leancrypto-develaarch64 Advisory build 1.7.2-160000.1.1 OPENSUSE-SU-2026:20783-1
SUSE / openSUSE openSUSE-Leap-16.0 leancrypto-develppc64le Advisory build 1.7.2-160000.1.1 OPENSUSE-SU-2026:20783-1
SUSE / openSUSE openSUSE-Leap-16.0 leancrypto-devels390x Advisory build 1.7.2-160000.1.1 OPENSUSE-SU-2026:20783-1
SUSE / openSUSE openSUSE-Leap-16.0 leancrypto-develx86_64 Advisory build 1.7.2-160000.1.1 OPENSUSE-SU-2026:20783-1
SUSE / openSUSE openSUSE-Leap-16.0 leancrypto-devel-staticaarch64 Advisory build 1.7.2-160000.1.1 OPENSUSE-SU-2026:20783-1
SUSE / openSUSE openSUSE-Leap-16.0 leancrypto-devel-staticppc64le Advisory build 1.7.2-160000.1.1 OPENSUSE-SU-2026:20783-1
SUSE / openSUSE openSUSE-Leap-16.0 leancrypto-devel-statics390x Advisory build 1.7.2-160000.1.1 OPENSUSE-SU-2026:20783-1
SUSE / openSUSE openSUSE-Leap-16.0 leancrypto-devel-staticx86_64 Advisory build 1.7.2-160000.1.1 OPENSUSE-SU-2026:20783-1
SUSE / openSUSE openSUSE-Leap-16.0 leancrypto-kmp-64kbaarch64 Advisory build 1.7.2_k6.12.0_160000.32-160000.1.1 OPENSUSE-SU-2026:20783-1
SUSE / openSUSE openSUSE-Leap-16.0 leancrypto-kmp-defaultaarch64 Advisory build 1.7.2_k6.12.0_160000.32-160000.1.1 OPENSUSE-SU-2026:20783-1
SUSE / openSUSE openSUSE-Leap-16.0 leancrypto-kmp-defaultppc64le Advisory build 1.7.2_k6.12.0_160000.32-160000.1.1 OPENSUSE-SU-2026:20783-1
SUSE / openSUSE openSUSE-Leap-16.0 leancrypto-kmp-defaults390x Advisory build 1.7.2_k6.12.0_160000.32-160000.1.1 OPENSUSE-SU-2026:20783-1
SUSE / openSUSE openSUSE-Leap-16.0 leancrypto-kmp-defaultx86_64 Advisory build 1.7.2_k6.12.0_160000.32-160000.1.1 OPENSUSE-SU-2026:20783-1
SUSE / openSUSE openSUSE-Leap-16.0 leancrypto-toolsaarch64 Advisory build 1.7.2-160000.1.1 OPENSUSE-SU-2026:20783-1
SUSE / openSUSE openSUSE-Leap-16.0 leancrypto-toolsppc64le Advisory build 1.7.2-160000.1.1 OPENSUSE-SU-2026:20783-1
SUSE / openSUSE openSUSE-Leap-16.0 leancrypto-toolss390x Advisory build 1.7.2-160000.1.1 OPENSUSE-SU-2026:20783-1
SUSE / openSUSE openSUSE-Leap-16.0 leancrypto-toolsx86_64 Advisory build 1.7.2-160000.1.1 OPENSUSE-SU-2026:20783-1
SUSE / openSUSE openSUSE-Leap-16.0 libleancrypto-fips1aarch64 Advisory build 1.7.2-160000.1.1 OPENSUSE-SU-2026:20783-1
SUSE / openSUSE openSUSE-Leap-16.0 libleancrypto-fips1ppc64le Advisory build 1.7.2-160000.1.1 OPENSUSE-SU-2026:20783-1
SUSE / openSUSE openSUSE-Leap-16.0 libleancrypto-fips1s390x Advisory build 1.7.2-160000.1.1 OPENSUSE-SU-2026:20783-1
SUSE / openSUSE openSUSE-Leap-16.0 libleancrypto-fips1x86_64 Advisory build 1.7.2-160000.1.1 OPENSUSE-SU-2026:20783-1
SUSE / openSUSE openSUSE-Leap-16.0 libleancrypto1aarch64 Advisory build 1.7.2-160000.1.1 OPENSUSE-SU-2026:20783-1
SUSE / openSUSE openSUSE-Leap-16.0 libleancrypto1ppc64le Advisory build 1.7.2-160000.1.1 OPENSUSE-SU-2026:20783-1
SUSE / openSUSE openSUSE-Leap-16.0 libleancrypto1s390x Advisory build 1.7.2-160000.1.1 OPENSUSE-SU-2026:20783-1
SUSE / openSUSE openSUSE-Leap-16.0 libleancrypto1x86_64 Advisory build 1.7.2-160000.1.1 OPENSUSE-SU-2026:20783-1
SUSE / openSUSE openSUSE-Tumbleweed leancrypto-develaarch64 Advisory build 1.7.2-1.1 OPENSUSE-SU-2026:10563-1
SUSE / openSUSE openSUSE-Tumbleweed leancrypto-develppc64le Advisory build 1.7.2-1.1 OPENSUSE-SU-2026:10563-1
SUSE / openSUSE openSUSE-Tumbleweed leancrypto-devels390x Advisory build 1.7.2-1.1 OPENSUSE-SU-2026:10563-1
SUSE / openSUSE openSUSE-Tumbleweed leancrypto-develx86_64 Advisory build 1.7.2-1.1 OPENSUSE-SU-2026:10563-1
SUSE / openSUSE openSUSE-Tumbleweed leancrypto-devel-32bitaarch64 Advisory build 1.7.2-1.1 OPENSUSE-SU-2026:10563-1
SUSE / openSUSE openSUSE-Tumbleweed leancrypto-devel-32bitppc64le Advisory build 1.7.2-1.1 OPENSUSE-SU-2026:10563-1
SUSE / openSUSE openSUSE-Tumbleweed leancrypto-devel-32bits390x Advisory build 1.7.2-1.1 OPENSUSE-SU-2026:10563-1
SUSE / openSUSE openSUSE-Tumbleweed leancrypto-devel-32bitx86_64 Advisory build 1.7.2-1.1 OPENSUSE-SU-2026:10563-1
SUSE / openSUSE openSUSE-Tumbleweed leancrypto-devel-staticaarch64 Advisory build 1.7.2-1.1 OPENSUSE-SU-2026:10563-1
SUSE / openSUSE openSUSE-Tumbleweed leancrypto-devel-staticppc64le Advisory build 1.7.2-1.1 OPENSUSE-SU-2026:10563-1
SUSE / openSUSE openSUSE-Tumbleweed leancrypto-devel-statics390x Advisory build 1.7.2-1.1 OPENSUSE-SU-2026:10563-1
SUSE / openSUSE openSUSE-Tumbleweed leancrypto-devel-staticx86_64 Advisory build 1.7.2-1.1 OPENSUSE-SU-2026:10563-1
SUSE / openSUSE openSUSE-Tumbleweed leancrypto-toolsaarch64 Advisory build 1.7.2-1.1 OPENSUSE-SU-2026:10563-1
SUSE / openSUSE openSUSE-Tumbleweed leancrypto-toolsppc64le Advisory build 1.7.2-1.1 OPENSUSE-SU-2026:10563-1
SUSE / openSUSE openSUSE-Tumbleweed leancrypto-toolss390x Advisory build 1.7.2-1.1 OPENSUSE-SU-2026:10563-1
SUSE / openSUSE openSUSE-Tumbleweed leancrypto-toolsx86_64 Advisory build 1.7.2-1.1 OPENSUSE-SU-2026:10563-1
SUSE / openSUSE openSUSE-Tumbleweed libleancrypto-fips1aarch64 Advisory build 1.7.2-1.1 OPENSUSE-SU-2026:10563-1
SUSE / openSUSE openSUSE-Tumbleweed libleancrypto-fips1ppc64le Advisory build 1.7.2-1.1 OPENSUSE-SU-2026:10563-1
SUSE / openSUSE openSUSE-Tumbleweed libleancrypto-fips1s390x Advisory build 1.7.2-1.1 OPENSUSE-SU-2026:10563-1
SUSE / openSUSE openSUSE-Tumbleweed libleancrypto-fips1x86_64 Advisory build 1.7.2-1.1 OPENSUSE-SU-2026:10563-1
SUSE / openSUSE openSUSE-Tumbleweed libleancrypto-fips1-32bitaarch64 Advisory build 1.7.2-1.1 OPENSUSE-SU-2026:10563-1
SUSE / openSUSE openSUSE-Tumbleweed libleancrypto-fips1-32bitppc64le Advisory build 1.7.2-1.1 OPENSUSE-SU-2026:10563-1
SUSE / openSUSE openSUSE-Tumbleweed libleancrypto-fips1-32bits390x Advisory build 1.7.2-1.1 OPENSUSE-SU-2026:10563-1
SUSE / openSUSE openSUSE-Tumbleweed libleancrypto-fips1-32bitx86_64 Advisory build 1.7.2-1.1 OPENSUSE-SU-2026:10563-1
SUSE / openSUSE openSUSE-Tumbleweed libleancrypto1aarch64 Advisory build 1.7.2-1.1 OPENSUSE-SU-2026:10563-1
SUSE / openSUSE openSUSE-Tumbleweed libleancrypto1ppc64le Advisory build 1.7.2-1.1 OPENSUSE-SU-2026:10563-1
SUSE / openSUSE openSUSE-Tumbleweed libleancrypto1s390x Advisory build 1.7.2-1.1 OPENSUSE-SU-2026:10563-1
SUSE / openSUSE openSUSE-Tumbleweed libleancrypto1x86_64 Advisory build 1.7.2-1.1 OPENSUSE-SU-2026:10563-1
SUSE / openSUSE openSUSE-Tumbleweed libleancrypto1-32bitaarch64 Advisory build 1.7.2-1.1 OPENSUSE-SU-2026:10563-1
SUSE / openSUSE openSUSE-Tumbleweed libleancrypto1-32bitppc64le Advisory build 1.7.2-1.1 OPENSUSE-SU-2026:10563-1
SUSE / openSUSE openSUSE-Tumbleweed libleancrypto1-32bits390x Advisory build 1.7.2-1.1 OPENSUSE-SU-2026:10563-1
SUSE / openSUSE openSUSE-Tumbleweed libleancrypto1-32bitx86_64 Advisory build 1.7.2-1.1 OPENSUSE-SU-2026:10563-1

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

3

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
5.9 / 10
Severity
medium
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
smuellerDD leancrypto < 1.7.1 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-681 CWE-681: Incorrect Conversion between Numeric Types (GitHub_M · cna)

References

3

Provider assertions

2

GitHub_M · cna

leancrypto: Integer truncation in X.509 name parser enables certificate identity impersonation

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
44d7e58e81e7b3a4f1357319d9e5283ee84071d96a415b0a309ffbcb3424e0f9
Ingested
23 Sep 2026, 09:11:13 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected