Integer underflow in Netatalk Spotlight RPC leaks heap memory
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · None · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
Netatalk before 4.4.3 contains an integer underflow in the Spotlight RPC unmarshalling loop sl_unpack_loop in afpd (CWE-191). An authenticated AFP client can send an excessive element count so the subtraction wraps and the loop reads heap memory past its bounds (CWE-125). The out-of-bounds values are returned in the Spotlight RPC response, disclosing heap contents.
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. Prior to 4.4.3, the afpd Spotlight RPC unmarshalling loop in etc/afpd/spotlight_marshalling.c subtracts an attacker-controlled subcount from the unsigned count variable in sl_unpack_loop without verifying that subcount is not larger. An authenticated AFP client can place an excessive element count in the sl_unpack_ints, sl_unpack_uuid, sl_unpack_floats, or sl_unpack_date handler, or in a null element, so the subtraction wraps near UINT_MAX and the loop continues reading heap memory at increasing offsets up to toc_offset, which is capped at 65000. The out-of-bounds values can be stored in dalloc structures and returned in the Spotlight RPC response, disclosing heap contents. This issue is fixed in version 4.4.3.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
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.4.3, which fixes this issue.
Written with Claude Haiku 5.5 from the sources below · 2026-11-25
- Fix · CNA netatalk (Netatalk) Fixed in 4.4.3
Vendor assessments
Timeline
- 2026-11-20 Threatist record created from CVE-2026-45356
- 2026-11-20 CISA SSVC decision points changed
- 2026-11-25 EPSS moved to the below the 50th percentile
- 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-9963-q595-wm2x
- https://github.com/Netatalk/netatalk/commit/795ed7ef539d171f417511abba5b0a666b2a3300
- https://github.com/Netatalk/netatalk/commit/caffd8b400dec9966cbe289a3b0a8c385c352c01
- https://github.com/Netatalk/netatalk/releases/tag/netatalk-4-4-3
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-45356 · CVE Program
- CVE-2026-45356 · NVD
- FIRST EPSS
- CVE-2026-45356 · 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