CVE-2025-6141
BaseFortify
Publication date: 2025-06-16
Last updated on: 2025-06-17
Assigner: VulDB
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-119 | The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data. |
| CWE-121 | A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function). |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a stack-based buffer overflow found in the GNU ncurses library up to version 6.5-20250322, specifically in the function postprocess_termcap within the file tinfo/parse_entry.c. It occurs due to improper manipulation of data leading to overflow on the stack. The vulnerability requires local access to be exploited.
How can this vulnerability impact me? :
The vulnerability can lead to a stack-based buffer overflow, which may cause a program crash or potentially allow an attacker with local access to execute arbitrary code or escalate privileges on the affected system. However, the impact is limited as the attack requires local access and the CVSS scores indicate a low to moderate severity.
What immediate steps should I take to mitigate this vulnerability?
The immediate step to mitigate this vulnerability is to upgrade GNU ncurses to version 6.5-20250329 or later, as this version addresses the issue.