CVE-2026-32746 - Critical Telnetd Buffer Overflow Vulnerability

GNU Inetutils Buffer Overflow Remote Code Execution
Overview
CVE-2026-32746 is a critical vulnerability in the GNU Inetutils Telnet server (telnetd) that may allow remote attackers to trigger memory corruption and potentially execute arbitrary code.
The flaw is tied to unsafe handling of specific Telnet protocol options. Exploitation can occur over the network when vulnerable Telnet services are exposed.
Technical Specifications
| Field | Details |
|---|---|
| Identifier | CVE-2026-32746 |
| Vulnerability Type | Buffer Overflow (CWE-120) |
| CVSS Score | 9.8(Critical) |
| Affected Component | GNU Inetutils telnetd |
| Root Cause | Improper bounds checking in LINEMODE SLC handling (add_slc) |
| Trigger | Crafted LINEMODE SLC Telnet packets |
| Exposure Conditions | Telnet service reachable on port 23; no authentication required |

Affected Products
- Systems running vulnerable GNU Inetutils
telnetd. - Internet-facing or internally reachable Telnet services on TCP port 23.
- Environments still using legacy Telnet for remote administration.
PoC Video
Technical Details
- The vulnerability is caused by insufficient bounds checks in the LINEMODE SLC processing path.
- Specifically, unsafe operations in
add_slccan be triggered with crafted protocol fields. - Malformed LINEMODE SLC packets may cause out-of-bounds memory writes.
- Because exploitation can occur before authentication, externally reachable services are high risk.
- Successful exploitation may lead to code execution, depending on platform protections and runtime conditions.
Attack Scenario
- An attacker scans target networks for exposed Telnet services on port 23.
- A vulnerable GNU Inetutils
telnetdinstance is identified. - The attacker initiates a Telnet session to the service.
- Crafted LINEMODE SLC payloads are sent to trigger memory corruption.
- The buffer overflow is exploited to crash the process or achieve code execution.
- The attacker may obtain remote shell access and escalate to persistent foothold in the environment.
Impact Assessment
Exploitation can enable remote code execution, service crash conditions, and unauthorized memory manipulation in exposed Telnet services.
Successful compromise may result in full system takeover (often with elevated privileges), data exfiltration, and unauthorized data modification.
Compromised hosts can be used for persistence and lateral movement, increasing broader network and operational risk.
Mitigation Strategies
- Update GNU Inetutils to a patched version as soon as available from trusted sources.
- Disable Telnet services where not strictly required.
- Block or tightly restrict TCP port 23 via firewalls.
- Limit management access to VPN or trusted source IP ranges.
- Replace Telnet with SSH for remote administration.
- Monitor logs for malformed Telnet requests and suspicious connection patterns.
Resources
Open-Source Reporting
Last Updated: March 18, 2026