Stack-based Buffer Overflow Affecting ncurses package, versions [,6.5-20250329)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.01% (2nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-NCURSES-10692699
  • published11 Jul 2025
  • disclosed16 Jun 2025
  • creditJJLeo

Introduced: 16 Jun 2025

CVE-2025-6141  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade ncurses to version 6.5-20250329 or higher.

Overview

Affected versions of this package are vulnerable to Stack-based Buffer Overflow via the postprocess_termcap function in the parse_entry.c file. An attacker can cause a crash or disrupt normal operation by providing specially crafted input.

References

CVSS Base Scores

version 4.0
version 3.1