# CVE-2025-6141: GNU ncurses parse_entry.c postprocess_termcap stack-based overflow

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2025-06-16T22:00:17.088Z
- Modified: 2026-06-17T10:01:15.040Z
- Weaknesses: CWE-119, CWE-121
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- GNU ncurses: 6.5-20250322 (not affected: 6.5-20250329)

## Every score

- VulDB: CVSS:4.0 4.8 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X`
- VulDB: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:X/RL:O/RC:C`
- VulDB: CVSS:3.0 3.3 Low `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:X/RL:O/RC:C`
- VulDB: CVSS:2.0 1.7 Low `AV:L/AC:L/Au:S/C:N/I:N/A:P/E:ND/RL:OF/RC:C`

## References

- <https://vuldb.com/?id.312610> (technical-description, vdb-entry)
- <https://vuldb.com/?ctiid.312610> (permissions-required, signature)
- <https://vuldb.com/?submit.593000> (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)
- <https://cert-portal.siemens.com/productcert/html/ssa-089022.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-253495.html>

## Sources

- CVE List: [CVE-2025-6141](https://www.cve.org/CVERecord?id=CVE-2025-6141), CVE Terms of Use, modified 2026-06-02
- NVD: [CVE-2025-6141](https://nvd.nist.gov/vuln/detail/CVE-2025-6141), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-6141 · Whole record: https://cve.day/CVE-2025-6141.json · Rebuilt by cve.day 2026-11-25T22:58:59.266Z
