Technical impact
tac_plus-ng contains a stack‑based buffer overflow that is triggered when an attacker holding the shared TACACS+ key sends a packet whose argument‑length table exceeds the payload size. The program’s eval_args reads past the packet boundary and a memcpy copies oversized data into a stack buffer named cmdline. The overflow can either crash the daemon or allow an attacker to execute arbitrary code on the host running tac_plus-ng.
Affected Systems
The flaw affects Marc JHuber’s tac_plus-ng on all releases prior to commit d8493e0. No specific version numbers are listed, but the issue is present in every build made before that commit. Systems running earlier versions should consider the upgrade path indicated by the commit hash or any official patch issued by the project.
Risk and Exploitability
The CVSS score for this flaw is 7.7, indicating high severity. The EPSS score is not available, so the exploitation probability cannot be quantified, but the lack of a public KEV listing suggests no documented widespread exploitation yet. Attackers must have network access to the TACACS+ service and knowledge of the shared key. Because the flaw is triggered by authenticated clients, the likely attack vector is a remote connection to the tac_plus-ng daemon over the TACACS+ protocol; this inference is drawn from the requirement of the shared key. The vulnerability could enable arbitrary code execution, posing a serious risk to services that rely on tac_plus-ng for authentication or accounting.