Home » Database

AVID-2026-R1521

Description

llama.cpp allows write-what-where in rpc_server::set_tensor (CVE-2024-42479)

Details

llama.cpp provides LLM inference in C/C++. The unsafe data pointer member in the rpc_tensor structure can cause arbitrary address writing. This vulnerability is fixed in b3561.

Reason for inclusion in AVID: CVE-2024-42479 describes a write-what-where vulnerability in llama.cpp (rpc_server::set_tensor) enabling arbitrary memory writes. The issue concerns AI software (LLM inference with llama.cpp), is in a component used to deploy/run general-purpose AI systems, is a security vulnerability (RCE/ tampering potential per CVSS), and the report provides explicit signals (CVE, description, fix commit, references). Therefore it meets all AVID criteria for inclusion in AI supply-chain vulnerability curation.

References

Affected or Relevant Artifacts

  • Developer: Meta
  • Deployer: ggerganov
  • Artifact Details:
TypeName
Systemllama.cpp

Impact

AVID Taxonomy Categorization

  • Risk domains: Security
  • SEP subcategories: S0100: Software Vulnerability
  • Lifecycle stages: L06: Deployment

CVSS

Version3.1
Vector StringCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Base Score10.0
Base Severity🔴 Critical
Attack VectorNETWORK
Attack Complexity🟢 Low
Privileges RequiredNONE
User InteractionNONE
ScopeCHANGED
Confidentiality Impact🔴 High
Integrity Impact🔴 High
Availability Impact🔴 High

CWE

IDDescription
CWE-123CWE-123: Write-what-where Condition

Other information

  • Report Type: Advisory
  • Credits:
  • Date Reported: 2024-08-12
  • Version: 0.3.3
  • AVID Entry