CVE-2025-6141
published 2025-06-16CVE-2025-6141: A vulnerability has been found in GNU ncurses up to 6.5-20250322 and classified as problematic. This vulnerability affects the function postprocess_termcap of…
PriorityP411low3.3CVSS 3.1
AVLACLPRLUINSUCNINAL
EPSS
0.17%
6.1th percentile
A vulnerability has been found in GNU ncurses up to 6.5-20250322 and classified as problematic. This vulnerability affects the function postprocess_termcap of the file tinfo/parse_entry.c. The manipulation leads to stack-based buffer overflow. The attack needs to be approached locally. Upgrading to version 6.5-20250329 is able to address this issue. It is recommended to upgrade the affected component.
Affected
4 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | ncurses | < ncurses 6.5+20251115-2 (forky) | ncurses 6.5+20251115-2 (forky) |
| gnu | ncurses | — | — |
| gnu | ncurses | >= 0 < 6.5+20251115-2 | 6.5+20251115-2 |
| msrc | azl3_ncurses_6.4-2_on_azure_linux_3.0 | — | — |
CVSS provenance
nvdv3.13.3LOWCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
nvdv4.04.8MEDIUMCVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
nvdv2.01.7LOWAV:L/AC:L/Au:S/C:N/I:N/A:P
osv4.8MEDIUM
vendor_debian4.8MEDIUM
vendor_redhat4.8MEDIUM
vendor_msrc3.3LOW
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
gnu-ncurses: ncurses Stack Buffer Overflow
vendor_redhat·2025-06-16·CVSS 4.8
CVE-2025-6141 [MEDIUM] CWE-119 gnu-ncurses: ncurses Stack Buffer Overflow
gnu-ncurses: ncurses Stack Buffer Overflow
A vulnerability has been found in GNU ncurses up to 6.5-20250322 and classified as problematic. This vulnerability affects the function postprocess_termcap of the file tinfo/parse_entry.c. The manipulation leads to stack-based buffer overflow. The attack needs to be approached locally. Upgrading to version 6.5-20250329 is able to address this issue. It is recommended to upgrade the affected component.
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.
Mitigation: Mitigation fo
Microsoft
GNU ncurses parse_entry.c postprocess_termcap stack-based overflow
vendor_msrc·2025-06-10·CVSS 3.3
CVE-2025-6141 [MEDIUM] CWE-121 GNU ncurses parse_entry.c postprocess_termcap stack-based overflow
GNU ncurses parse_entry.c postprocess_termcap stack-based overflow
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
VulDB: VulDB
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Reference: ht
Debian
CVE-2025-6141: ncurses - A vulnerability has been found in GNU ncurses up to 6.5-20250322 and classified ...
vendor_debian·2025·CVSS 4.8
CVE-2025-6141 [MEDIUM] CVE-2025-6141: ncurses - A vulnerability has been found in GNU ncurses up to 6.5-20250322 and classified ...
A vulnerability has been found in GNU ncurses up to 6.5-20250322 and classified as problematic. This vulnerability affects the function postprocess_termcap of the file tinfo/parse_entry.c. The manipulation leads to stack-based buffer overflow. The attack needs to be approached locally. Upgrading to version 6.5-20250329 is able to address this issue. It is recommended to upgrade the affected component.
Scope: local
bookworm: open
bullseye: open
forky: resolved (fixed in 6.5+20251115-2)
sid: resolved (fixed in 6.5+20251115-2)
trixie: open
GHSA
GHSA-wfwf-ggr2-rpjf: A vulnerability has been found in GNU ncurses up to 6
ghsa_unreviewed·2025-06-17
CVE-2025-6141 [MEDIUM] CWE-119 GHSA-wfwf-ggr2-rpjf: A vulnerability has been found in GNU ncurses up to 6
A vulnerability has been found in GNU ncurses up to 6.5-20250322 and classified as problematic. This vulnerability affects the function postprocess_termcap of the file tinfo/parse_entry.c. The manipulation leads to stack-based buffer overflow. The attack needs to be approached locally. Upgrading to version 6.5-20250329 is able to address this issue. It is recommended to upgrade the affected component.
OSV
CVE-2025-6141: A vulnerability has been found in GNU ncurses up to 6
osv·2025-06-16·CVSS 4.8
CVE-2025-6141 [MEDIUM] CVE-2025-6141: A vulnerability has been found in GNU ncurses up to 6
A vulnerability has been found in GNU ncurses up to 6.5-20250322 and classified as problematic. This vulnerability affects the function postprocess_termcap of the file tinfo/parse_entry.c. The manipulation leads to stack-based buffer overflow. The attack needs to be approached locally. Upgrading to version 6.5-20250329 is able to address this issue. It is recommended to upgrade the affected component.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://invisible-island.net/ncurses/NEWS.html#index-t20250329https://lists.gnu.org/archive/html/bug-ncurses/2025-03/msg00107.htmlhttps://lists.gnu.org/archive/html/bug-ncurses/2025-03/msg00109.htmlhttps://lists.gnu.org/archive/html/bug-ncurses/2025-03/msg00114.htmlhttps://vuldb.com/?ctiid.312610https://vuldb.com/?id.312610https://vuldb.com/?submit.593000https://www.gnu.org/https://cert-portal.siemens.com/productcert/html/ssa-089022.htmlhttps://cert-portal.siemens.com/productcert/html/ssa-253495.html
2025-06-16
Published