Moderate Security Vulnerability in ncurses Package: Buffer Overflow Risk

ncurses Updated 09 Apr 2026

Summary

09/04/2026
N/A
Yes i
High
7.8

RLSA-2026:5913: Moderate: ncurses security update. Affects ncurses versions < 0:6.4-15.20240127.el10_1. Fixed in 0: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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The ncurses library provides a terminal-independent method for updating character screens, optimizing the display of text-based interfaces. It includes utilities such as tic (terminfo compiler), infocmp (decompiler), and tools for terminal management like clear, tput, and tset. This package is widely used in various applications that require terminal handling, making its security critical.

Vulnerability Detail

The ncurses package has a buffer overflow vulnerability identified as CVE-2025-69720. This flaw allows an attacker to exploit the buffer overflow, potentially leading to arbitrary code execution on affected systems. The vulnerability arises from improper handling of input data, which can be manipulated to overflow the buffer, compromising the integrity and security of the application using ncurses.

How To Fix

Minimum fixed version

0: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 workaround, you can limit the use of ncurses in applications that are vulnerable until the package is updated. However, it is highly recommended to apply the patch as soon as possible to ensure full protection.

Conclusion

The ncurses package has a moderate security vulnerability that poses a risk of buffer overflow, potentially allowing arbitrary code execution. It is crucial to update to the patched version to mitigate this risk. Regular monitoring and prompt updates are essential for maintaining security in software applications.

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 arbitrary code.

You can use Vulert to monitor and alert for open-source vulnerabilities. By utilizing the Vulert playground, you can check if your application is affected without needing to sign up.

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

Yes, the CVSS score for this vulnerability is 7.8, indicating a high severity level that requires prompt attention.

If an immediate update is not possible, consider implementing strict input validation and limiting the use of affected applications until the patch can be applied.

Related vulnerabilities

Recent vulnerabilities recorded for ncurses.

How To Fix

Minimum fixed version

0: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