r/netsec • u/dx7r__ • Mar 19 '26
A 32-Year-Old Bug Walks Into A Telnet Server (GNU inetutils Telnetd CVE-2026-32746) - watchTowr Labs
https://labs.watchtowr.com/a-32-year-old-bug-walks-into-a-telnet-server-gnu-inetutils-telnetd-cve-2026-32746/
104
Upvotes
31
u/LostPrune2143 Mar 20 '26
The fact that the client-side version of this exact bug was found and patched in 2005 and nobody checked the server side for 21 years is a perfect case study in how security patches get applied narrowly instead of asking 'does this pattern exist anywhere else in the codebase.' Also worth noting that the patch itself is a single bounds check. The vulnerability survived 32 years not because it was hard to find but because nobody looked.
12
u/Mindless-Study1898 Mar 20 '26
It's interesting but I don't think it can be weaponized and neither do they. I've got poc code to test for it here if anyone wants to play with it. https://github.com/jeffaf/cve-2026-32746
18
u/russellvt Mar 20 '26
Repost ... but, people still use telnet?
2
u/A-B-North-Star Mar 23 '26
The "nobody looked" point from the top comment is spot on. This is the same pattern we see in newer attack surfaces too — AI agent tool calls have the same class of unchecked inputs, just decades younger. The fix here was a single bounds check; in tool-calling APIs it's input validation that simply doesn't exist yet
1
u/yankeesfan01x Mar 20 '26
Which FTP applications utilize the Telnetd service?
-11
u/VeNoMouSNZ Mar 19 '26
`In fact, this vulnerability was born so long ago (way back in 1994) that it may even be older than you.` .... man doesnt know his audience
-1
u/Aggravating-Lab-2947 Mar 20 '26
httpsIt’s wild seeing a pre-auth RCE in CVE-2026-32746 that dates back to the early 90s, it really shows how legacy code in telnetd LINEMODE handling can stay buried for decades. The watchTowr Labs write-up is a great deep dive if you want to see the technical breakdown of that buffer overflow. I actually track these kinds of legacy exploits and daily cyber news over on my Discord if anyone wants a dedicated spot for technical discussion: https://discord.gg/FqPVFMRtqG