CVE-2026-62318: critical vulnerability in netatalk
Netatalk: afpd DHX2 UAM pre-authentication use-after-free and double-free via repeated FPLoginCont
Published
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
28Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 9.3epss 1.3%
Netatalk is a Free and Open Source file server suite for Unix-like operating systems. From 2.0.0 until 4.5.1, the DHX2 and DHX2-PAM authentication state machine in etc/uams/uams_dhx2_pam.c permits logincont1 to be invoked again with the same FPLoginCont retID after it has released the global gcry_mpi_t Ra object. When DHX2 or DHX2PAM is enabled in the UAM list, a remote attacker without valid AFP credentials can repeat the first continuation step, causing gcry_mpi_powm to dereference the freed Ra value and gcry_mpi_release to free it again in a privileged afpd worker. The demonstrated result is a repeatable pre-authentication worker crash, and the use-after-free and double-free provide a plausible allocator exploitation primitive although code execution was not demonstrated. This issue is fixed in version 4.5.1.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Affected products
Netatalk · netatalkRelated CVEs — netatalk
In the same product, most dangerous first.
CVE-2026-62320HIGHNetatalk: afpd unauthenticated DSI request smuggling via silent dsi_len truncation in dsi_tcp_open()EPSS 1.1%CVE-2026-110780MEDIUMNetatalk: Spotlight mdssvc: NULL-pointer dereference in RPC request handlersEPSS 1.0%CVE-2026-45356HIGHNetatalk: Unsigned Integer Underflow in Spotlight RPC Count Decrement (sl_unpack_loop)EPSS 0.8%CVE-2026-45355HIGHNetatalk: Integer Underflow in Spotlight RPC String Length Calculation (sl_unpack_cpx)EPSS 0.8%CVE-2026-110779MEDIUMNetatalk: Spotlight sl_createCNIDArray(): type-confusion heap out-of-bounds read on mixed-type kMDQueryItemArrayEPSS 0.7%CVE-2026-103933HIGHNetatalk: RCE - Heap out-of-bounds write in `get_eacontent()` (AppleDouble EA backend) leading to remote code execution in `afpd`EPSS 0.7%
References
https://github.com/Netatalk/netatalk/commit/c2ea1f459d85c17a43378ea85a19912ce5eb3dd1https://github.com/Netatalk/netatalk/commit/fe0a2b72a64b4f0291fa1ca8c049f56b5081d65ahttps://github.com/Netatalk/netatalk/releases/tag/netatalk-4-5-1https://github.com/Netatalk/netatalk/security/advisories/GHSA-5wp7-47vr-j2mh