{"id":"CVE-2026-130875","summary":"tac_plus-ng before commit d8493e0 Stack-Based Buffer Overflow via packet length checks","details":"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.","aliases":["GHSA-v384-f7x8-f7c7"],"modified":"2026-11-18T01:05:08.338772748Z","published":"2026-11-17T19:47:23.969Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/130xxx/CVE-2026-130875.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-783"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/130xxx/CVE-2026-130875.json"},{"type":"PACKAGE","url":"https://github.com/tacplus-ng/event-driven-servers"},{"type":"ARTICLE","url":"https://github.com/tacplus-ng/event-driven-servers/blob/e20ac825b915492eb4bf5713340a2b0441f01f84/tac_plus-ng/author.c#L66-L96"},{"type":"ARTICLE","url":"https://github.com/tacplus-ng/event-driven-servers/blob/e20ac825b915492eb4bf5713340a2b0441f01f84/tac_plus-ng/packet.c#L511-L540"},{"type":"FIX","url":"https://github.com/tacplus-ng/event-driven-servers/commit/d8493e0d6420b91737fa34c2cd7bbd365d023b5b"},{"type":"ADVISORY","url":"https://github.com/tacplus-ng/event-driven-servers/security/advisories/GHSA-v384-f7x8-f7c7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-130875"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/tac-plus-ng-before-commit-d8493e0-stack-based-buffer-overflow-via-packet-length-checks"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/tacplus-ng/event-driven-servers","events":[{"introduced":"0"},{"fixed":"d8493e0d6420b91737fa34c2cd7bbd365d023b5b"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"d8493e0d6420b91737fa34c2cd7bbd365d023b5b"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"d8493e0d6420b91737fa34c2cd7bbd365d023b5b"}]}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-130875.json","vanir_signatures":[{"id":"CVE-2026-130875-0bb1c8da","signature_type":"Function","signature_version":"v1","source":"https://github.com/tacplus-ng/event-driven-servers/commit/d8493e0d6420b91737fa34c2cd7bbd365d023b5b","target":{"file":"tac_plus-ng/packet.c","function":"accounting_pak_looks_bogus"},"deprecated":false,"digest":{"length":608,"function_hash":"125233079402574974394915541558341475518"}},{"digest":{"line_hashes":["154002887380468834982906805732691314798","86527398526418504973241299674719563047","75017862074030909329583156733517076536","283320567898268786696760660828034925708","154002887380468834982906805732691314798","86527398526418504973241299674719563047","45954024378733284051129185951539271583","28486988445920045487093797657548912958"],"threshold":0.9},"id":"CVE-2026-130875-3ed9535f","signature_type":"Line","signature_version":"v1","source":"https://github.com/tacplus-ng/event-driven-servers/commit/d8493e0d6420b91737fa34c2cd7bbd365d023b5b","target":{"file":"tac_plus-ng/packet.c"},"deprecated":false},{"signature_version":"v1","source":"https://github.com/tacplus-ng/event-driven-servers/commit/d8493e0d6420b91737fa34c2cd7bbd365d023b5b","target":{"file":"tac_plus-ng/packet.c","function":"author_pak_looks_bogus"},"deprecated":false,"digest":{"function_hash":"94195748499433505454239975130387949569","length":616},"id":"CVE-2026-130875-b0e0bc59","signature_type":"Function"}],"vanir_signatures_modified":"2026-11-18T01:05:08Z"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}