{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0.8.0"
                  },
                  {
                    "fixed": "0.9.3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "a62513f3da871d6576d751de3482eb80b9ac79f3"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "0.9.3",
                "range": [
                  {
                    "fixed": "9993723a2836c7de547ea380af521ed5f5b51651"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "76ebe69d37a508f8e9251c40d27c771d23c02064"
            },
            {
              "fixed": "9993723a2836c7de547ea380af521ed5f5b51651"
            },
            {
              "fixed": "a62513f3da871d6576d751de3482eb80b9ac79f3"
            }
          ],
          "repo": "https://github.com/mcdope/pam_usb",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-7583-9cqv-j9rf"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-285",
      "CWE-693"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64668.json"
  },
  "details": "pam_usb provides hardware authentication for Linux using removable media. From version 0.8.0 to before version 0.9.3, the deny_remote feature in pam_usb uses /usr/bin/w -i to detect whether the authenticating user has an active remote tmux session. In pusb_tmux_has_remote_clients() (src/tmux.c), the IPv6 detection pattern matched the address group and then immediately expected whitespace. On Linux systems with multi-homed network interfaces, w -i appends a zone index (scope identifier) to link-local IPv6 addresses — e.g. fe80::1%eth0. The %eth0 suffix appeared between the address and the next whitespace field, causing the regex match to fail even for an otherwise-matching remote session. The function returned \"no remote clients\" and granted access. This issue has been patched in version 0.9.3.",
  "id": "CVE-2026-64668",
  "modified": "2026-11-12T02:30:26.743494266Z",
  "published": "2026-11-11T03:50:14.037Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/mcdope/pam_usb/releases/tag/0.9.3"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64668.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/mcdope/pam_usb/security/advisories/GHSA-7583-9cqv-j9rf"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-64668"
    },
    {
      "type": "FIX",
      "url": "https://github.com/mcdope/pam_usb/commit/a62513f3da871d6576d751de3482eb80b9ac79f3"
    },
    {
      "type": "FIX",
      "url": "https://github.com/mcdope/pam_usb/pull/423"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "pam_usb: deny_remote bypassed by zone-indexed IPv6 addresses (fe80::1%eth0) in pusb_tmux_has_remote_clients"
}