Moderate Security Vulnerability in ncurses Package: Buffer Overflow Risk

ncurses Updated 31 Mar 2026

Summary

26/03/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:5913: Moderate: ncurses security update. Affects ncurses versions < 6.4-15.20240127.el10_1. Fixed in 6.4-15.20240127.el10_1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The ncurses library provides terminal-independent methods for updating character screens, optimizing performance for various terminal types. It includes utilities such as tic (terminfo compiler), infocmp (decompiler), and tools for terminal capabilities. This package is widely used in applications that require text-based user interfaces, making it crucial for system functionality.

Vulnerability Detail

The ncurses package has a buffer overflow vulnerability identified as CVE-2025-69720. This vulnerability arises from improper handling of input data, which could allow an attacker to execute arbitrary code on the affected system. The implications of this vulnerability are significant, as it could lead to unauthorized access or control over the system, potentially compromising sensitive data and system integrity.

How To Fix

Minimum fixed version

6.4-15.20240127.el10_1

This is the first release that contains the fix.

sudo dnf update ncurses

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary measure, users can limit the use of the ncurses library in applications that are vulnerable until the package is updated. However, the most effective solution is to apply the patch as soon as possible.

Conclusion

The ncurses package has a moderate security vulnerability that could lead to severe consequences if left unaddressed. It is essential to update to the latest patched version to mitigate risks. Utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.

See every vulnerability recorded for ncurses →

Share this vulnerability

FAQ

A buffer overflow vulnerability occurs when a program writes more data to a buffer than it can hold, which can lead to unexpected behavior, including the execution of malicious code.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Simply upload your manifest file like package-lock.json to check for vulnerabilities.

Failing to address this vulnerability could allow attackers to execute arbitrary code, potentially leading to unauthorized access, data breaches, or system compromise.

While the best course of action is to update the package, you can limit the use of affected applications as a temporary workaround.

For detailed information, refer to the CVE page for CVE-2025-69720, which provides insights into the vulnerability's impact and technical details.

Related vulnerabilities

Recent vulnerabilities recorded for ncurses.

How To Fix

Minimum fixed version

6.4-15.20240127.el10_1

This is the first release that contains the fix.

sudo dnf update ncurses

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback