Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
9.9

CVE-2026-62318: Netatalk afpd may crash before authentication

CVE-2026-62318 · published 12 days ago
Summary

The Netatalk file‑server software (versions 2.0.0 through 4.5.1) can be forced to stop working before a user logs in. An attacker who can connect to the server can repeat a login step and cause the server process to crash, potentially disrupting service. Upgrade to version 4.5.1 or later to stop the problem.

What to do
  • Update debian netatalk to version 4.5.1~ds-1.
Affected software
Ecosystem VendorProductAffected versions
Ubuntu:Pro:14.04:LTS canonical netatalk All versions
Ubuntu:Pro:16.04:LTS canonical netatalk All versions
Ubuntu:Pro:18.04:LTS canonical netatalk All versions
Ubuntu:Pro:20.04:LTS canonical netatalk All versions
Ubuntu:Pro:22.04:LTS canonical netatalk All versions
Ubuntu:Pro:24.04:LTS canonical netatalk All versions
Ubuntu:26.04:LTS canonical netatalk All versions
– netatalk netatalk >= 2.0.0, < 4.5.1
Debian:13 debian netatalk All versions
Debian:14 debian netatalk < 4.5.1~ds-1
Fix: upgrade to 4.5.1~ds-1
Original advisory text
Netatalk: afpd DHX2 UAM pre-authentication use-after-free and double-free via repeated FPLoginCont
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.
Fix within
Internet-facing 3 days
Internal 60 days
  • Not known to be exploited
  • Can be exploited automatically
  • Gives an attacker full control
Severity
9.9 Critical
Exploitation
2% chance of attack within 30 days
Type
CWE-415Double Free
CWE-416Use After Free
Timeline
Published20 Nov 2026
Updated2 Dec 2026
First seen17 Jul 2026
Track software like this
Free during beta