CVE-2025-6141
Fixed in a distro release EPSS <1%CVSS 3.3
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.
Products: GNU ncurses, Siemens RUGGEDCOM RST2428P, Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family, Siemens SCALANCE XCH328, Siemens SCALANCE XCM324, Siemens SCALANCE XCM328, Siemens SCALANCE XCM332, Siemens SCALANCE XRH334 (24 V DC, 8xFO, CC), Siemens SCALANCE XRM334 (230 V AC, 12xFO), Siemens SCALANCE XRM334 (230 V AC, 8xFO), Siemens SCALANCE XRM334 (230V AC, 2x10G, 24xSFP, 8xSFP+), Siemens SCALANCE XRM334 (24 V DC, 12xFO), Siemens SCALANCE XRM334 (24 V DC, 8xFO), Siemens SCALANCE XRM334 (24V DC, 2x10G, 24xSFP, 8xSFP+), Siemens SCALANCE XRM334 (2x230 V AC, 12xFO), Siemens SCALANCE XRM334 (2x230 V AC, 8xFO), Siemens SCALANCE XRM334 (2x230V AC, 2x10G, 24xSFP, 8xSFP+)
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Debian 12 | ncurses | no fix |
| Debian 13 | ncurses | no fix |
| Debian 14 | ncurses | 6.5+20251115-2 |
| Ubuntu 22.04 LTS | ncurses | 6.3-2ubuntu0.3 |
| Ubuntu 24.04 LTS | ncurses | 6.4+20240113-1ubuntu2.2 |
| Ubuntu 25.10 | ncurses | no fix |
| Ubuntu Pro 14.04 LTS | ncurses | 5.9+20140118-1ubuntu1+esm7 |
| Ubuntu Pro 16.04 LTS | ncurses | 6.0+20160213-1ubuntu1+esm7 |
| Ubuntu Pro 18.04 LTS | ncurses | 6.1-1ubuntu1.18.04.1+esm4 |
| Ubuntu Pro 20.04 LTS | ncurses | 6.2-0ubuntu2.1+esm2 |