{"id":"CVE-2026-47272","state":"PUBLISHED","title":"pam_usb: OTP pad authentication bypass via missing system pad check and uninitialized RNG buffer","description":"pam_usb provides hardware authentication for Linux using ordinary removable media. Prior to 0.9.0, the pusb_pad_compare() function in src/pad.c only verified that the user-side pad (~/.pamusb/device.pad) could be read, but did not enforce that the system-side pad (the pad file on the USB device) was also present and readable. If the user-side pad was deleted or unreadable, the function returned a failure that was treated as non-fatal in certain code paths, allowing authentication to succeed without the USB device being verified. A local user can delete their own ~/.pamusb/device.pad to remove the USB device requirement and authenticate without the physical device. This vulnerability is fixed in 0.9.0.","publishedAt":"2026-05-27T20:06:15.388Z","updatedAt":"2026-05-28T12:53:00.432Z","severity":{"score":7.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["mcdope pam_usb"],"affected":[{"vendor":"mcdope","product":"pam_usb","versions":[{"version":"< 0.9.0","status":"affected"}]}],"references":["https://github.com/mcdope/pam_usb/security/advisories/GHSA-vx6f-rrqr-j87c"],"weaknesses":["CWE-287","CWE-908"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/47xxx/CVE-2026-47272.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-47272","state":"PUBLISHED","datePublished":"2026-05-27T20:06:15.388Z","dateUpdated":"2026-05-28T12:53:00.432Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-05-18T23:03:37.230Z"},"containers":{"cna":{"title":"pam_usb: OTP pad authentication bypass via missing system pad check and uninitialized RNG buffer","descriptions":[{"lang":"en","value":"pam_usb provides hardware authentication for Linux using ordinary removable media. Prior to 0.9.0, the pusb_pad_compare() function in src/pad.c only verified that the user-side pad (~/.pamusb/device.pad) could be read, but did not enforce that the system-side pad (the pad file on the USB device) was also present and readable. If the user-side pad was deleted or unreadable, the function returned a failure that was treated as non-fatal in certain code paths, allowing authentication to succeed without the USB device being verified. A local user can delete their own ~/.pamusb/device.pad to remove the USB device requirement and authenticate without the physical device. This vulnerability is fixed in 0.9.0."}],"affected":[{"vendor":"mcdope","product":"pam_usb","versions":[{"version":"< 0.9.0","status":"affected"}]}],"references":[{"url":"https://github.com/mcdope/pam_usb/security/advisories/GHSA-vx6f-rrqr-j87c","name":"https://github.com/mcdope/pam_usb/security/advisories/GHSA-vx6f-rrqr-j87c","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":7.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-287","lang":"en","description":"CWE-287: Improper Authentication","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-908","lang":"en","description":"CWE-908: Use of Uninitialized Resource","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-05-27T20:06:15.388Z"},"source":{"advisory":"GHSA-vx6f-rrqr-j87c","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-05-28T12:52:21.630173Z","id":"CVE-2026-47272","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-05-28T12:53:00.432Z"}}]}}}