CVE-2026-130875

tac_plus-ng before commit d8493e0 Stack-Based Buffer Overflow via packet length checks

Published Nov 17, 2026 CVSS 4.0 · 7.7 High EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

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.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade tac_plus-ng to the version that includes commit d8493e0 or later.
  • If an immediate upgrade is not possible, restrict TACACS+ access to trusted networks or disable the service from clients that cannot be patched.
  • Monitor tac_plus-ng logs for unusual packet lengths or crashes and alert system administrators when anomalies are detected.

Generated by OpenCVE AI on November 17, 2026 at 21:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
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.
Title tac_plus-ng before commit d8493e0 Stack-Based Buffer Overflow via packet length checks
Weaknesses CWE-783
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 7.7, 'vector': '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'}

Subscriptions

No data.

Weaknesses
  • CWE-783

    Operator Precedence Logic Error

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 17, 2026, 10:24 PM
Reserved
Nov 17, 2026, 5:51 PM
Status
Received
Published
Nov 17, 2026, 8:17 PM
Modified
Nov 17, 2026, 11:17 PM