CVE-2026-130875
tac_plus-ng before commit d8493e0 Stack-Based Buffer Overflow via packet length checks
- CVSS
- 7.7
- EPSS
- 0.43% (p39)
- Published
- 2026-11-17
- Age
- 19d old
- Modified
- 2026-11-24
- Product
- MarcJHuber tac_plus-ng
- Aliases
- GHSA-v384-f7x8-f7c7
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
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.
Fixed in
d8493e0d6420b91737fa34c2cd7bbd365d023b5b
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | tac_plus-ng | >=0, <d8493e0d6420b91737fa34c2cd7bbd365d023b5b | d8493e0d6420b91737fa34c2cd7bbd365d023b5b |
Sources
- NVD · first seen 19d ago · NVD terms of use
- OSV · first seen 19d ago · CC-BY 4.0
- CVE List · first seen 19d ago · CVE Terms of Use
References
- https://github.com/tacplus-ng/event-driven-servers/security/advisories/GHSA-v384-f7x8-f7c7 vendor-advisory
- https://github.com/tacplus-ng/event-driven-servers/commit/d8493e0d6420b91737fa34c2cd7bbd365d023b5b patch
- https://github.com/tacplus-ng/event-driven-servers/blob/e20ac825b915492eb4bf5713340a2b0441f01f84/tac_plus-ng/packet.c#L511-L540 technical-description
- https://github.com/tacplus-ng/event-driven-servers/blob/e20ac825b915492eb4bf5713340a2b0441f01f84/tac_plus-ng/author.c#L66-L96 technical-description
- https://www.vulncheck.com/advisories/tac-plus-ng-before-commit-d8493e0-stack-based-buffer-overflow-via-packet-length-checks third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/130xxx/CVE-2026-130875.json advisory
- https://github.com/tacplus-ng/event-driven-servers package
- https://nvd.nist.gov/vuln/detail/CVE-2026-130875 advisory