Read the docs

Heap buffer overflow in Netatalk afpd Spotlight RPC replies

Priority MEDIUM 46CWE-119Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00466 32nd percentileScored 2026-11-30
Fix Fixed netatalk (Netatalk): 4.5.1

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

VendorProductAffected versionsFixed inStatusSource
Netatalknetatalk3.1.0 to before 4.5.14.5.1Patch availableCNA
  • netatalk VendorNetatalk Affected 3.1.0 to before 4.5.1 Fixed in 4.5.1 Patch available CNA

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

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-11-20 Threatist record created from CVE-2026-62321
  2. 2026-11-25 CISA SSVC decision points changed
  3. 2026-11-25 Affected versions changed · Red Hat
  4. 2026-11-25 CVSS score added · Red Hat

References

  • 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
See all 65 →

Sources