Heap buffer overflow in Netatalk afpd Spotlight RPC replies
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-119 and the CVSS impact.
Summary
Netatalk from 3.1.0 before 4.5.1 has an out-of-bounds write (CWE-787) in the afpd Spotlight RPC reply path. The reply path passes a shifted sub-buffer to nested metadata packing without the remaining capacity of the outer reply buffer, so writes go past it and corrupt heap memory. An authenticated AFP client can trigger this by requesting an amplified nested file-metadata tree.
Written with Claude Haiku 5.5 from the sources below · 2026-11-25
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade Netatalk to version 4.5.1, which fixes the issue.
Written with Claude Haiku 5.5 from the sources below · 2026-11-25
- Fix · CNA netatalk (Netatalk) Fixed in 4.5.1
Vendor assessments
Timeline
- 2026-11-20 Threatist record created from CVE-2026-62321
- 2026-11-25 CISA SSVC decision points changed
- 2026-11-25 Affected versions changed · Red Hat
- 2026-11-25 CVSS score added · Red Hat
References
Other 4
- https://github.com/Netatalk/netatalk/security/advisories/GHSA-42mm-6m68-h9g2
- https://github.com/Netatalk/netatalk/commit/490327e0f59e75d6cfb34ed35053d6cc4d6eb1e3
- https://github.com/Netatalk/netatalk/commit/db4d6fc004dfa8336f9143782404164e059f2328
- https://github.com/Netatalk/netatalk/releases/tag/netatalk-4-5-1
More Netatalk vulnerabilities
- TI-2018-01076 Out-of-bounds write in Netatalk CVSS 3.1CRITICAL 9.8
- TI-2024-25689 Netatalk before 3.2.1 has an off-by-one error and resultant heap-based buffer overflow… CVSS 3.1CRITICAL 9.8
- TI-2024-25690 Netatalk before 3.2.1 has an off-by-one error, and resultant heap-based buffer overflow… CVSS 3.1HIGH 7.5
- TI-2022-22254 Netatalk through 3.1.13 has an afp_getappl heap-based buffer overflow resulting in code… CVSS 3.1HIGH 7.8
- TI-2026-95949 Out-of-bounds heap read in Netatalk Spotlight RPC unmarshalling CVSS 3.1HIGH 7.1
- TI-2026-95948 Out-of-bounds read in Netatalk afpd Spotlight RPC handling CVSS 3.1HIGH 7.1
Sources
- CVE-2026-62321 · CVE Program
- CVE-2026-62321 · NVD
- FIRST EPSS
- CVE-2026-62321 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences