Buffer overflow in GNU Ncurses
CVE-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 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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.3 (Low). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS 0.002, 11.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- GNU Ncurses — versions 6.5-20250322, 6.5-20250329
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 3 other repositories (CKA-codespace/cg-compare, Dariani223/DevOpsFinal, raph-rcn/devsecops-juice-shop). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- VDB-312610 | GNU ncurses parse_entry.c postprocess_termcap stack-based overflow (technical-description, vdb-entry)
- VDB-312610 | CTI Indicators (IOB, IOC, IOA) (signature, permissions-required)
- Submit #593000 | GNU ncurses ncurses-6.5-20250322 Stack-based Buffer Overflow (third-party-advisory)
- lists.gnu.org/archive/html/bug-ncurses/2025-03/msg00107.html (related)
- lists.gnu.org/archive/html/bug-ncurses/2025-03/msg00109.html (related)
- lists.gnu.org/archive/html/bug-ncurses/2025-03/msg00114.html (patch)
- invisible-island.net/ncurses/NEWS.html (related)
- www.gnu.org/ (product)
- cert-portal.siemens.com/productcert/html/ssa-089022.html
- cert-portal.siemens.com/productcert/html/ssa-253495.html