{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "3.1.0"
                  },
                  {
                    "fixed": "4.5.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "490327e0f59e75d6cfb34ed35053d6cc4d6eb1e3"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "db4d6fc004dfa8336f9143782404164e059f2328"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "netatalk-4-5-1",
                "range": [
                  {
                    "fixed": "0d134658238508af8e463a412f434a033368ba18"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0d134658238508af8e463a412f434a033368ba18"
            },
            {
              "fixed": "490327e0f59e75d6cfb34ed35053d6cc4d6eb1e3"
            },
            {
              "fixed": "db4d6fc004dfa8336f9143782404164e059f2328"
            }
          ],
          "repo": "https://github.com/netatalk/netatalk",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-42mm-6m68-h9g2"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-119",
      "CWE-787"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62321.json"
  },
  "details": "Netatalk is a Free and Open Source file server suite for Unix-like operating systems. From 3.1.0 until 4.5.1, the afpd Spotlight RPC fetchQueryResultsForContext: reply path in etc/afpd/spotlight_marshalling.c calls the top-level sl_pack function from sl_pack_filemeta on a shifted sub-buffer without passing the remaining capacity of the outer DSI reply buffer. An authenticated AFP client can request an amplified nested file-metadata tree so the nested packer applies MAX_SLQ_DAT relative to the shifted pointer and writes beyond struct DSI::data. The out-of-bounds write corrupts heap memory beyond the DSI reply buffer. This issue is fixed in version 4.5.1.",
  "id": "CVE-2026-62321",
  "modified": "2026-11-21T20:46:05.591087422Z",
  "published": "2026-11-20T17:25:30.394Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/Netatalk/netatalk/releases/tag/netatalk-4-5-1"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62321.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/Netatalk/netatalk/security/advisories/GHSA-42mm-6m68-h9g2"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-62321"
    },
    {
      "type": "FIX",
      "url": "https://github.com/Netatalk/netatalk/commit/490327e0f59e75d6cfb34ed35053d6cc4d6eb1e3"
    },
    {
      "type": "FIX",
      "url": "https://github.com/Netatalk/netatalk/commit/db4d6fc004dfa8336f9143782404164e059f2328"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Netatalk: afpd Spotlight RPC heap-buffer-overflow in nested sl_pack_filemeta() marshalling"
}