SBN

Telnetd Unauthenticated Remote Code Execution (CVE-2026-32746)

Telnetd Unauthenticated Remote Code Execution (CVE-2026-32746)

Tim Reed

Director

In March 2026, a critical severity vulnerability was disclosed in the GNU InetUtils telnetd service. The flaw, tracked as CVE-2026-32746, impacts all versions up to and including InetUtils 2.7. Telnetd is a legacy remote access service that establishes interactive shell sessions over the Telnet protocol. The vulnerability enables remote unauthenticated attackers to achieve arbitrary code execution with root privileges. The issue has generated concern within operational environments where Telnet remains in use for embedded systems, network appliances, and legacy infrastructure.

Telnetd vulnerability technical details

The vulnerability arises from an out of bounds write condition in the LINEMODE Set Local Characters (SLC) suboption handler within telnetd. When the daemon receives a specially crafted Telnet protocol message on port 23, the parsing logic fails to verify buffer boundaries before copying SLC parameters into internal structures. This can result in memory corruption that overwrites adjacent data.

The vulnerability is closely tied to the telnet protocol’s option negotiation mechanism which involves exchanging control sequences prior to establishing a session. The affected code path is executed automatically whenever option negotiation packets are processed. Attackers require network level access to port 23 but no user interaction is needed and there is no requirement for valid credentials or a valid session state. Additionally, the vulnerable code path is enabled by default in all affected releases.

Exploitation depends on achieving precise control over crafted byte sequences to manipulate memory and redirect program execution. While exploit details have not been publicly released, the vulnerability class is consistent with historically reliable exploitation techniques including stack or heap based overwrites.

Systems that expose telnetd directly to untrusted networks are at heightened risk. Embedded devices that bundle outdated InetUtils implementations may carry long term exposure due to slow patch cycles.

The following products and versions are affected as documented in public advisories:

  • GNU InetUtils versions up to and including 2.7

Impact summary of CVE-2026-32746

Successful exploitation of CVE-2026-32746 provides attackers with full root level control of the affected host. Attackers can execute arbitrary commands, deploy additional tooling, modify system configuration, and pivot laterally into adjacent network segments. The lack of authentication increases the likelihood of opportunistic exploitation.

From a confidentiality perspective, attackers may access sensitive system data and credentials stored on the compromised host. System integrity is compromised due to the ability to alter binaries, configuration files, and logs. Availability may also be impacted because attackers can disrupt services or use compromised systems for further malicious activity.

Business impact is substantial, especially for organisations that rely on legacy Telnet based management interfaces. Breaches could lead to service outages, regulatory reporting obligations, or exposure of sensitive operational data.

Environments that include industrial control systems or specialised equipment are especially at risk due to the difficulty of updating these systems and may face extended downtime if firmware level Telnet components are affected. The presence of full system compromise risk from a single unauthenticated packet introduces a high level of operational uncertainty.

No official vendor patch is currently available. Administrators should take immediate steps to reduce exposure. The most effective mitigation is to disable the telnetd service if operationally feasible. Network segmentation should be used to restrict access to port 23. Environments where Telnet cannot be removed should apply strict access controls including firewall rules and monitoring for anomalous Telnet negotiation packets. Migration to SSH offers a secure long term replacement because SSH provides cryptographic session protection and modern authentication mechanisms.

Organisations should track updates from the GNU InetUtils project mailing list and NIST for official remediation guidance. Embedded and appliance vendors that bundle InetUtils should be contacted to confirm patch timelines or alternative mitigation strategies.

How can Sentrium help?

Sentrium can support organisations in assessing exposure to this and similar vulnerabilities through targeted penetration testing, configuration reviews, and vulnerability assessment services. Our team provides practical guidance to reduce risk and improve resilience while remaining aligned with operational needs.

If you would like to explore how Sentrium can support your security programme, our team is always happy to have a conversation.

*** This is a Security Bloggers Network syndicated blog from Labs Archive - Sentrium Security authored by Tim Reed. Read the original post at: https://www.sentrium.co.uk/labs/telnetd-unauthenticated-remote-code-execution-cve-2026-32746