Home » Database

AVID-2026-R1519

Description

llama.cpp global-buffer-overflow in ggml_type_size (CVE-2024-42477)

Details

llama.cpp provides LLM inference in C/C++. The unsafe type member in the rpc_tensor structure can cause global-buffer-overflow. This vulnerability may lead to memory data leakage. The vulnerability is fixed in b3561.

Reason for inclusion in AVID: CVE-2024-42477 describes a global-buffer-overflow vulnerability in llama.cpp (ggml_type_size) that can lead to memory data leakage. llama.cpp is a core AI inference library used to deploy/general-purpose AI models. This fits the software supply chain domain for AI systems (dependencies/runtime used to run models). The issue is a security vulnerability (memory safety) with an available fix. The CVE and advisory provide sufficient signals for AVID 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:U/C:L/I:N/A:N
Base Score5.3
Base Severity🟠 Medium
Attack VectorNETWORK
Attack Complexity🟢 Low
Privileges RequiredNONE
User InteractionNONE
ScopeUNCHANGED
Confidentiality Impact🟢 Low
Integrity ImpactNONE
Availability ImpactNONE

CWE

IDDescription
CWE-125CWE-125: Out-of-bounds Read

Other information

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