CVE-2025-6141: Stack-based Buffer Overflow in GNU ncurses
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.
AI Analysis
Technical Summary
This vulnerability in GNU ncurses involves a stack-based buffer overflow in the postprocess_termcap function within tinfo/parse_entry.c. The flaw allows local attackers with limited privileges to cause a buffer overflow by manipulating terminal capability processing. The issue is resolved in version 6.5-20250329, which should be applied to mitigate the risk.
Potential Impact
An attacker with local access and limited privileges could exploit this vulnerability to cause a stack-based buffer overflow, potentially leading to application crashes or other unintended behavior. The CVSS 4.8 score reflects a medium severity with local attack vector and low complexity. There is no indication of remote exploitation or user interaction required.
Mitigation Recommendations
Upgrade GNU ncurses to version 6.5-20250329 or later, as this version contains the official fix for the vulnerability. No other mitigation is indicated or required based on the vendor information.
CVE-2025-6141: Stack-based Buffer Overflow in GNU ncurses
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.
CVSS v4.0
Score 4.8medium
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability in GNU ncurses involves a stack-based buffer overflow in the postprocess_termcap function within tinfo/parse_entry.c. The flaw allows local attackers with limited privileges to cause a buffer overflow by manipulating terminal capability processing. The issue is resolved in version 6.5-20250329, which should be applied to mitigate the risk.
Potential Impact
An attacker with local access and limited privileges could exploit this vulnerability to cause a stack-based buffer overflow, potentially leading to application crashes or other unintended behavior. The CVSS 4.8 score reflects a medium severity with local attack vector and low complexity. There is no indication of remote exploitation or user interaction required.
Mitigation Recommendations
Upgrade GNU ncurses to version 6.5-20250329 or later, as this version contains the official fix for the vulnerability. No other mitigation is indicated or required based on the vendor information.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- VulDB
- Date Reserved
- 2025-06-15T11:06:16.592Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6850986ea8c921274384b7a2
Added to database: 06/16/2025, 22:19:26 UTC
Last enriched: 06/02/2026, 20:06:01 UTC
Last updated: 09/10/2026, 19:36:51 UTC
Views: 182
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.