CVE-2025-53630

Integer Overflow in GGUF Parser can lead to Heap Out-of-Bounds Read/Write in gguf

Published Jul 10, 2025 CVSS 4.0 · 8.9 High EPSS < 1% KEV · Not listed
Description
llama.cpp is an inference of several LLM models in C/C++. Integer Overflow in the gguf_init_from_file_impl function in ggml/src/gguf.cpp can lead to Heap Out-of-Bounds Read/Write. This vulnerability is fixed in commit 26a48ad699d50b6268900062661bd22f3e792579.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-21070 llama.cpp is an inference of several LLM models in C/C++. Integer Overflow in the gguf_init_from_file_impl function in ggml/src/gguf.cpp can lead to Heap Out-of-Bounds Read/Write. This vulnerability is fixed in commit 26a48ad699d50b6268900062661bd22f3e792579.
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00042}

epss

{'score': 0.00055}

Type Values Removed Values Added
Metrics epss

{'score': 0.00042}

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 llama.cpp is an inference of several LLM models in C/C++. Integer Overflow in the gguf_init_from_file_impl function in ggml/src/gguf.cpp can lead to Heap Out-of-Bounds Read/Write. This vulnerability is fixed in commit 26a48ad699d50b6268900062661bd22f3e792579.
Title Integer Overflow in GGUF Parser can lead to Heap Out-of-Bounds Read/Write in gguf
Weaknesses CWE-122
CWE-680
References
Metrics cvssV4_0

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

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 10, 2025, 8:31 PM
Reserved
Jul 7, 2025, 2:20 PM
Status
Deferred
Published
Jul 10, 2025, 8:15 PM
Modified
Jun 17, 2026, 9:38 AM