Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.1%top 98%

CVE-2026-47271: CWE-476: NULL Pointer Dereference in mcdope pam_usb

0
Medium
VulnerabilityCVE-2026-47271cvecve-2026-47271cwe-476
Published: 05/27/2026 (05/27/2026, 20:08:02 UTC)
Source: CVE Database V5
Vendor/Project: mcdope
Product: pam_usb

Description

CVE-2026-47271 is a NULL pointer dereference vulnerability in pam_usb versions prior to 0.9.0. The issue arises because out-of-memory guards implemented with assert() are compiled out in release builds, causing allocation functions to return NULL without checks. This leads to a crash in the PAM module when memory allocation fails, resulting in a local denial-of-service by preventing authentication via sudo or login. The vulnerability is fixed in version 0.9.0.

CVSS v3.1

Score 5.1medium

Attack Vector
Local
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

GitHub Actionsmore threats →ai
mcdope/pam_usb
pkg:github/mcdope/pam_usb
Affected versions
<0.9.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/03/2026, 20:53:11 UTC

Technical Analysis

The vulnerability in pam_usb (before version 0.9.0) stems from the removal of assert-based out-of-memory guards in memory allocation functions (xmalloc, xrealloc, xstrdup) due to the NDEBUG macro being defined in release builds. Without these guards, these functions return NULL on allocation failure, but the codebase does not check for NULL before dereferencing, causing a NULL pointer dereference crash. This crash in the PAM module disrupts authentication processes such as sudo and login, creating a local denial-of-service condition. The issue is resolved in pam_usb version 0.9.0.

Potential Impact

An attacker capable of inducing memory pressure at authentication time can cause the pam_usb module to crash due to NULL pointer dereference. This crash prevents successful authentication via sudo or login for all users during the crash period, resulting in a local denial-of-service. There is no impact on confidentiality or integrity, only availability is affected.

Mitigation Recommendations

This vulnerability is fixed in pam_usb version 0.9.0. Users and administrators should upgrade to version 0.9.0 or later to remediate this issue. Since no official patch link or advisory is provided, verify the upgrade availability from the vendor or trusted repositories. Until upgraded, be aware that inducing memory pressure can cause authentication failures.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-05-18T23:03:37.229Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a17519de29bf47b50e771a1

Added to database: 05/27/2026, 20:18:37 UTC

Last enriched: 06/03/2026, 20:53:11 UTC

Last updated: 07/31/2026, 19:22:59 UTC

Views: 37

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses