Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-34610: The leancrypto library is a cryptographic library that exclusively contains only PQC-resistant cryptographic a

27
Routine
MEDIUM 5.9REMOTEUPGRADE

CVE-2026-34610 is a medium-severity flaw (CVSS 5.9) affecting leancrypto. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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 vic

Why this priority

  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score5.9 (Medium)
Attack vectorNetwork (remote)
Attack complexityHigh
Privileges neededNone
User interactionNone
EPSS exploit chance0.2% (top 95%)
CISA exploited listNo
WeaknessCWE-681
Published2026-04-02
Last modified2026-07-24
Publisher (CNA): GitHub, Inc. · Vendor: leancrypto

Share: LinkedIn · X · Reddit

Last updated 2026-07-24 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

leancrypto leancrypto UPGRADE
Affected: < 1.7.1
Fixed in: 1.7.1
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy leancrypto || rpm -q leancrypto || leancrypto --version
2. UPGRADE to 1.7.1 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade leancrypto
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade leancrypto
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-34610?

leancrypto: upgrade to 1.7.1. Exact commands for each OS are on this page.

Is CVE-2026-34610 being exploited?

CVE-2026-34610 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-34610 affect?

CVE-2026-34610 affects leancrypto. Severity is medium (CVSS 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) l

How urgent is CVE-2026-34610?

Priority 27/100. Remotely exploitable, no login, no user action

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.