CVE-2026-62318 Details
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.
A memory corruption vulnerability has been identified in Netatalk versions 2.0.0 prior to 4.5.1, specifically within the DHX2 and DHX2-PAM authentication modules used by the Apple Filing Protocol daemon (afpd). The issue arises in the authentication state machine, where the same continuation step can be invoked multiple times with a released session identifier. This flaw allows a remote attacker without valid AFP credentials to exploit the authentication process, leading to a use-after-free and double-free condition. The vulnerability causes a crash of the afpd worker handling the request, creating a denial-of-service situation. While the vulnerability has not been demonstrated to allow code execution, the nature of the memory corruption could potentially be exploited to achieve such an outcome.
Users are advised to upgrade to Netatalk version 4.5.1, where this vulnerability has been patched. Instructions for upgrading are available in the Netatalk 4.5.1 release notes.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 20, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Netatalk/netatalk/commit/c2ea1f459d85c17a43378ea85a19912ce5eb3dd1 | [email protected] | Source CodeVendor |
| https://github.com/Netatalk/netatalk/commit/fe0a2b72a64b4f0291fa1ca8c049f56b5081d65a | [email protected] | Source CodeVendor |
| https://github.com/Netatalk/netatalk/releases/tag/netatalk-4-5-1 | [email protected] | Release NotesVendor |
| https://github.com/Netatalk/netatalk/security/advisories/GHSA-5wp7-47vr-j2mh | [email protected] | AdvisoryBundleRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-415 | Double Free | [email protected] |
| CWE-416 | Use After Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Netatalk | >= 2.0.0, <= 4.5.0 (semver) |
CPE
Remediation
| |
Change History
1 change record found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 20, 2026 | New CVE Received | [email protected] |
Volerion