CVE-2026-34610
Description
A flaw was found in the leancrypto cryptographic library. A remote attacker can exploit an integer overflow vulnerability in the lc_x509_extract_name_segment() function when processing the Common Name (CN) field of an X.509 certificate. By crafting a specially designed certificate, an attacker can cause the system to incorrectly match their certificate's CN with a victim's, leading to identity impersonation. This can impact the integrity of PKCS#7 (Public-Key Cryptography Standards #7) verification, certificate chain matching, and code signing processes.
Statement
Red Hat Product Security has determined that this vulnerability does not affect any currently supported Red Hat product. This assessment may evolve based on further analysis and discovery. For more information about this vulnerability and the products it affects, please see the linked references.
Understanding the Weakness (CWE)
Other,Integrity
Technical Impact: Unexpected State; Quality Degradation
The program could wind up using the wrong number and generate incorrect results. If the number is used to allocate resources or make a security decision, then this could introduce a vulnerability.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.