Skip to content
DayZeroHub
High Not yet writtenCVSS 7.7CVE-2026-103933

CVE-2026-103933: Netatalk: RCE - Heap out-of-bounds write in `get_eacontent()` (AppleDouble EA backend) leading to remote code execution in `afpd`

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-103933: high-severity vulnerability (CVSS 7.7) 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. From 2.1.0 until 4.5.2, get_eacontent in libatalk/vfs/ea_ad.c subtracts MAX_REPLY_EXTRA_BYTES from a client-controlled FPGetExtAttr MaxReplySize without rejecting values from 1 through 5, and a signed-to-unsigned comparison can then select an untrusted AppleDouble ea_size. An authenticated client on a volume configured with ea = ad can use a pre-existing malformed AppleDouble sidecar to make read copy attacker-controlled bytes beyond dsi->data + 6 into the surrounding struct DSI, including protocol callback pointers. The malformed sidecar must already exist or be created through a separate local, co-export, management, restore, or vulnerability-assisted write path, and practical code execution depends on the target architecture, structure layout, and address uncertainty; runtime command execution was demonstrated on one x86-64 build. Volumes using ea = sys, ea = none, or ea = auto when it resolves to native system xattrs do not reach this path. This issue is fixed in version 4.5.2.

Why it matters

High severity, CVSS 7.7.

Affected products and versions

Netatalk netatalk >= 2.1.0, < 4.5.2

ProductVersionsFixed in
Netatalk netatalk>= 2.1.0, < 4.5.2—

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-787

Relevant change history

  1. Published

    Preliminary advisory published.