Memory Corruption Vulnerability in ncurses Affects Local Users

Patch this weekFull system takeover with local access.
7.8HIGH

CVE-2023-29491

Key Information:

Vendor

Gnu

Status
CVE ID
CVE ID:
CVE-2023-29491
Vendor
CVE Published:
14 April 2023

Timeline

Exploit known 181 days after it was published

  • ๐Ÿ‘พ

    Exploit known to exist

  • ๐Ÿ“ฐ

    First article discovered by Dark Reading

  • Vulnerability published

  • Vulnerability Reserved

Badges

๐Ÿ‘พ Exploit Exists๐Ÿ“ฐ News Worthy

How risky is it?

  • No: Needs local access
  • Partly: Exploitation or a working exploit reported
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Patch this week

Exploitation is likely. Prioritise the fix.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

Read the vendor advisory โ†—
2Look for signs of compromise

Exploitation has been reported, so check logs on exposed Ncurses systems for unusual requests or new processes from before you patched.

3Why it's rated "Patch this week"
  • Exploitation or a working exploit has been reported.
  • Its CVSS severity is high (7.8).

What is CVE-2023-29491?

ncurses versions prior to 6.4 20230408 exhibit a vulnerability that permits local users of setuid applications to induce memory corruption. This occurs through the utilization of malformed data within a terminfo database file located in the user's home directory or accessed via environment variables like TERMINFO or TERM. This security flaw underscores the importance of maintaining updated ncurses installations to mitigate potential risks.

News Articles

Uncursing the ncurses: Memory corruption vulnerabilities found in library | Microsoft Security Blog

A set of memory corruption vulnerabilities in the ncurses library could have allowed attackers to chain the vulnerabilities to elevate privileges and run code in the targeted program's context or perform other malicious actions.

favicon imageDark Reading

Microsoft Flushes Out 'Ncurses' Gremlins

The maintainers of the widely used library recently patched multiple memory corruption vulnerabilities that attackers could have abused to, ahem, curse targets with malicious code and escalate privileges.

References

Out-of-Bounds Write Vulnerability in GNU Inetutils Telnetd

CVE-2026-32746
GnuInetutils๐Ÿ”ฅ๐Ÿ˜„๐Ÿ‘พ9.8CRITICAL

Remote Authentication Bypass in GNU Inetutils Telnetd

CVE-2026-24061
GnuInetutils๐Ÿ”ฅ๐Ÿ˜„๐Ÿ‘พ๐ŸŸฃ9.8CRITICAL
View more Gnu vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities ยท Report a correction

CVSS V3.1

Score:
7.8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged
.