3.3Low
CVE-2025-6141GNU ncurses parse_entry.c postprocess_termcap stack-based overflow
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.
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| GNU | ncurses | 6.5-20250322, fixed 6.5-20250329 | |
| Siemens | RUGGEDCOM RST2428P | < V3.3 | |
| Siemens | SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family | < V3.3 | |
| Siemens | SCALANCE XCH328 | < V3.3 | |
| Siemens | SCALANCE XCM324 | < V3.3 | |
| Siemens | SCALANCE XCM328 | < V3.3 | |
| Siemens | SCALANCE XCM332 | < V3.3 | |
| Siemens | SCALANCE XRH334 (24 V DC, 8xFO, CC) | < V3.3 | |
| Siemens | SCALANCE XRM334 (230 V AC, 12xFO) | < V3.3 | |
| Siemens | SCALANCE XRM334 (230 V AC, 8xFO) | < V3.3 | |
| Siemens | SCALANCE XRM334 (230V AC, 2x10G, 24xSFP, 8xSFP+) | < V3.3 | |
| Siemens | SCALANCE XRM334 (24 V DC, 12xFO) | < V3.3 | |
| Siemens | SCALANCE XRM334 (24 V DC, 8xFO) | < V3.3 | |
| Siemens | SCALANCE XRM334 (24V DC, 2x10G, 24xSFP, 8xSFP+) | < V3.3 | |
| Siemens | SCALANCE XRM334 (2x230 V AC, 12xFO) | < V3.3 | |
| Siemens | SCALANCE XRM334 (2x230 V AC, 8xFO) | < V3.3 | |
| Siemens | SCALANCE XRM334 (2x230V AC, 2x10G, 24xSFP, 8xSFP+) | < V3.3 |
References and patches
- VDB-312610 | GNU ncurses parse_entry.c postprocess_termcap stack-based overflow vdb-entrytechnical-description
- VDB-312610 | CTI Indicators (IOB, IOC, IOA) signature
- Submit #593000 | GNU ncurses ncurses-6.5-20250322 Stack-based Buffer Overflow third-party-advisory
- https://lists.gnu.org/archive/html/bug-ncurses/2025-03/msg00107.html
- https://lists.gnu.org/archive/html/bug-ncurses/2025-03/msg00109.html
- https://lists.gnu.org/archive/html/bug-ncurses/2025-03/msg00114.html patch
- https://invisible-island.net/ncurses/NEWS.html#index-t20250329
- 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