CVE-2026-49388
Netatalk: Heap out-of-bounds read in afpd Spotlight RPC unmarshalling via unbounded toc_index in sl_unpack_loop()
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.
Fixes and workarounds
No remediation reported in collected sources.
Missing remediation information is not evidence that no patch exists.
Affected products and versions
| Product | Versions | Authority |
|---|---|---|
| netatalk Netatalk |
>= 3.1.0, < 4.5.0 (affected) | CNA: GitHub_M |
netatalknetatalk
other |
>= 3.1.0 (affected, GitHub advisory range) | GitHub GHSA-5fvw-g64v-r556 |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 3.1 / 7.1 high |
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L | CNA: GitHub_M |
| 3.1 / 7.1 high |
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L | NVD: [email protected] |
Exploit evidence
- https://github.com/Netatalk/netatalk/security/advisories/GHSA-32jr-2xqg-gv48
exploit · ADP: CISA-ADP
References
- https://github.com/Netatalk/netatalk/security/advisories/GHSA-5fvw-g64v-r556CNA: GitHub_M · x_refsource_CONFIRM
- https://github.com/Netatalk/netatalk/commit/117c7679642a0b4c986ea68d51f6a7fc655527fdCNA: GitHub_M · x_refsource_MISC
- https://github.com/Netatalk/netatalk/releases/tag/netatalk-4-5-0CNA: GitHub_M · x_refsource_MISC
- https://github.com/Netatalk/netatalk/security/advisories/GHSA-32jr-2xqg-gv48ADP: CISA-ADP · exploit
- https://github.com/Netatalk/netatalk/commit/117c7679642a0b4c986ea68d51f6a7fc655527fd[email protected]
- https://github.com/Netatalk/netatalk/releases/tag/netatalk-4-5-0[email protected]
- https://github.com/Netatalk/netatalk/security/advisories/GHSA-5fvw-g64v-r556[email protected]
- https://github.com/Netatalk/netatalk/security/advisories/GHSA-32jr-2xqg-gv48134c704f-9b21-4f2e-91b3-4a467353bcc0
- https://github.com/Netatalk/netatalk/security/advisories/GHSA-5fvw-g64v-r556GitHub Security Advisories · advisory
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.