Skip to main content
EPSS 0.2%top 92%

CVE-2025-6141: Stack-based Buffer Overflow in GNU ncurses

0
Medium
VulnerabilityCVE-2025-6141cvecve-2025-6141
Published: 06/16/2025 (06/16/2025, 22:00:17 UTC)
Source: CVE Database V5
Vendor/Project: GNU
Product: 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

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS: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

Affected software

Affected versions
=6.5-20250322

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/02/2026, 20:06:01 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses