CVE-2025-6141 GNU ncurses parse_entry.c postprocess_termcap stack-based overflow
MediumCVSS 4.8
EPSS 0.21%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
23 packages: 20 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/ncurses(Debian 12) | = 6.4+20230603-1; = 6.4+20230625-1; = 6.4+20230625-2; = 6.4+20231007-1 +21 more | No fix listed | No fix yet |
| debian/ncurses(Debian 13) | = 6.5+20250216-2; = 6.5+20251115-1; = 6.5+20251115-2; = 6.5+20251122-1 +5 more | No fix listed | No fix yet |
| azure linux ncurses(Azure Linux 3.0) | < 6.4-3 | 6.4-3 | Fixed |
| debian/ncurses(Debian 14) | < 6.5+20251115-2; = 6.5+20250216-2; = 6.5+20251115-1 | 6.5+20251115-2 | Fixed |
| Siemens RUGGEDCOM RST2428P | < V3.3; < V4.0 | V3.3, V4.0 | Fixed |
| Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family | < V3.3 | V3.3 | Fixed |
| Siemens SCALANCE XCH328 | < V3.3 | V3.3 | Fixed |
| Siemens SCALANCE XCM324 | < V3.3 | V3.3 | Fixed |
| Siemens SCALANCE XCM328 | < V3.3 | V3.3 | Fixed |
| Siemens SCALANCE XCM332 | < V3.3 | V3.3 | Fixed |
| Siemens SCALANCE XRH334 (24 V DC, 8xFO, CC) | < V3.3 | V3.3 | Fixed |
| Siemens SCALANCE XRM334 (230 V AC, 12xFO) | < V3.3 | V3.3 | Fixed |
| Siemens SCALANCE XRM334 (230 V AC, 8xFO) | < V3.3 | V3.3 | Fixed |
| Siemens SCALANCE XRM334 (230V AC, 2x10G, 24xSFP, 8xSFP+) | < V3.3 | V3.3 | Fixed |
| Siemens SCALANCE XRM334 (24 V DC, 12xFO) | < V3.3 | V3.3 | Fixed |
| Siemens SCALANCE XRM334 (24 V DC, 8xFO) | < V3.3 | V3.3 | Fixed |
| Siemens SCALANCE XRM334 (24V DC, 2x10G, 24xSFP, 8xSFP+) | < V3.3 | V3.3 | Fixed |
| Siemens SCALANCE XRM334 (2x230 V AC, 12xFO) | < V3.3 | V3.3 | Fixed |
| Siemens SCALANCE XRM334 (2x230 V AC, 8xFO) | < V3.3 | V3.3 | Fixed |
| Siemens SCALANCE XRM334 (2x230V AC, 2x10G, 24xSFP, 8xSFP+) | < V3.3 | V3.3 | Fixed |
| ubuntu/ncurses(Ubuntu 22.04) | < 6.3-2ubuntu0.3 | 6.3-2ubuntu0.3 | Fixed |
| ubuntu/ncurses(Ubuntu 24.04) | < 6.4+20240113-1ubuntu2.2 | 6.4+20240113-1ubuntu2.2 | Fixed |
| GNU ncurses | = 6.5-20250322 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| azure linux ncurses(Azure Linux:3.0) | < 6.4-3 | 6.4-3 |
| debian/ncurses(Debian:12) | All versions | No fix listed |
| debian/ncurses(Debian:12) | = 6.4+20230603-1 | No fix listed |
| debian/ncurses(Debian:12) | = 6.4+20230625-1 | No fix listed |
| debian/ncurses(Debian:12) | = 6.4+20230625-2 | No fix listed |
| debian/ncurses(Debian:12) | = 6.4+20231007-1 | No fix listed |
| debian/ncurses(Debian:12) | = 6.4+20231016-1 | No fix listed |
| debian/ncurses(Debian:12) | = 6.4+20231118-1 | No fix listed |
| debian/ncurses(Debian:12) | = 6.4+20231121-1 | No fix listed |
| debian/ncurses(Debian:12) | = 6.4+20231209-1 | No fix listed |
| debian/ncurses(Debian:12) | = 6.4+20240113-1 | No fix listed |
| debian/ncurses(Debian:12) | = 6.4+20240414-1 | No fix listed |
| debian/ncurses(Debian:12) | = 6.4-4 | No fix listed |
| debian/ncurses(Debian:12) | = 6.5+20250125-1 | No fix listed |
| debian/ncurses(Debian:12) | = 6.5+20250125-2 | No fix listed |
| debian/ncurses(Debian:12) | = 6.5+20250216-1 | No fix listed |
| debian/ncurses(Debian:12) | = 6.5+20250216-2 | No fix listed |
| debian/ncurses(Debian:12) | = 6.5+20251115-1 | No fix listed |
| debian/ncurses(Debian:12) | = 6.5+20251115-2 | No fix listed |
| debian/ncurses(Debian:12) | = 6.5+20251122-1 | No fix listed |
| debian/ncurses(Debian:12) | = 6.5+20251123-1 | No fix listed |
| debian/ncurses(Debian:12) | = 6.5-1 | No fix listed |
| debian/ncurses(Debian:12) | = 6.5-2 | No fix listed |
| debian/ncurses(Debian:12) | = 6.6+20251231-1 | No fix listed |
| debian/ncurses(Debian:12) | = 6.6+20260608-1 | No fix listed |
Show 33 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/ncurses(Debian:12) | = 6.6+20260608-2 | No fix listed |
| debian/ncurses(Debian:13) | All versions | No fix listed |
| debian/ncurses(Debian:13) | = 6.5+20250216-2 | No fix listed |
| debian/ncurses(Debian:13) | = 6.5+20251115-1 | No fix listed |
| debian/ncurses(Debian:13) | = 6.5+20251115-2 | No fix listed |
| debian/ncurses(Debian:13) | = 6.5+20251122-1 | No fix listed |
| debian/ncurses(Debian:13) | = 6.5+20251123-1 | No fix listed |
| debian/ncurses(Debian:13) | = 6.6+20251231-1 | No fix listed |
| debian/ncurses(Debian:13) | = 6.6+20260608-1 | No fix listed |
| debian/ncurses(Debian:13) | = 6.6+20260608-2 | No fix listed |
| debian/ncurses(Debian:14) | < 6.5+20251115-2 | 6.5+20251115-2 |
| debian/ncurses(Debian:14) | = 6.5+20250216-2 | No fix listed |
| debian/ncurses(Debian:14) | = 6.5+20251115-1 | No fix listed |
| GNU ncurses | = 6.5-20250322 | No fix listed |
| Siemens RUGGEDCOM RST2428P | < V3.3 | V3.3 |
| Siemens RUGGEDCOM RST2428P | < V4.0 | V4.0 |
| Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family | < V3.3 | V3.3 |
| Siemens SCALANCE XCH328 | < V3.3 | V3.3 |
| Siemens SCALANCE XCM324 | < V3.3 | V3.3 |
| Siemens SCALANCE XCM328 | < V3.3 | V3.3 |
| Siemens SCALANCE XCM332 | < V3.3 | V3.3 |
| Siemens SCALANCE XRH334 (24 V DC, 8xFO, CC) | < V3.3 | V3.3 |
| Siemens SCALANCE XRM334 (230 V AC, 12xFO) | < V3.3 | V3.3 |
| Siemens SCALANCE XRM334 (230 V AC, 8xFO) | < V3.3 | V3.3 |
| Siemens SCALANCE XRM334 (230V AC, 2x10G, 24xSFP, 8xSFP+) | < V3.3 | V3.3 |
| Siemens SCALANCE XRM334 (24 V DC, 12xFO) | < V3.3 | V3.3 |
| Siemens SCALANCE XRM334 (24 V DC, 8xFO) | < V3.3 | V3.3 |
| Siemens SCALANCE XRM334 (24V DC, 2x10G, 24xSFP, 8xSFP+) | < V3.3 | V3.3 |
| Siemens SCALANCE XRM334 (2x230 V AC, 12xFO) | < V3.3 | V3.3 |
| Siemens SCALANCE XRM334 (2x230 V AC, 8xFO) | < V3.3 | V3.3 |
| Siemens SCALANCE XRM334 (2x230V AC, 2x10G, 24xSFP, 8xSFP+) | < V3.3 | V3.3 |
| ubuntu/ncurses(Ubuntu:22.04) | < 6.3-2ubuntu0.3 | 6.3-2ubuntu0.3 |
| ubuntu/ncurses(Ubuntu:24.04) | < 6.4+20240113-1ubuntu2.2 | 6.4+20240113-1ubuntu2.2 |
References
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- Debian Security Tracker CVE-2025-6141 vendor-advisory
- VDB-312610 | GNU ncurses parse_entry.c postprocess_termcap stack-based overflow technical-description vdb-entry
- VDB-312610 | CTI Indicators (IOB, IOC, IOA) permissions-required signature
- Submit #593000 | GNU ncurses ncurses-6.5-20250322 Stack-based Buffer Overflow third-party-advisory
- lists.gnu.org related
- lists.gnu.org related
- lists.gnu.org patch
- invisible-island.net related
- www.gnu.org product
- cert-portal.siemens.com
- cert-portal.siemens.com
- Ubuntu CVE tracker vendor-advisory
- USN-8709-1 vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking