Heap-based Buffer Overflow in ncurses Affects Multiple Platforms

Check todayFull system takeover over the network if a user is tricked.
8.8HIGH

CVE-2021-39537

Key Information:

Vendor

Gnu

Status
CVE ID
CVE ID:
CVE-2021-39537
Vendor
CVE Published:
20 September 2021

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Partly: Works over the network, but a user must act
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Check today

Find out if you're affected. If you are, patch.

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 β†—
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Ncurses. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Check today"
  • Its CVSS severity is high (8.8).

What is CVE-2021-39537?

A heap-based buffer overflow has been identified in ncurses, specifically within the _nc_captoinfo function in captoinfo.c. This vulnerability can be exploited to lead to unexpected behavior in affected applications, potentially allowing attackers to execute arbitrary code. It is critical for users and system administrators to update ncurses to the latest version to mitigate risks associated with this vulnerability.

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:
8.8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Unchanged
.