8.7high
pam_authnft: Heap buffer overflow in NETLINK_SOCK_DIAG reply walker
- Severity
- 8.7high CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.26% (higher than 19% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| identd-ng pam_authnft | < 0.2.0-alpha | CVE List |
Classification
What each source says
CVE List
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.
NVD (es)
pam_authnft es un módulo de sesión PAM que vincula reglas de cortafuegos de nftables a sesiones autenticadas a través de inodos cgroupv2. Antes de la versión 0.2.0-alpha, una lectura excesiva del búfer de la pila en peer_lookup_tcp (src/peer_lookup.c:134, antes de la corrección) permitía que una respuesta NETLINK_SOCK_DIAG manipulada eludiera la comprobación del tamaño del mensaje, y luego desreferenciara más allá del final de la asignación. Esta vulnerabilidad está corregida en la versión 0.2.0-alpha.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-43916 changed 2026-05-13 | CVE Terms of Use |
| NVD | CVE-2026-43916 changed 2026-10-26 | Public domain |