CVE-2025-6141
GNU ncurses parse_entry.c postprocess_termcap stack-based overflow
- State
- Published
- Severity
- 4.8 Medium
- Published
- Jun 16, 2025
- Updated
- Jun 2, 2026
- Reserved
- Jun 15, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 4.8 Medium | 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:X | VulDB |
| 3.1 | 3.3 Low | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:X/RL:O/RC:C | VulDB |
| 3.0 | 3.3 Low | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:X/RL:O/RC:C | VulDB |
| 2.0 | 1.7 Low | AV:L/AC:L/Au:S/C:N/I:N/A:P/E:ND/RL:OF/RC:C | VulDB |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
ncursesGNU |
|
References
- VDB-312610 | GNU ncurses parse_entry.c postprocess_termcap stack-based overflowvdb-entrytechnical-description
- VDB-312610 | CTI Indicators (IOB, IOC, IOA)signaturepermissions-required
- Submit #593000 | GNU ncurses ncurses-6.5-20250322 Stack-based Buffer Overflowthird-party-advisory
- https://lists.gnu.org/archive/html/bug-ncurses/2025-03/msg00107.htmlrelated
- https://lists.gnu.org/archive/html/bug-ncurses/2025-03/msg00109.htmlrelated
- https://lists.gnu.org/archive/html/bug-ncurses/2025-03/msg00114.htmlpatch
- https://invisible-island.net/ncurses/NEWS.html#index-t20250329related
- https://www.gnu.org/product
- https://cert-portal.siemens.com/productcert/html/ssa-089022.html
- https://cert-portal.siemens.com/productcert/html/ssa-253495.html
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.