CVE-2025-6141
GNU ncurses parse_entry.c postprocess_termcap stack-based overflow
Reported by vuldb · Published June 16, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| SCALANCE XRM334 (230 V AC, 12xFO) | Siemens | 3.3 |
| SCALANCE XRM334 (24 V DC, 8xFO) | Siemens | 3.3 |
| SCALANCE XRM334 (230 V AC, 8xFO) | Siemens | 3.3 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| GNU | ncurses | 6.5-20250322, 6.5-20250329 |
| Siemens | SCALANCE XRM334 (230 V AC, 12xFO) | 0 |
| Siemens | SCALANCE XRM334 (24 V DC, 8xFO) | 0 |
| Siemens | SCALANCE XRM334 (230 V AC, 8xFO) | 0 |
| GNU | ncurses | 6.5-20250329, 6.5-20250322 |
| Siemens | SCALANCE XCM324 | 0 |
| Siemens | SCALANCE XRM334 (24V DC, 2x10G, 24xSFP, 8xSFP+) | 0 |
| Siemens | SCALANCE XRM334 (24 V DC, 12xFO) | 0 |
| Siemens | SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family | 0 |
| Siemens | SCALANCE XRM334 (2x230 V AC, 12xFO) | 0 |
| Siemens | SCALANCE XRM334 (2x230 V AC, 8xFO) | 0 |
| Siemens | RUGGEDCOM RST2428P | 0, 0 |
| Siemens | SCALANCE XRM334 (2x230V AC, 2x10G, 24xSFP, 8xSFP+) | 0 |
| Siemens | SCALANCE XRM334 (230V AC, 2x10G, 24xSFP, 8xSFP+) | 0 |
| Siemens | SCALANCE XCM332 | 0 |
| Siemens | SCALANCE XCM328 | 0 |
| Siemens | SCALANCE XRH334 (24 V DC, 8xFO, CC) | 0 |
| Siemens | SCALANCE XCH328 | 0 |
Timeline
- Jun 16, 2025 CVE Published
- Jun 17, 2025 EPSS Score (30 in total, the first dated here)
- Mar 26, 2026 Coalition ESS Score (2 in total, the first dated here)
- Jun 2, 2026 Security Advisory
- Jun 17, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-6141
vulnetix vdb fixes CVE-2025-6141
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-6141/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- VDB-312610 | GNU ncurses parse_entry.c postprocess_termcap stack-based overflow vdb-entrytechnical-description
- VDB-312610 | CTI Indicators (IOB, IOC, IOA) signaturepermissions-required
- Submit #593000 | GNU ncurses ncurses-6.5-20250322 Stack-based Buffer Overflow third-party-advisory
- related
- related
- patch
- related
- product
- https://cert-portal.siemens.com/productcert/html/ssa-089022.html url
- https://cert-portal.siemens.com/productcert/html/ssa-253495.html url