Every CVE Search/ Get API key

CVE-2025-6141

GNU ncurses parse_entry.c postprocess_termcap stack-based overflow

4.8 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
Low

Exploit likelihood

0.20%Up 0.2 points since Jun 17, 2025
90%50%10%1%

What each source reports

CVE List Score used 4.8

GNU ncurses parse_entry.c postprocess_termcap stack-based overflow

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.

Record
CVE-2025-6141
CVSS 4.0
4.8 MediumCVSS: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
CVSS 3.1
3.3 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:X/RL:O/RC:C
CVSS 3.0
3.3 LowCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:X/RL:O/RC:C
CVSS 2.0
1.7 AV:L/AC:L/Au:S/C:N/I:N/A:P/E:ND/RL:OF/RC:C
Weakness
CWE-121, CWE-119
Updated
2026-11-02
EUVDEUVD-2025-18429 4.8

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.

Record
EUVD-2025-18429
CVSS 4.0
4.8 MediumCVSS: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
Updated
2026-11-02
GitHub AdvisoriesGHSA-wfwf-ggr2-rpjf 4.8

A vulnerability has been found in GNU ncurses up to 6.5-20250322 and classified as problematic....

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.

Record
GHSA-wfwf-ggr2-rpjf
CVSS 4.0
4.8 MediumCVSS: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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS 3.1
3.3 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Weakness
CWE-119
Updated
2026-11-02
NVD 4.8

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.

Record
CVE-2025-6141
CVSS 4.0
4.8 MediumCVSS: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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS 3.1
3.3 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
CVSS 2.0
1.7 LowAV:L/AC:L/Au:S/C:N/I:N/A:P
Weakness
CWE-119, CWE-121
Updated
2026-11-02
OSVBELL-CVE-2025-6141 3.3
Record
BELL-CVE-2025-6141
CVSS 3.1
3.3 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-02
OSV 3.3

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.

Record
CVE-2025-6141
CVSS 3.1
3.3 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-02
Show 9 moreShow less
OSVDEBIAN-CVE-2025-6141 4.8

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.

Record
DEBIAN-CVE-2025-6141
CVSS 4.0
4.8 MediumCVSS: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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Updated
2026-11-02
OSVJLSEC-2026-454 4.8

A vulnerability has been found in GNU ncurses up to 6.5-20250322 and classified as problematic

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.

Record
JLSEC-2026-454
CVSS 4.0
4.8 MediumCVSS: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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS 2.0
1.7 LowAV:L/AC:L/Au:S/C:N/I:N/A:P
CVSS 3.1
3.3 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-02
OSVOESA-2025-1851 3.3

ncurses security update

The ncurses (new curses) library is a free software emulation of curses in System V Release 4.0 (SVr4), and more. It uses terminfo format, supports pads and color and multiple highlights and forms characters and function-key mapping, and has all the other SVr4-curses enhancements over BSD curses. SVr4 curses became the basis of X/Open Curses.

Security Fix(es):

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-2025-6141)

Record
OESA-2025-1851
CVSS 3.1
3.3 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-02
OSVUBUNTU-CVE-2025-6141 4.8

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.

Record
UBUNTU-CVE-2025-6141
CVSS 4.0
4.8 MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
CVSS 3.1
3.3 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-02
OSVAZL-64139 No score

CVE-2025-6141 affecting package ncurses for versions less than 6.4-3

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.

Record
AZL-64139
Updated
2026-11-02
OSVROOT-OS-DEBIAN-11-CVE-2025-6141 No score

CVE-2025-6141 in ncurses - Patched by Root

Root has patched CVE-2025-6141 in the ncurses package for Root:Debian:11. Multiple fixed versions available.

Record
ROOT-OS-DEBIAN-11-CVE-2025-6141
Updated
2026-11-02
OSVROOT-OS-DEBIAN-12-CVE-2025-6141 No score

CVE-2025-6141 in ncurses - Patched by Root

Root has patched CVE-2025-6141 in the ncurses package for Root:Debian:12. Multiple fixed versions available.

Record
ROOT-OS-DEBIAN-12-CVE-2025-6141
Updated
2026-11-02
OSVROOT-OS-DEBIAN-13-CVE-2025-6141 No score

CVE-2025-6141 in ncurses - Patched by Root

Root has patched CVE-2025-6141 in the ncurses package for Root:Debian:13. Multiple fixed versions available.

Record
ROOT-OS-DEBIAN-13-CVE-2025-6141
Updated
2026-11-02
OSVUSN-8709-1 No score

ncurses vulnerability

It was discovered that ncurses incorrectly handled specially crafted terminfo database entries. A local attacker could possibly use this issue to cause applications using ncurses to crash, resulting in a denial of service.

Record
USN-8709-1
Updated
2026-11-02

Affected products

Show 5 moreShow less

Affected packages

Affected packages
PackageAffectedFixed
ncurses
Azure Linux:3
before 6.4-3
6.4-3
ncurses
Alpaquita:23
6.3_p20221119-r0 up to 6.3_p20221119-r2
6.3_p20221119-r2
ncurses
Alpaquita:stream
6.4_p20230603-r0 up to 6.5_p20250405-r0
6.5_p20250405-r0
ncurses
BellSoft Hardened Containers:23
6.3_p20221119-r0 up to 6.3_p20221119-r2
6.3_p20221119-r2
ncurses
BellSoft Hardened Containers:stream
6.4_p20230603-r0 up to 6.5_p20250405-r0
6.5_p20250405-r0
ncurses
Debian:12
All versions, plus listed versions
6.4+20230603-16.4+20230625-16.4+20230625-26.4+20231007-16.4+20231016-1
Show 19 moreShow less
6.4+20231118-16.4+20231121-16.4+20231209-16.4+20240113-16.4+20240414-16.4-46.5+20250125-16.5+20250125-26.5+20250216-16.5+20250216-26.5+20251115-16.5+20251115-26.5+20251122-16.5+20251123-16.5-16.5-26.6+20251231-16.6+20260608-16.6+20260608-2
None known
ncurses
Debian:13
All versions, plus listed versions
6.5+20250216-26.5+20251115-16.5+20251115-26.5+20251122-16.5+20251123-16.6+20251231-16.6+20260608-16.6+20260608-2
None known
ncurses
Debian:14
before 6.5+20251115-2, plus listed versions
6.5+20250216-26.5+20251115-1
6.5+20251115-2
Ncurses_jll
Julia
before 6.6.0+0
6.6.0+0
ncurses
openEuler:24.03-LTS-SP2
before 6.4-10.oe2403sp2
6.4-10.oe2403sp2
Show 18 moreShow less
Affected packages
PackageAffectedFixed
ncurses
openEuler:20.03-LTS-SP4
before 6.2-7.oe2003sp4
6.2-7.oe2003sp4
ncurses
openEuler:22.03-LTS-SP3
before 6.3-16.oe2203sp3
6.3-16.oe2203sp3
ncurses
openEuler:22.03-LTS-SP4
before 6.3-16.oe2203sp4
6.3-16.oe2203sp4
ncurses
openEuler:24.03-LTS
before 6.4-10.oe2403sp1
6.4-10.oe2403sp1
ncurses
openEuler:24.03-LTS-SP1
before 6.4-10.oe2403sp1
6.4-10.oe2403sp1
ncurses
Root:Debian:11
before 6.2+20201114-2+deb11u2.root.io.6
6.2+20201114-2+deb11u2.root.io.66.2+20201114-2+deb11u2.aikido.7
rootio-ncurses
Root:Debian:11
before 6.2+20201114-2+deb11u2.root.io.6
6.2+20201114-2+deb11u2.root.io.66.2+20201114-2+deb11u2.aikido.7
ncurses
Root:Debian:12
before 6.4-4.root.io.6
6.4-4.root.io.66.4-4.aikido.7
rootio-ncurses
Root:Debian:12
before 6.4-4.root.io.6
6.4-4.root.io.66.4-4.aikido.7
ncurses
Root:Debian:13
before 6.5+20250216-2.aikido.3
6.5+20250216-2.aikido.36.5+20250216-2.root.io.2
rootio-ncurses
Root:Debian:13
before 6.5+20250216-2.aikido.3
6.5+20250216-2.aikido.36.5+20250216-2.root.io.2
ncurses
Ubuntu:Pro:14.04:LTS
before 5.9+20140118-1ubuntu1+esm7, plus listed versions
5.9+20130608-1ubuntu15.9+20131221-1ubuntu15.9+20140118-1ubuntu15.9+20140118-1ubuntu1+esm15.9+20140118-1ubuntu1+esm2
Show 4 moreShow less
5.9+20140118-1ubuntu1+esm35.9+20140118-1ubuntu1+esm45.9+20140118-1ubuntu1+esm55.9+20140118-1ubuntu1+esm6
5.9+20140118-1ubuntu1+esm7
ncurses
Ubuntu:Pro:16.04:LTS
before 6.0+20160213-1ubuntu1+esm7, plus listed versions
5.9+20150516-2ubuntu16.0+20151024-2ubuntu16.0+20151024-2ubuntu26.0+20160213-1ubuntu16.0+20160213-1ubuntu1+esm1
Show 5 moreShow less
6.0+20160213-1ubuntu1+esm26.0+20160213-1ubuntu1+esm36.0+20160213-1ubuntu1+esm46.0+20160213-1ubuntu1+esm56.0+20160213-1ubuntu1+esm6
6.0+20160213-1ubuntu1+esm7
ncurses
Ubuntu:Pro:18.04:LTS
before 6.1-1ubuntu1.18.04.1+esm4, plus listed versions
6.0+20160625-1ubuntu16.0+20171125-1ubuntu16.1-1ubuntu16.1-1ubuntu1.18.046.1-1ubuntu1.18.04.16.1-1ubuntu1.18.04.1+esm16.1-1ubuntu1.18.04.1+esm26.1-1ubuntu1.18.04.1+esm3
6.1-1ubuntu1.18.04.1+esm4
ncurses
Ubuntu:Pro:20.04:LTS
before 6.2-0ubuntu2.1+esm2, plus listed versions
6.1+20190803-1ubuntu16.1+20191019-1ubuntu16.2-0ubuntu26.2-0ubuntu2.16.2-0ubuntu2.1+esm1
6.2-0ubuntu2.1+esm2
ncurses
Ubuntu:22.04:LTS
before 6.3-2ubuntu0.3, plus listed versions
6.2+20201114-2build16.2+20201114-2build26.3-16.3-26.3-2ubuntu0.16.3-2ubuntu0.2
6.3-2ubuntu0.3
ncurses
Ubuntu:24.04:LTS
before 6.4+20240113-1ubuntu2.2, plus listed versions
6.4+20230625-26.4+20231016-16.4+20231121-1build16.4+20231209-16.4+20240113-1ubuntu16.4+20240113-1ubuntu26.4+20240113-1ubuntu2.1
6.4+20240113-1ubuntu2.2
ncurses
Ubuntu:25.10
All versions, plus listed versions
6.5+20250216-26.5+20250216-2build16.5+20250216-2ubuntu0.1
None known

History

History
RecordedChangedSources
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2025-6141 is a medium vulnerability (CVSS 4.8) in Gnu Ncurses, published June 16, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.20%, the 10th percentile. Fixed in ncurses 6.4-3.

References

Show 12 moreShow less
MoveEnter Open