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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| GNU | ncurses | 6.5-20250322 | 6.5-20250329 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | ncurses | 6.5+20251115-2 | — |
| Debian 13 | ncurses | No fix yet | — |
| Debian 12 | ncurses | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 25.10 | ncurses | No fix yet | — |
| Ubuntu 24.04 LTS | ncurses | 6.4+20240113-1ubuntu2.2 | USN-8709-1 |
| Ubuntu 22.04 LTS | ncurses | 6.3-2ubuntu0.3 | USN-8709-1 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | ncurses | 6.2-0ubuntu2.1+esm2 | USN-8709-1 |
| Ubuntu Pro 18.04 LTS | ncurses | 6.1-1ubuntu1.18.04.1+esm4 | USN-8709-1 |
| Ubuntu Pro 16.04 LTS | ncurses | 6.0+20160213-1ubuntu1+esm7 | USN-8709-1 |
| Ubuntu Pro 14.04 LTS | ncurses | 5.9+20140118-1ubuntu1+esm7 | USN-8709-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | ncurses | 6.4-3 | — |
Advisories 5
- USN-8709-1 ncurses vulnerability Ubuntu Security Notices (USN) · Sep 2, 2026
- ICSA-26-188-05 Siemens SINEC OS CISA ICS & IT advisories · Jul 7, 2026
- SSA-253495 SSA-253495: Multiple Vulnerabilities in SINEC OS before V4.0 Siemens ProductCERT · Jun 2, 2026
- ICSA-26-043-06 Siemens SINEC OS CISA ICS & IT advisories · Feb 25, 2026
- SSA-089022 SSA-089022: Multiple Vulnerabilities in Third-Party Components in SINEC OS before V3.3 Siemens ProductCERT · Feb 24, 2026
References
- VDB-312610 | GNU ncurses parse_entry.c postprocess_termcap stack-based overflow vdb-entry technical-description
- VDB-312610 | CTI Indicators (IOB, IOC, IOA) signature permissions-required
- 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 related
- https://lists.gnu.org/archive/html/bug-ncurses/2025-03/msg00109.html related
- https://lists.gnu.org/archive/html/bug-ncurses/2025-03/msg00114.html patch
- https://invisible-island.net/ncurses/NEWS.html#index-t20250329 related
- https://www.gnu.org/ product