CVE-2025-6141: GNU ncurses · Stack-based Buffer Overflow
Affects GNU ncursesSource CVE Database V5
Not known to be exploited · CVSS 4.8 Medium · fixed in 6.5 : update GNU ncurses when convenient.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 9% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 6.5
CVSS: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:XExploitation evidence
Disclosed: evidence found.
CVE published 16 Jun 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Gnugnu/ncursespkg:deb/gnu/ncursesOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade GNU ncurses to version 6.5-20250329 or later, as this version contains the official fix for the vulnerability. No other mitigation is indicated or required based on the vendor information.
Description
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.
References
- vuldb.com (opens in a new tab)
- vuldb.com (opens in a new tab)
- vuldb.com (opens in a new tab)
- lists.gnu.org/archive/html/bug-ncurses/2025-03/msg00107.html (opens in a new tab)
- lists.gnu.org/archive/html/bug-ncurses/2025-03/msg00109.html (opens in a new tab)
- lists.gnu.org/archive/html/bug-ncurses/2025-03/msg00114.html (opens in a new tab)
- invisible-island.net/ncurses/NEWS.html (opens in a new tab)
- gnu.org (opens in a new tab)
- cert-portal.siemens.com/productcert/html/ssa-089022.html (opens in a new tab)
- cert-portal.siemens.com/productcert/html/ssa-253495.html (opens in a new tab)