Skip to content
DayZeroHub
High Not yet writtenCVSS 7.1CVE-2026-45356

CVE-2026-45356: Netatalk: Unsigned Integer Underflow in Spotlight RPC Count Decrement (sl_unpack_loop)

Netatalk netatalk

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-45356: high-severity vulnerability (CVSS 7.1) in Netatalk netatalk.

What happened

Original description from the source: 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

High severity, CVSS 7.1.

Affected products and versions

Netatalk netatalk < 4.4.3

ProductVersionsFixed in
Netatalk netatalk< 4.4.3—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-125, CWE-191

Relevant change history

  1. Published

    Preliminary advisory published.