{"id":"CVE-2026-47269","aliases":["CVE-2026-47269"],"related":[],"kind":"vulnerability","state":"published","title":"pam_usb: deny_remote feature incorrectly classifies IPv4-mapped IPv6 remote connections as local","summary":"pam_usb provides hardware authentication for Linux using ordinary removable media. Prior to 0.9.0,  pam_usb's deny_remote feature checks utmpx ut_addr_v6 to detect whether an authentication request originates from a remote session. The outer guard was if (utent->ut_addr_v6[0] != 0), which only tests the first 32-bit word of the 128-bit address field. IPv4-mapped IPv6 addresses (::ffff:x.x.x.x) store the IPv4 address in ut_addr_v6[3] with ut_addr_v6[0] == 0. On systems where the SSH daemon listens on :: (IPv6 wildcard) with AddressFamily any -- common on Ubuntu and Debian -- incoming IPv4 connections are recorded in utmpx as IPv4-mapped IPv6 addresses. The outer check evaluates to false, the remote-detection block is skipped entirely, and the session is treated as local. deny_remote=true does not block the authentication. An attacker with physical access to a registered USB device can authenticate over SSH on an affected system as if they were sitting at a local terminal, bypassing the deny_remote restriction. This vulnerability is fixed in 0.9.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"pam_usb provides hardware authentication for Linux using ordinary removable media. Prior to 0.9.0,  pam_usb's deny_remote feature checks utmpx ut_addr_v6 to detect whether an authentication request originates from a remote session. The outer guard was if (utent->ut_addr_v6[0] != 0), which only tests the first 32-bit word of the 128-bit address field. IPv4-mapped IPv6 addresses (::ffff:x.x.x.x) store the IPv4 address in ut_addr_v6[3] with ut_addr_v6[0] == 0. On systems where the SSH daemon listens on :: (IPv6 wildcard) with AddressFamily any -- common on Ubuntu and Debian -- incoming IPv4 connections are recorded in utmpx as IPv4-mapped IPv6 addresses. The outer check evaluates to false, the remote-detection block is skipped entirely, and the session is treated as local. deny_remote=true does not block the authentication. An attacker with physical access to a registered USB device can authenticate over SSH on an affected system as if they were sitting at a local terminal, bypassing the deny_remote restriction. This vulnerability is fixed in 0.9.0.","source":"cvelist"},{"lang":"es","text":"pam_usb proporciona autenticación de hardware para Linux utilizando medios extraíbles ordinarios. Antes de la versión 0.9.0, la característica deny_remote de pam_usb verifica utmpx ut_addr_v6 para detectar si una solicitud de autenticación se origina de una sesión remota. La protección externa era if (utent  ->  ut_addr_v6[0] != 0), que solo prueba la primera palabra de 32 bits del campo de dirección de 128 bits. Las direcciones IPv6 mapeadas a IPv4 (::ffff:x.x.x.x) almacenan la dirección IPv4 en ut_addr_v6[3] con ut_addr_v6[0] == 0. En sistemas donde el demonio SSH escucha en :: (comodín IPv6) con AddressFamily any -- común en Ubuntu y Debian -- las conexiones IPv4 entrantes se registran en utmpx como direcciones IPv6 mapeadas a IPv4. La verificación externa se evalúa como falsa, el bloque de detección remota se omite por completo y la sesión se trata como local. deny_remote=true no bloquea la autenticación. Un atacante con acceso físico a un dispositivo USB registrado puede autenticarse a través de SSH en un sistema afectado como si estuviera sentado en un terminal local, eludiendo la restricción deny_remote. Esta vulnerabilidad se corrige en la versión 0.9.0.","source":"nvd"}],"published":"2026-05-27T20:11:44.975Z","modified":"2026-10-26T12:10:00.130Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4,"rating":"HIGH"}],"cwes":["CWE-284"],"affected":[{"ranges":[{"version":"< 0.9.0","status":"affected"}],"vendor":"mcdope","product":"pam_usb","source":"cvelist"}],"references":[{"url":"https://github.com/mcdope/pam_usb/security/advisories/GHSA-jmmj-qhrq-w45g","tags":["x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/mcdope/pam_usb/commit/804fe24eae3d742d8be05fd015e36abc3c7d94e5","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-05-28T12:50:16.970Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-47269","url":"https://www.cve.org/CVERecord?id=CVE-2026-47269","licence":"CVE Terms of Use","modified":"2026-05-28T12:50:50.859Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-47269","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47269","licence":"Public domain","modified":"2026-10-26T12:10:00.130Z"}],"updatedAt":"2026-11-25T22:59:22.694Z","epss":{"score":0.00307,"percentile":0.2527,"date":"2026-12-01T12:00:22.000Z"}}