# CVE-2026-49388: Netatalk: Heap out-of-bounds read in afpd Spotlight RPC unmarshalling via unbounded toc_index in sl_unpack_loop()

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.0, sl_unpack_loop in etc/afpd/spotlight_marshalling.c uses an attacker-controlled Spotlight table-of-contents index during FPSpotlightRPC without checking it against the number of entries or the remaining dsi->commands buffer. An authenticated AFP client with access to a Spotlight-enabled volume can choose a large toc_index whose multiplication and addition produce an out-of-range address, causing an attacker-influenced heap read and reliably crashing the worker serving that session. The earlier CVE-2026-44066 remediation bounded recursion depth and toc_offset but did not bound toc_index. This issue is fixed in version 4.5.0.

## Remediation

No remediation reported in collected sources

## Affected products and versions

- Netatalk / netatalk: >= 3.1.0, < 4.5.0 (affected). Source: CNA: GitHub_M
-  / netatalk (netatalk): >= 3.1.0 (affected, GitHub advisory range). Source: GitHub GHSA-5fvw-g64v-r556

## Severity and prioritization

- CVSS 3.1: 7.1 (high); CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L; source: CNA: GitHub_M

- CVSS 3.1: 7.1 (high); CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L; source: NVD: security-advisories@github.com

- CISA KEV: No listing in collected sources

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

- SSVC: exploitation poc; automatable no; technical impact partial; source ADP: CISA-ADP

- Weaknesses: CWE-125

## Exploit evidence

- exploit: https://github.com/Netatalk/netatalk/security/advisories/GHSA-32jr-2xqg-gv48 (ADP: CISA-ADP)

## References

- https://github.com/Netatalk/netatalk/security/advisories/GHSA-5fvw-g64v-r556 (CNA: GitHub_M; x_refsource_CONFIRM)

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

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

- https://github.com/Netatalk/netatalk/security/advisories/GHSA-32jr-2xqg-gv48 (ADP: CISA-ADP; exploit)

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

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

- https://github.com/Netatalk/netatalk/security/advisories/GHSA-5fvw-g64v-r556 (security-advisories@github.com)

- https://github.com/Netatalk/netatalk/security/advisories/GHSA-32jr-2xqg-gv48 (134c704f-9b21-4f2e-91b3-4a467353bcc0)

- https://github.com/Netatalk/netatalk/security/advisories/GHSA-5fvw-g64v-r556 (GitHub Security Advisories; advisory)

## Provenance

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

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

- GitHub Security Advisories: https://github.com/Netatalk/netatalk/security/advisories/GHSA-5fvw-g64v-r556; retrieved 2026-11-22; source updated 2026-07-27

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

Revision: 345217e54a75de5d598bdf752c142ef08b46ee88af356418fd79e06a8d369037

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

## 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.