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

Published Jun 16, 2025
·
Updated

A vulnerability has been found in GNU ncurses up to 6.5-20250322 and classified as problematic. This vulnerability affects the function postprocesstermcap of the file tinfo/parseentry.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.

Other sources

GNU ncurses parseentry.c postprocesstermcap stack-based overflow

Microsoft

Affected Software

2 affected componentsFixes available
GNU ncurses<=6.5-20250322
Microsoft azl3 ncurses 6.4-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade GNU ncurses to a version that resolves this vulnerability.

    Fixed in 6.5-20250329
  2. Compensating control

    Approach the attack as local only (limit exposure so untrusted users/processes cannot execute the vulnerable code path).

Event History

Jun 16, 2025
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:16 PM
DescriptionSeverityWeakness
Sep 4, 2025
Data Sourced
via Microsoft·10:58 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·10:58 AM
Affected Software
Updated
via Microsoft·10:58 AM
DescriptionSeverity
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-6141?

CVE-2025-6141 is classified as problematic and poses a significant risk due to a stack-based buffer overflow.

2

How do I fix CVE-2025-6141?

To fix CVE-2025-6141, upgrade GNU ncurses to version 6.5-20250323 or later.

3

Which versions of GNU ncurses are affected by CVE-2025-6141?

CVE-2025-6141 affects GNU ncurses versions up to and including 6.5-20250322.

4

What type of vulnerability is CVE-2025-6141?

CVE-2025-6141 is a stack-based buffer overflow vulnerability.

5

What component of GNU ncurses does CVE-2025-6141 impact?

CVE-2025-6141 impacts the function postprocess_termcap in the tinfo/parse_entry.c file.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203