[Midnightbsd-cvs] [MidnightBSD/src] 5b8c9f: ncurses: fix CVE-2025-6141 buffer overflow in post...
Lucas Holt
noreply at github.com
Wed Jun 10 22:24:04 EDT 2026
Branch: refs/heads/master
Home: https://github.com/MidnightBSD/src
Commit: 5b8c9f01c818a843a22585e6726016b3e0f2a958
https://github.com/MidnightBSD/src/commit/5b8c9f01c818a843a22585e6726016b3e0f2a958
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-06-10 (Wed, 10 Jun 2026)
Changed paths:
M contrib/ncurses/ncurses/tinfo/parse_entry.c
Log Message:
-----------
ncurses: fix CVE-2025-6141 buffer overflow in postprocess_termcap
Backport buffer-limit check from ncurses 6.5-20250329 (fix by
Thomas Dickey, report/testcase by Yifan Zhang).
The ko capability processing loop in postprocess_termcap() copies
termcap string values into buf2[MAX_TERMINFO_LENGTH] without bounds
checking, allowing a stack-based buffer overflow via a crafted
termcap entry.
Co-Authored-By: Claude Sonnet 4.6 <noreply at anthropic.com>
Commit: 8642903f2bf2944ce692d4cff0e599cb127a7d73
https://github.com/MidnightBSD/src/commit/8642903f2bf2944ce692d4cff0e599cb127a7d73
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-06-10 (Wed, 10 Jun 2026)
Changed paths:
M UPDATING
Log Message:
-----------
UPDATING: note ncurses CVE-2025-6141
Co-Authored-By: Claude Sonnet 4.6 <noreply at anthropic.com>
Compare: https://github.com/MidnightBSD/src/compare/21fef6098a65...8642903f2bf2
To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/src/settings/notifications
More information about the Midnightbsd-cvs
mailing list