CVE-2026-13573 Details
Description
A vulnerability was found in llvm llvm-project up to 22.1.6. This affects the function llvm::StringMap::insert in the library /lib/IR/ValueSymbolTable.cpp of the component ValueSymbolTable Module. The manipulation results in stack-based buffer overflow. Attacking locally is a requirement. The exploit has been made public and could be used. The presence of this vulnerability remains uncertain at this time. The LLVM project explains, that the reported behavior is outside its documented security scope and therefore not considered a security vulnerability.
A stack-based buffer overflow vulnerability has been identified in the LLVM project, specifically in versions through 22.1.6. The issue arises in the ValueSymbolTable module, within the function 'llvm::StringMap::insert', located in 'ValueSymbolTable.cpp'. This vulnerability is triggered when the compiler's optimization settings interfere with the accurate debugging of inlined functions, leading to a miscalculation of stack offsets. As a result, a malformed bitcode file can cause an out-of-bounds write, creating a potential for exploitation. The vulnerability requires local access to be exploited.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 29, 2026CISA-ADP
Assessed Jun 29, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/llvm/llvm-project/ | [email protected] | Source CodeVendor |
| https://github.com/llvm/llvm-project/issues/199187 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/user-attachments/files/28141697/poc.zip | [email protected] | Broken LinkExploit |
| https://vuldb.com/cve/CVE-2026-13573 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/844457 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/374581 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/374581/cti | [email protected] | AdvisoryPermission Required |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | [email protected] |
| CWE-121 | Stack-based Buffer Overflow | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| LLVM | <= 22.1.6 (semver) |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 25, 2026 | CVE Translated | [email protected] |
| Jul 7, 2026 | CVE Modified | [email protected] |
| Jun 29, 2026 | CVE Modified | CISA-ADP |
| Jun 29, 2026 | New CVE Received | [email protected] |
Volerion