CVE-2026-48982
Full vulnerability record from the local CVENow database.
Description
pam_usb provides hardware authentication for Linux using ordinary removable media. In versions prior to 0.9.2, when updating a one-time pad file, a temporary file is created using open() without the O_EXCL flag. Without O_EXCL, the create operation is not atomic: two concurrent processes racing to update the same pad may both succeed in opening the file, with the second write silently overwriting the first. The one-time pad is the core replay-prevention mechanism of pam_usb. A successful race could result in the stored pad value diverging from what either process expected, potentially causing authentication failures or, in a precisely timed attack, creating a window for pad reuse. This issue has been fixed in version 0.9.2.
View original CVE JSON
{
"id": "CVE-2026-48982",
"sourceIdentifier": "[email protected]",
"published": "2026-06-18T20:16:14.530",
"lastModified": "2026-10-26T11:10:00.157",
"vulnStatus": "Deferred",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "pam_usb provides hardware authentication for Linux using ordinary removable media. In versions prior to 0.9.2, when updating a one-time pad file, a temporary file is created using open() without the O_EXCL flag. Without O_EXCL, the create operation is not atomic: two concurrent processes racing to update the same pad may both succeed in opening the file, with the second write silently overwriting the first. The one-time pad is the core replay-prevention mechanism of pam_usb. A successful race could result in the stored pad value diverging from what either process expected, potentially causing authentication failures or, in a precisely timed attack, creating a window for pad reuse. This issue has been fixed in version 0.9.2."
},
{
"lang": "es",
"value": "pam_usb proporciona autenticación de hardware para Linux utilizando medios extraíbles ordinarios. En versiones anteriores a la 0.9.2, al actualizar un archivo de pad de un solo uso, se crea un archivo temporal utilizando open() sin la bandera O_EXCL. Sin O_EXCL, la operación de creación no es atómica: dos procesos concurrentes compitiendo por actualizar el mismo pad pueden ambos lograr abrir el archivo, con la segunda escritura sobrescribiendo silenciosamente la primera. El pad de un solo uso es el mecanismo central de prevención de repeticiones de pam_usb. Una carrera exitosa podría resultar en que el valor del pad almacenado diverja de lo que cualquiera de los procesos esperaba, lo que podría causar fallos de autenticación o, en un ataque precisamente sincronizado, crear una ventana para la reutilización del pad. Este problema ha sido solucionado en la versión 0.9.2."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "mcdope",
"product": "pam_usb",
"versions": [
{
"version": "< 0.9.2",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:L",
"baseScore": 5.8,
"baseSeverity": "MEDIUM",
"attackVector": "LOCAL",
"attackComplexity": "HIGH",
"privilegesRequired": "LOW",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "LOW",
"integrityImpact": "HIGH",
"availabilityImpact": "LOW"
},
"exploitabilityScore": 1.0,
"impactScore": 4.7
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-06-22T15:35:08.355851Z",
"id": "CVE-2026-48982",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-362"
}
]
}
],
"references": [
{
"url": "https://github.com/mcdope/pam_usb/releases/tag/0.9.2",
"source": "[email protected]"
},
{
"url": "https://github.com/mcdope/pam_usb/security/advisories/GHSA-hxh6-9574-5vp6",
"source": "[email protected]"
}
]
}