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 gc…
- CVSS
- 9.3Critical
- Chance of exploitation (EPSS)
- 1.7%
- Published
- Nov 20, 2026
- In the news
- Not yet
What to do
A critical memory corruption flaw in Netatalk that can be attacked over the network without logging in. No attacks are reported yet, but patch it soon.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Affected versions
- Netatalk
- >= 2.0.0, < 4.5.1
Description
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.
Affected products
Get alerts for these →Timeline 3
Latest change: Tenable Cloud Security plugin 499255: Alpine: multiple netatalk packages: security update to 4.5.1-r0 (Dec 3, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Yesterday
Fri, Nov 20, 2026
- CVECVE-2026-62318 published (CVSS 9.3)CVE Program · 18:18 UTC
References 4
- github.com /Netatalk/netatalk/commit/c2ea1f459d85c17a43378ea85a19912ce5eb3dd1
- github.com /Netatalk/netatalk/commit/fe0a2b72a64b4f0291fa1ca8c049f56b5081d65a
- github.com /Netatalk/netatalk/releases/tag/netatalk-4-5-1
- github.com /Netatalk/netatalk/security/advisories/GHSA-5wp7-47vr-j2mh