目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1310

100%

CVE-2026-47271— pam_usb 调试宏移除OOM保护致空指针解引用崩溃

CVSS 5.1 · Medium
获取后续新漏洞提醒登录后订阅

一、 漏洞 CVE-2026-47271 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
pam_usb: OOM guards removed by -DNDEBUG cause NULL dereference and authentication process crash
来源: 美国国家漏洞数据库 NVD
Vulnerability Description
pam_usb provides hardware authentication for Linux using ordinary removable media. Prior to 0.9.0, src/mem.c implemented out-of-memory guards for xmalloc(), xrealloc(), and xstrdup() using assert(data != NULL). The C standard specifies that all assert() expressions are compiled out when NDEBUG is defined at build time. NDEBUG is commonly defined in release and packaging builds (Debian, Fedora, Arch package flags all define it via -DNDEBUG in CFLAGS). With the guard removed, xmalloc/xrealloc/xstrdup silently return NULL on allocation failure. Every caller in the codebase dereferences the return value without a NULL check -- this is the intended design, as the guard was supposed to abort before the dereference. With the guard gone, any allocation failure causes a NULL pointer dereference, crashing the PAM module. A crash in a PAM module loaded by sudo or login causes authentication to fail for the duration of the crash, creating a local denial-of-service condition. An attacker who can induce memory pressure at authentication time can lock all users out of sudo and login. This vulnerability is fixed in 0.9.0.
来源: 美国国家漏洞数据库 NVD
CVSS Information
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
来源: 美国国家漏洞数据库 NVD
Vulnerability Type
空指针解引用
来源: 美国国家漏洞数据库 NVD

受影响产品

厂商产品影响版本CPE订阅
mcdopepam_usb < 0.9.0 -

二、漏洞 CVE-2026-47271 的公开POC

#POC 描述源链接神龙链接
AI 生成 POC高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-47271 的情报信息

登录查看更多情报信息。

CVE-2026-47271 补丁与修复 (1)

CVE-2026-47271 厂商安全公告 (1)

同批安全公告 · mcdope · 2026-05-27 · 共 15 条

CVE-2026-447138.8 HIGHpam_usb 通过$TMUX环境变量命令注入导致RCE漏洞
CVE-2026-447128.2 HIGHpam_usb 通过设备 UUID 和用户名注入 Shell 漏洞
CVE-2026-480648.1 HIGHpam_usb PAM_RHOST检查绕过允许XDMCP身份验证绕过
CVE-2026-447117.9 HIGHpam_usb 链接攻击绕过认证并导致根目录损坏
CVE-2026-447097.8 HIGHpam_usb 环境变量导致任意命令执行漏洞
CVE-2026-472697.4 HIGHpam_usb 远程IPv4映射IPv6地址误判漏洞
CVE-2026-472727.1 HIGHpam_usb OTP垫认证绕过漏洞
CVE-2026-480656.7 MEDIUMpam_usb 32位平台xmalloc前整数乘法未检查导致堆溢出
CVE-2026-472736.5 MEDIUMpam_usb PAM标识符XPath注入漏洞
CVE-2026-472746.3 MEDIUMpam_usb 路径变量注入导致权限提升漏洞
CVE-2026-472706.3 MEDIUMpam_usb多线程环境strtok竞态条件导致deny_remote结果损坏漏洞
CVE-2026-480665.7 MEDIUMpam_usb 日志静态指针线程不安全致数据竞争漏洞
CVE-2026-447104.6 MEDIUMpam_usb UDisks空指针解引用导致PAM崩溃
CVE-2026-487924.4 MEDIUMpam_usb 远程桌面检测绕过漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2026-47271

暂无评论


发表评论