{"id":"CVE-2026-48066","state":"PUBLISHED","title":"pam_usb: Thread-unsafe static pointer in log.c causes data race under concurrent PAM authentication","description":"pam_usb provides hardware authentication for Linux using ordinary removable media. Prior to 0.9.1, src/log.c contains a process-wide static pointer that is written on every PAM invocation with the address of a stack-local variable. This violates the PAM re-entrancy requirement and creates a data race when the PAM stack is invoked concurrently from multiple threads. This vulnerability is fixed in 0.9.1.","publishedAt":"2026-05-27T19:57:42.557Z","updatedAt":"2026-05-28T12:54:38.194Z","severity":{"score":5.7,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["mcdope pam_usb"],"affected":[{"vendor":"mcdope","product":"pam_usb","versions":[{"version":"< 0.9.1","status":"affected"}]}],"references":["https://github.com/mcdope/pam_usb/security/advisories/GHSA-qg76-57wq-mpv6","https://github.com/mcdope/pam_usb/issues/350","https://github.com/mcdope/pam_usb/issues/55"],"weaknesses":["CWE-362","CWE-476"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/48xxx/CVE-2026-48066.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-48066","state":"PUBLISHED","datePublished":"2026-05-27T19:57:42.557Z","dateUpdated":"2026-05-28T12:54:38.194Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-05-20T18:25:25.707Z"},"containers":{"cna":{"title":"pam_usb: Thread-unsafe static pointer in log.c causes data race under concurrent PAM authentication","descriptions":[{"lang":"en","value":"pam_usb provides hardware authentication for Linux using ordinary removable media. Prior to 0.9.1, src/log.c contains a process-wide static pointer that is written on every PAM invocation with the address of a stack-local variable. This violates the PAM re-entrancy requirement and creates a data race when the PAM stack is invoked concurrently from multiple threads. This vulnerability is fixed in 0.9.1."}],"affected":[{"vendor":"mcdope","product":"pam_usb","versions":[{"version":"< 0.9.1","status":"affected"}]}],"references":[{"url":"https://github.com/mcdope/pam_usb/security/advisories/GHSA-qg76-57wq-mpv6","name":"https://github.com/mcdope/pam_usb/security/advisories/GHSA-qg76-57wq-mpv6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/mcdope/pam_usb/issues/350","name":"https://github.com/mcdope/pam_usb/issues/350","tags":["x_refsource_MISC"]},{"url":"https://github.com/mcdope/pam_usb/issues/55","name":"https://github.com/mcdope/pam_usb/issues/55","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":5.7,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-362","lang":"en","description":"CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-476","lang":"en","description":"CWE-476: NULL Pointer Dereference","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-05-27T19:59:06.293Z"},"source":{"advisory":"GHSA-qg76-57wq-mpv6","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-05-28T12:54:24.115213Z","id":"CVE-2026-48066","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-05-28T12:54:38.194Z"}}]}}}