CVE-2023-29491 in Gnu Ncurses and 23 more products
ncurses before 6.4 20230408, when used by a setuid application, allows local users to trigger security-relevant memory corruption via malformed data in a terminfo database file that is found in $HOME/.terminfo or reached via the TERMINFO or TERM environment variable.
Affects 24 products from 3 vendors. Description from NVD and MITRE.
Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Gnu | Ncurses | < 6.4 |
| Invisible-Island | Ncurses | < 6.4 |
| Siemens | RUGGEDCOM Rox MX5000 (device and firmware) | < 2.17.0 |
| Siemens | RUGGEDCOM Rox RX1400 (device and firmware) | < 2.17.0 |
| Siemens | RUGGEDCOM Rox RX1500 (device and firmware) | < 2.17.0 |
| Siemens | RUGGEDCOM Rox RX1501 (device and firmware) | < 2.17.0 |
| Siemens | RUGGEDCOM Rox RX1510 (device and firmware) | < 2.17.0 |
| Siemens | RUGGEDCOM Rox RX1511 (device and firmware) | < 2.17.0 |
| Siemens | RUGGEDCOM Rox RX1512 (device and firmware) | < 2.17.0 |
| Siemens | RUGGEDCOM Rox RX5000 (device and firmware) | < 2.17.0 |
| Siemens | RUGGEDCOM Rox RX1524 (device and firmware) | < 2.17.0 |
| Siemens | RUGGEDCOM Rox RX1536 (device and firmware) | < 2.17.0 |
| Siemens | RUGGEDCOM Rox MX5000RE (device and firmware) | < 2.17.0 |
| Siemens | S7-1500 Cpu Firmware | ≥ 3.1.0, < 3.1.5 |
| Siemens | Simatic Cpu 1518F-4 Firmware | ≥ 3.1.0, < 3.1.5 |
| Siemens | Simatic S7-1500 Cpu 1518-4 Pn/Dp Mfp Firmware | ≥ 3.1.0, < 3.1.5 |
| Siemens | Simatic S7-1500 Cpu 1518-4 Pn Firmware | ≥ 3.1.0, < 3.1.5 |
| Siemens | Simatic S7-1500 Cpu 1518F-4 Firmware | ≥ 3.1.0, < 3.1.5 |
| Siemens | Simatic S7-1500 Cpu 1518F-4 Pn/Dp Mfp Firmware | ≥ 3.1.0, < 3.1.5 |
| Siemens | Siplus S7-1500 Cpu 1518-4 Pn/Dp Mfp Firmware | ≥ 3.1.0, < 3.1.5 |
Fix and vendor advisory
- SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 more: Update to V3.1.5 or later version
Source: ICSA-23-348-10
- RUGGEDCOM ROX MX5000, RUGGEDCOM ROX MX5000RE, RUGGEDCOM ROX RX1400 and 8 more: Update to V2.17.0 or later version
Source: SSA-202008
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Record details
| CVE ID | CVE-2023-29491 |
|---|---|
| BreachSpider ID | BS-2023-GLOBAL-350484-H |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2023-04-14 |
| Last modified | 2026-10-14 |
| Weakness (CWE) | |
| Source | NVD |
Compensating controls AI-drafted, review before use
Ensure that setuid applications do not use ncurses or that they are updated to a version that is not affected by this vulnerability. Implement strict file permissions and environment variable controls to prevent unauthorized modification of terminfo files.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Check devices from your own code or AI agent: free 14-day trial
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-14.