CVE Catalog

CVE-2026-62318

CriticalCVSS 9.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

High risk
1.67%

78th percentile - higher than 78% of all known CVEs

Summary

In Netatalk from 2.0.0 until 4.5.1, the DHX2 and DHX2-PAM authentication state machine allows logincont1 to be invoked again with the same retID after releasing the Ra object, leading to use-after-free and double-free. A remote attacker without valid AFP credentials can repeat the first continuation step, causing a repeatable pre-authentication crash of the afpd worker.

Risk Assessment

The vulnerability enables remote unauthenticated denial of service and a plausible allocator exploitation primitive that could lead to code execution in a privileged process. Organizations running Netatalk with DHX2 or DHX2-PAM enabled are exposed to DoS and potential further escalation.

Recommendation

Upgrade Netatalk to version 4.5.1 or later. Until patched, consider disabling DHX2 and DHX2-PAM in the UAM list and restricting access to the AFP port.

Other vulnerabilities in Netatalk

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS