CVE-2025-6141
gnu-ncurses: ncurses Stack Buffer Overflow
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · June 17, 2025
Updated · August 31, 2026
Description
A flaw was found in gnu-ncurses. The postprocess_termcap function in tinfo/parse_entry.c is susceptible to a stack-based buffer overflow due to improper bounds checking during termcap entry processing. This flaw allows a local attacker to trigger the overflow via a crafted termcap file, leading to a denial of service.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 3.3CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
CWE-787 · Out-of-bounds Write