Skip to content
Heist/ feed
Back to feed
High

pam_authnft: Heap buffer overflow in NETLINK_SOCK_DIAG reply walker

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-43916
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 01:31 UTC · Revision 1

Source evidence

pam_authnft: Heap buffer overflow in NETLINK_SOCK_DIAG reply walker

core-osv · Original source

Published 12 May 2026, 13:31 UTC

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.

osv:CVE-2026-43916
Complete source record
{
  "id": "9fd8e6e23ef5ce4bb27e20e2f7a9d6b6dcf911c79b3747538a0db284283555b5",
  "url": "https://osv.dev/vulnerability/CVE-2026-43916",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "pam_authnft: Heap buffer overflow in NETLINK_SOCK_DIAG reply walker",
    "summary": "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.",
    "evidence": "osv:CVE-2026-43916",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-43916",
      "aliases": [
        "CVE-2026-43916",
        "GHSA-5jj5-hm34-78vh"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/Strykar/pam_authnft",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "75f2c8bfb0ffc63e68979928e0b1aa3f457263aa"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.2.0-alpha"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.2.0-alpha"
                      }
                    ],
                    "source": "DESCRIPTION"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.1.0-alpha"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-43916.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:48.794521851Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43916.json",
        "https://github.com/identd-ng/pam_authnft/security/advisories/GHSA-5jj5-hm34-78vh",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-43916",
        "https://github.com/identd-ng/pam_authnft/pull/10"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-125",
          "CWE-191"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43916.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-43916",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 517000,
  "published_at": "2026-05-12T13:31:44.359+00:00"
}