CVE-2026-130875
7.5HighPublished 17 Nov 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite
High
0CVSS v3.110
- Attack vector
- Network
- Complexity
- High
- Privileges
- Low
- User action
- None
- Impact
- Full C/I/A compromise
- Weakness
- CWE-783
What an attacker gets
Authenticated attackers with the TACACS+ shared key can execute arbitrary code or crash the tac_plus-ng daemon. They need network access to the TACACS+ port and the shared secret to trigger the overflow.
Root cause
An operator precedence error in packet validation functions allows an argument-length table to exceed the actual payload, leading to a stack-based buffer overflow during memory copy.
Affected versions
tac_plus-ng versions prior to commit d8493e0.
CVSS v3.1 · CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Fix & remediation
Update tac_plus-ng to commit d8493e0 or later. If you cannot patch immediately, restrict access to the TACACS+ port to trusted management IPs only.
$ git checkout d8493e0 && make clean && make && sudo make installAI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD description
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.
References
- https://github.com/tacplus-ng/event-driven-servers/blob/e20ac825b915492eb4bf5713340a2b0441f01f84/tac_plus-ng/author.c#L66-L96
- 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/commit/d8493e0d6420b91737fa34c2cd7bbd365d023b5b
- https://github.com/tacplus-ng/event-driven-servers/security/advisories/GHSA-v384-f7x8-f7c7
- https://www.vulncheck.com/advisories/tac-plus-ng-before-commit-d8493e0-stack-based-buffer-overflow-via-packet-length-checks