CVE-2026-144457: CERN ROOT before 6.40.00 Stack Buffer Overflow via TAuthenticate::SecureRecv Length
CERN ROOT before 6.40.00 contains a stack-based buffer overflow vulnerability in TAuthenticate::SecureRecv() in net/auth/src/TAuthenticate.cxx, which reads a length string from the peer and receives that many bytes into a fixed 4096-byte stack buffer without checking the length against the buffer size. Attackers who control, or can intercept the connection to, a server that a ROOT client authenticates to with the legacy ROOT socket authentication, such as TSocket::CreateAuthSocket() or rootd:// connections using password (UsrPwd) authentication, can send an oversized length while the client receives the password salt, random tag or session token, overflowing the client's stack and crashing it or possibly executing code.
Affected Software
Event History
Frequently Asked Questions
Which systems are exposed to exploitation?
The affected party is the ROOT client, not merely the server. Exposure exists when a client authenticates to a server using legacy ROOT socket authentication, including TSocket::CreateAuthSocket() or rootd:// connections using UsrPwd authentication.
What does an attacker need to exploit this issue?
An attacker must control the authentication server or be able to intercept the client's connection to it. They must send an oversized length value while the client is receiving authentication data such as a password salt, random tag, or session token.
What should be prioritized if remediation cannot happen immediately?
Prioritize clients that use legacy ROOT socket password authentication and that connect to untrusted or interceptable servers. Restrict those connections to trusted endpoints and protected network paths until the client can be updated to version 6.40.00 or later.