llama.cpp
server: fix heap-buffer-overflow from negative n_discard (CVE-2026-21869)
#22267
Merged

server: fix heap-buffer-overflow from negative n_discard (CVE-2026-21869) #22267

SongTonyLi
SongTonyLi server: clamp n_discard to non-negative at JSON parse boundary (CVE-2…
b3934041
SongTonyLi SongTonyLi requested a review 192 days ago
github-actions github-actions added examples
github-actions github-actions added server
ggml-gh-bot
SongTonyLi
ggerganov
ggerganov commented on 2026-04-23
ggerganov cont : cleaner
65411077
ggerganov
ggerganov commented on 2026-04-23
ggerganov cont : cleanerer
17d9c648
ggerganov
ggerganov commented on 2026-04-23
ggerganov cont : cleanest
6d6ddff6
ggerganov ggerganov added merge ready
ngxson
ngxson approved these changes on 2026-04-23
ServeurpersoCom
ServeurpersoCom approved these changes on 2026-04-23
SongTonyLi
ServeurpersoCom ServeurpersoCom merged c78fb909 into master 192 days ago
ServeurpersoCom
SongTonyLi
SongTonyLi
SongTonyLi SongTonyLi deleted the fix/cve-2026-21869-n_discard-clamp branch 192 days ago
SongTonyLi
ServeurpersoCom

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone