CVE-2026-13573

llvm llvm-project ValueSymbolTable ValueSymbolTable.cpp insert stack-based overflow

Published Jun 29, 2026 CVSS 4.0 · 4.8 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

A vulnerability exists in llvm-project up to version 22.1.6, affecting the llvm::StringMap::insert function in ValueSymbolTable.cpp. Manipulating the input to this function can trigger a stack-based buffer overflow. Local execution is required, and the exploit is publicly available. However, the LLVM project states that the observed behavior falls outside its documented security scope and is not considered a formal security vulnerability, and the existence of the flaw remains uncertain. If the overflow succeeds, it could lead to local code execution or cause the application to crash.

Affected Systems

Vendors: llvm. Products: llvm-project (component ValueSymbolTable). Any installation of llvm-project earlier than or equal to release 22.1.6 is susceptible.

Risk and Exploitability

The CVSS score of 4.8 indicates moderate severity. The EPSS score of < 1% indicates a very low probability of exploitation, and the vulnerability is not listed in CISA’s KEV catalog. Based on the description, it is inferred that the stack-based buffer overflow could result in local code execution or denial of service through crashes. Local access is required, and a publicly available exploit exists, making it a realistic threat for systems that allow local users to invoke the affected component. The LLVM project’s statement that the issue falls outside its documented security scope and is not officially regarded as a security vulnerability may influence how the incident is handled.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest LLVM patch or upgrade to a version where the stack-based buffer overflow in ValueSymbolTable is fixed; this addresses CWE-119, CWE-120, and CWE-121.
  • If an immediate upgrade cannot be performed, perform strict input validation on any keys passed to llvm::StringMap::insert, ensuring they are within acceptable length limits and free of null bytes; this mitigates CWE-120 and provides bounds checking for CWE-119.
  • Restrict local access to the components that use ValueSymbolTable, run them under the least privileged user, and avoid exposing them to untrusted input that could trigger insert; this limits risk from potential local code execution (CWE-121).
  • Continuously monitor the application for abnormal crashes or memory corruption patterns, log exploit attempts, and apply any vendor security advisories as soon as they are released.

Generated by OpenCVE AI on August 2, 2026 at 01:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
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 project was informed of the problem early through an issue report but has not responded yet. 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.
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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 project was informed of the problem early through an issue report but has not responded yet.
Title llvm llvm-project ValueSymbolTable ValueSymbolTable.cpp insert stack-based overflow
First Time appeared Llvm
Llvm llvm-project
Weaknesses CWE-119
CWE-121
CPEs cpe:2.3:a:llvm:llvm-project:*:*:*:*:*:*:*:*
Vendors & Products Llvm
Llvm llvm-project
References
Metrics cvssV2_0

{'score': 1.7, 'vector': 'AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 3.3, 'vector': 'CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 4.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-120

    Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

  • CWE-121

    Stack-based Buffer Overflow

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Jul 7, 2026, 2:32 PM
Reserved
Jun 28, 2026, 6:47 PM
Status
Deferred
Published
Jun 29, 2026, 3:16 PM
Modified
Oct 25, 2026, 9:10 PM
Severity
Low
Public date
Jun 29, 2026, 2:00 PM