{"id":"CVE-2026-103933","state":"PUBLISHED","title":"Netatalk: RCE - Heap out-of-bounds write in `get_eacontent()` (AppleDouble EA backend) leading to remote code execution in `afpd`","description":"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.","publishedAt":"2026-11-20T17:30:35.469Z","updatedAt":"2026-11-20T20:55:15.732Z","severity":{"score":7.7,"label":"High","version":"4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["Netatalk netatalk"],"affected":[{"vendor":"Netatalk","product":"netatalk","versions":[{"version":">= 2.1.0, < 4.5.2","status":"affected"}]}],"references":["https://github.com/Netatalk/netatalk/security/advisories/GHSA-qj62-fcj5-w24x","https://github.com/Netatalk/netatalk/commit/7ce1448cafe985f2f9604b0341858ec5a03cfa79","https://github.com/Netatalk/netatalk/releases/tag/netatalk-4-5-2"],"weaknesses":["CWE-787"],"ingestedAt":"2026-11-20T20:58:06.130Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/103xxx/CVE-2026-103933.json","commit":"a0101464b98206961fd3077ddd6fd3f116b14bf3","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-103933","state":"PUBLISHED","datePublished":"2026-11-20T17:30:35.469Z","dateUpdated":"2026-11-20T20:55:15.732Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-10-01T14:20:19.156Z"},"containers":{"cna":{"title":"Netatalk: RCE - Heap out-of-bounds write in `get_eacontent()` (AppleDouble EA backend) leading to remote code execution in `afpd`","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Netatalk","product":"netatalk","versions":[{"version":">= 2.1.0, < 4.5.2","status":"affected"}]}],"references":[{"url":"https://github.com/Netatalk/netatalk/security/advisories/GHSA-qj62-fcj5-w24x","name":"https://github.com/Netatalk/netatalk/security/advisories/GHSA-qj62-fcj5-w24x","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Netatalk/netatalk/commit/7ce1448cafe985f2f9604b0341858ec5a03cfa79","name":"https://github.com/Netatalk/netatalk/commit/7ce1448cafe985f2f9604b0341858ec5a03cfa79","tags":["x_refsource_MISC"]},{"url":"https://github.com/Netatalk/netatalk/releases/tag/netatalk-4-5-2","name":"https://github.com/Netatalk/netatalk/releases/tag/netatalk-4-5-2","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"HIGH","attackRequirements":"PRESENT","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":7.7,"baseSeverity":"HIGH","vectorString":"CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-787","lang":"en","description":"CWE-787: Out-of-bounds Write","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-11-20T17:30:35.469Z"},"source":{"advisory":"GHSA-qj62-fcj5-w24x","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-20T20:55:09.751136Z","id":"CVE-2026-103933","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-20T20:55:15.732Z"}}]}}}