CVE-2025-6141
JSON

4.8medium

GNU ncurses parse_entry.c postprocess_termcap stack-based overflow

Severity
4.8medium CVSS:4.0 by VulDB
Exploit likelihood
0.21% (higher than 11% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
GNU ncurses6.5-20250322
Not affected: 6.5-20250329
CVE List

All scores

VulDB4.8medium CVSS:4.0CVSS: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
VulDB3.3low CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:X/RL:O/RC:C
VulDB3.3low CVSS:3.0CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:X/RL:O/RC:C
VulDB1.7low CVSS:2.0AV:L/AC:L/Au:S/C:N/I:N/A:P/E:ND/RL:OF/RC:C

Classification

CWE-119CWE-121

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

CVE List (de)

In GNU ncurses bis 6.5-20250322 wurde eine problematische Schwachstelle gefunden. Es geht um die Funktion postprocess_termcap der Datei tinfo/parse_entry.c. Dank Manipulation mit unbekannten Daten kann eine stack-based buffer overflow-Schwachstelle ausgenutzt werden. Die Umsetzung des Angriffs hat dabei lokal zu erfolgen. Ein Aktualisieren auf die Version 6.5-20250329 vermag dieses Problem zu lösen. Als bestmögliche Massnahme wird das Einspielen eines Upgrades empfohlen.

NVD (es)

Se ha encontrado una vulnerabilidad en GNU ncurses hasta la versión 6.5-20250322 y clasificada como problemática. Esta vulnerabilidad afecta a la función postprocess_termcap del archivo tinfo/parse_entry.c. La manipulación conduce a un desbordamiento de búfer basado en pila. El ataque debe realizarse localmente. La actualización a la versión 6.5-20250329 puede solucionar este problema. Se recomienda actualizar el componente afectado.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-6141 changed 2026-06-02CVE Terms of Use
NVDCVE-2025-6141 changed 2026-06-17Public domain