# CVE-2026-62321: Netatalk: afpd Spotlight RPC heap-buffer-overflow in nested sl_pack_filemeta() marshalling

Status: published. Published: 2026-11-20. Updated: 2026-11-25.

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.

## Remediation

- fix: Netatalk: GitHub reports patched versions 4.5.1. Check the advisory for the affected release branch. (source: GitHub GHSA-42mm-6m68-h9g2) — https://github.com/Netatalk/netatalk/security/advisories/GHSA-42mm-6m68-h9g2

## Affected products and versions

- Netatalk / netatalk: >= 3.1.0, < 4.5.1 (affected). Source: CNA: GitHub_M
-  / Netatalk (Netatalk): 3.1.0-4.5.0 (affected, GitHub advisory range). Source: GitHub GHSA-42mm-6m68-h9g2

## Severity and prioritization

- CVSS 4.0: 8.7 (high); 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; source: CNA: GitHub_M

- CVSS 4.0: 8.7 (high); 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X; source: NVD: security-advisories@github.com

- CISA KEV: No listing in collected sources

- EPSS: 0.47% as of 2026-11-24; percentile 41.37%

- SSVC: exploitation none; automatable yes; technical impact total; source ADP: CISA-ADP

- Weaknesses: CWE-119, CWE-787

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://github.com/Netatalk/netatalk/security/advisories/GHSA-42mm-6m68-h9g2 (CNA: GitHub_M; x_refsource_CONFIRM)

- https://github.com/Netatalk/netatalk/commit/490327e0f59e75d6cfb34ed35053d6cc4d6eb1e3 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/Netatalk/netatalk/commit/db4d6fc004dfa8336f9143782404164e059f2328 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/Netatalk/netatalk/releases/tag/netatalk-4-5-1 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/Netatalk/netatalk/commit/490327e0f59e75d6cfb34ed35053d6cc4d6eb1e3 (security-advisories@github.com)

- https://github.com/Netatalk/netatalk/commit/db4d6fc004dfa8336f9143782404164e059f2328 (security-advisories@github.com)

- https://github.com/Netatalk/netatalk/releases/tag/netatalk-4-5-1 (security-advisories@github.com)

- https://github.com/Netatalk/netatalk/security/advisories/GHSA-42mm-6m68-h9g2 (security-advisories@github.com)

- https://github.com/Netatalk/netatalk/security/advisories/GHSA-42mm-6m68-h9g2 (GitHub Security Advisories; advisory)

## Provenance

- CNA: GitHub_M: https://www.cve.org/CVERecord?id=CVE-2026-62321; retrieved 2026-11-25; source updated 2026-11-25

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-62321; retrieved 2026-11-25; source updated 2026-11-25

- GitHub Security Advisories: https://github.com/Netatalk/netatalk/security/advisories/GHSA-42mm-6m68-h9g2; retrieved 2026-11-25; source updated 2026-09-11

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-62321; retrieved 2026-11-25; source updated Not reported

Revision: b085ef67312260e3705a1cb6a74ca0a9772fbc919ca894a5a13ade3601da2c41

Canonical: https://y2.dev/cve/CVE-2026-62321

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.