Bug 2507585

Summary: CVE-2026-17501 llama-cpp: llama.cpp: Denial of Service due to resource allocation manipulation in JSON-Schema-to-GBNF Conversion [fedora-all]
Product: [Fedora] Fedora Reporter: Thibault Guittet <tguittet>
Component: llama-cppAssignee: Tom.Rix
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 45CC: Man2Dev, rocm-packagers-sig, Tom.Rix
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["ee685f37-2da9-4f5a-b80f-00b7894f3d3a"]}
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2507392    

Description Thibault Guittet 2026-07-27 17:23:44 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

A flaw has been found in ggml-org llama.cpp e15efe0. This vulnerability affects the function transform of the file common/json-schema-to-grammar.cpp of the component JSON-Schema-to-GBNF Conversion. This manipulation causes allocation of resources. The attack may be initiated remotely. The pull request to fix this issue awaits acceptance.

Comment 1 Aoife Moloney 2026-08-17 15:37:40 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 45 development cycle.
Changing version to 45.