Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconGain access to netlink socket interface
-
DeliveryCraft malformed NETLINK_SOCK_DIAG reply
-
ExploitTrigger PAM session establishment
-
InstallDeliver crafted message during peer lookup
-
C2Trigger heap over-read in peer_lookup_tcp
-
ExecuteCrash PAM authentication process
-
ImpactDisrupt session-based firewall enforcement
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to deliver crafted NETLINK_SOCK_DIAG protocol messages to the pam_authnft module during active PAM session establishment. This attack surface exists ONLY when pam_authnft is actively configured in the PAM stack (typically /etc/pam.d/common-session or service-specific PAM configs) AND actively processing authentication sessions. The vulnerability is NOT exploitable against systems where pam_authnft is installed but not enabled in PAM configuration. The CVSS vector AV:N suggests network access, but netlink sockets are kernel-internal IPC mechanisms - practical exploitation likely requires local process privileges or compromise of a daemon with CAP_NET_ADMIN or similar capabilities to manipulate netlink socket communications. The specific attack vector (whether truly remote or requiring local context) is not fully clarified in available data. Limiting factors: niche deployment (PAM modules with nftables integration are not default on most Linux distributions), requires active authentication sessions in progress, and impact limited to denial-of-service rather than code execution or privilege escalation. |
| Impact | Real-world risk is moderate despite the 8.7 CVSS score. The CVSS 4.0 vector (AV:N/AC:L/PR:N/UI:N/VA:H) correctly identifies remote network exploitation without authentication leading to high availability impact, but critically shows NO confidentiality or integrity impact (VC:N/VI:N). This is purely a denial-of-service vulnerability, not code execution. Exploitation requires the ability to send crafted NETLINK_SOCK_DIAG replies to the PAM module - this is NOT a standard network protocol accessible over the internet but rather a local netlink socket interface typically used by system utilities. The 'AV:N' rating may be misleading; netlink sockets are kernel-internal IPC mechanisms, though the description states 'network vector' which requires clarification from the vendor. No EPSS score provided in input data, and no CISA KEV listing confirms this is not actively exploited in the wild. The primary risk is to Linux systems using pam_authnft for authentication-based firewall rules where crashing the PAM stack could bypass access controls or cause authentication failures. Tagged as both Information Disclosure and Buffer Overflow, though the CVSS impact profile shows no confidentiality breach - the Information Disclosure tag may refer to potential memory content exposure via the over-read, though the primary weaponizable impact is availability disruption. Given the niche deployment (PAM modules with nftables integration), attack surface is limited to environments specifically using this component. |
| Exploit ScenarioDerived | An attacker with the ability to inject crafted netlink messages into the NETLINK_SOCK_DIAG socket replies (potentially via local access or compromised system daemon with netlink privileges) sends a malformed socket diagnostic response with manipulated size fields. The pam_authnft module's peer_lookup_tcp function fails to properly validate the message boundaries, reads past the allocated heap buffer, and crashes. This denial-of-service disrupts PAM authentication processing, potentially causing login failures or bypassing session-based firewall rules. If a publicly available exploit exists, it would likely be a Python or C program using the netlink socket API to construct the malicious NETLINK_SOCK_DIAG reply. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 12, 2026
Heap buffer over-read in pam_authnft allows remote denial-of-service via crafted netlink messages. pam_authnft < 0.2.0-alpha contains a CWE-125 buffer over-read in the peer_lookup_tcp function when parsing NETLINK_SOCK_DIAG replies, allowing unauthenticated network attackers to trigger crashes by sending malformed netlink diagnostic messages that bypass message-size validation. This PAM module binds nftables firewall rules to authenticated sessions, so exploitation disrupts authentication infrastructure. Vendor-released patch: 0.2.0-alpha (GitHub PR #10). No public exploit identified at time of analysis.
RemediationAI
Upgrade to pam_authnft version 0.2.0-alpha or later, which contains the fix delivered via GitHub PR #10 (https://github.com/identd-ng/pam_authnft/pull/10). The patch adds comprehensive input validation to peer_lookup_tcp and introduces five new fuzzing harnesses (fuzz_netlink_diag, fuzz_keyring_sanitize, fuzz_correlation_capture, fuzz_cgroup_path, fuzz_socket_inode) to prevent regression. Review the vendor security advisory at https://github.com/identd-ng/pam_authnft/security/advisories/GHSA-5jj5-hm34-78vh for complete remediation steps. If immediate upgrade is not feasible, consider temporarily disabling pam_authnft in PAM configuration files (/etc/pam.d/*) and reverting to static nftables rules, though this eliminates per-session firewall binding and may reduce security posture. Monitor authentication logs for unexpected PAM module crashes. Network-level mitigation is not applicable as netlink sockets are kernel-internal IPC; standard network firewalls do not filter this traffic.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
pam_authnft is a PAM (Pluggable Authentication Modules) session module that integrates Linux nftables firewall rules with user sessions by tracking cgroup v2 inodes. The vulnerability resides in src/peer_lookup.c:134 where peer_lookup_tcp processes netlink socket diagnostic messages (NETLINK_SOCK_DIAG protocol, part of Linux kernel's socket monitoring subsystem). The flaw is a classic CWE-125 heap buffer over-read: the function's message-size check was insufficient to prevent dereferencing memory past the end of the allocated heap buffer when processing specially crafted netlink replies. The CPE identifier cpe:2.3:a:identd-ng:pam_authnft confirms this affects the identd-ng project's PAM authentication NFT integration component. The fix in PR #10 introduced fuzzing harnesses including fuzz_netlink_diag specifically targeting the NETLINK_SOCK_DIAG parsing path, indicating the vendor recognized this attack surface during security hardening.
Know when Pam Authnft gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
4DescriptionCVE.org
pam_authnft is a PAM session module binding nftables firewall rules to authenticated sessions via cgroupv2 inodes. Prior to 0.2.0-alpha, a heap buffer over-read in peer_lookup_tcp (src/peer_lookup.c:134, prior to the fix) allowed a crafted NETLINK_SOCK_DIAG reply to slip past the message-size check, then dereference past the end of the allocation. This vulnerability is fixed in 0.2.0-alpha.
Executive ViewAI
pam_authnft versions prior to 0.2.0-alpha contain a heap buffer over-read vulnerability that allows unauthenticated remote attackers to crash the authentication module via malformed network messages, potentially disrupting login infrastructure across affected systems. Organizations using this PAM module for firewall-session integration face immediate availability risk if exploitation occurs.
Apply vendor patch. If immediate patching is infeasible, implement network-level controls to restrict untrusted access to netlink diagnostic sockets (NETLINK_SOCK_DIAG) and monitor for unexpected netlink traffic patterns on authentication infrastructure.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-29474
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB