Integer Overflow or Wraparound Affecting llama-cpp package, versions [0,]


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.11% (31st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CONAN-LLAMACPP-10078642
  • published8 May 2025
  • disclosed26 Feb 2024
  • creditFrancesco Benvenuto

Introduced: 26 Feb 2024

CVE-2024-23496  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

There is no fixed version for llama-cpp.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound due to the gguf_fread_str functionality. An attacker can execute code by providing a malicious .gguf file.

CVSS Base Scores

version 3.1