Pre-authentication buffer overflow in GNU Inetutils telnetd LINEMODE SLC handling
CVE-2026-32746 is a pre-authentication buffer overflow in GNU Inetutils telnetd through version 2.7. The add_slc function in the LINEMODE SLC (Set Local Characters) suboption handler appends data to a fixed-size buffer without checking available capacity. A remote, unauthenticated attacker can trigger out-of-bounds writes by supplying an oversized sequence of SLC triplets during initial Telnet negotiation, before the login prompt appears. Memory corruption can potentially lead to arbitrary code execution with the daemon's privileges. Reliable code execution is environment-dependent and has not been demonstrated universally. GNU Inetutils 2.8 fixes the vulnerability.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Exploitation corrupts adjacent process memory and may cause service disruption, disclose internal pointers, or provide additional memory-corruption primitives. Testing demonstrated an arbitrary-free primitive on 32-bit Debian, while reliable remote code execution remained difficult on tested systems. If exploitation achieves code execution in a root-running telnetd process, the attacker can fully compromise host confidentiality, integrity, and availability. No active exploitation is confirmed in the available information.
If you can’t patch tonight, do this now.
Disable telnetd wherever possible. If Telnet must remain available, block external access to its listening port, normally TCP 23, and restrict access to explicitly trusted hosts through perimeter and host firewalls and network segmentation. Run telnetd without root privileges where operationally supported to reduce potential impact. Monitor network traffic for oversized LINEMODE SLC suboptions and retain connection logs and packet captures centrally; authentication logs alone are insufficient because the vulnerable processing occurs before login.
Patch, then assume compromise.
Upgrade GNU Inetutils to version 2.8 or later, or install a distribution-supported package containing the CVE-2026-32746 fix. Alpine Linux users should update inetutils-telnet and related packages to 2.8-r0 or later. For affected Synology systems, install DSM 7.3.2-86009-3, DSM 7.2.2-72806-8, DSM 7.2.1-69057-11, or a newer applicable release. A DSMUC 3.1 fix was still under development in the available advisory; disable Telnet until a supported fix is available.
5 exploits validated by Mallory's analysis. Hidden: 3 rejected by Mallory's analysis as not a working exploit; 1 not yet analyzed, such as Exploit-DB entries.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
155 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.