CVE-2026-130875
tac_plus-ng before commit d8493e0 contains a stack-based buffer overflow vulnerability that allows clients holding the TACACS+ shared key to overflow a stack b…
Impact
tac_plus-ng before commit d8493e0 contains a stack-based buffer overflow vulnerability that allows clients holding the TACACS+ shared key to overflow a stack buffer due to an operator precedence error in author_pak_looks_bogus() and accounting_pak_looks_bogus(). Attackers can send packets whose argument-length table exceeds the payload, causing eval_args() to read past the packet and memcpy() oversized cmd values into cmdline, crashing the daemon or executing code.
An attacker can exploit this over the network, with a regular user account, without any action by a user. Specific conditions have to be met, which makes an attack harder. If it succeeds: high risk of data being read, high risk of data or systems being changed, high risk of outages.
Affected products · MarcJHuber
| Product | Affected versions |
|---|---|
| Tac Plus-ng | before d8493e0d6420b91737fa34c2cd7bbd365d023b5b |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/tacplus-ng/event-driven-servers/security/advisories/GHSA-v384-f7x8-f7c7
- https://github.com/tacplus-ng/event-driven-servers/commit/d8493e0d6420b91737fa34c2cd7bbd365d023b5b
- https://github.com/tacplus-ng/event-driven-servers/blob/e20ac825b915492eb4bf5713340a2b0441f01f84/tac_plus-ng/packet.c#L511-L540
- https://github.com/tacplus-ng/event-driven-servers/blob/e20ac825b915492eb4bf5713340a2b0441f01f84/tac_plus-ng/author.c#L66-L96
- https://www.vulncheck.com/advisories/tac-plus-ng-before-commit-d8493e0-stack-based-buffer-overflow-via-packet-length-checks
- https://github.com/advisories/GHSA-j8j8-frcr-8f56
- https://nvd.nist.gov/vuln/detail/CVE-2026-130875