# CVE-2026-49387: Netatalk: Heap out-of-bounds read in afpd Spotlight RPC unmarshalling via unbounded element count in sl_unpack_ints() and sibling handlers

- Severity: High 7.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.76%, higher than 56% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-20T17:22:27.599Z
- Modified: 2026-11-25T05:18:36.007Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Netatalk is a Free and Open Source file server suite for Unix-like operating systems. From 3.1.0 until 4.5.0, the afpd FPSpotlightRPC unmarshalling handlers in etc/afpd/spotlight_marshalling.c trust the element count encoded in the upper 32 bits of an RPC tag without comparing it with the remaining input length. An authenticated client with access to a Spotlight-enabled volume can make sl_unpack_ints, sl_unpack_date, sl_unpack_uuid, or sl_unpack_floats iterate beyond dsi->commands and read heap memory. The read values remain in internal dalloc storage and no information-disclosure channel was demonstrated, but the worker serving the attacker's session can be crashed. This issue is fixed in version 4.5.0.

(As written by CVE List.)

## Affected

- Netatalk netatalk: >= 3.1.0, < 4.5.0

## References

- <https://github.com/Netatalk/netatalk/security/advisories/GHSA-32jr-2xqg-gv48> (exploit)
- <https://github.com/Netatalk/netatalk/commit/117c7679642a0b4c986ea68d51f6a7fc655527fd>
- <https://github.com/Netatalk/netatalk/releases/tag/netatalk-4-5-0>

## Sources

- CVE List: [CVE-2026-49387](https://www.cve.org/CVERecord?id=CVE-2026-49387), CVE Terms of Use, modified 2026-11-25
- NVD: [CVE-2026-49387](https://nvd.nist.gov/vuln/detail/CVE-2026-49387), Public domain, modified 2026-11-25

---

Page: https://cve.day/CVE-2026-49387 · Whole record: https://cve.day/CVE-2026-49387.json · Rebuilt by cve.day 2026-11-25T23:17:15.732Z
