CVE-2026-62318: Netatalk: afpd DHX2 UAM pre-authentication use-after-free and double-free via repeated FPLoginCont
Vulnerability summary
CVE-2026-62318 is a critical (CVSS 9.3) Double Free vulnerability in netatalk. EPSS estimates a 1.67% chance of exploitation in the next 30 days, higher than 77.5% of scored vulnerabilities.
Severe, CVSS 9.3 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 20-11-2026PublishedVulnerability first disclosed.
- 23-11-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 5 sources · 1 version- NVDNIST9.3CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · DebianEcosystem advisory · calculated9.3CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · UbuntuEcosystem advisory · calculated9.3CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- OSV · AlpineEcosystem advisory · calculated9.3CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS trend
Probability
1.67%
Chance of exploitation in the next 30 days
Percentile
78%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-415Double FreeThe product calls free() twice on the same memory address.
- CWE-416Use After FreeThe product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Alpine1 product
- netatalk< 4.5.1-r0
Debian1 product
- netatalkAll versions (No fix recorded) | < 4.5.1~ds-1
Netatalk1 product
- netatalk≥ 2.0.0, < 4.5.1
Ubuntu1 product
- netatalkAll versions (No fix recorded) | < 2.2.2-1ubuntu2.2+esm5 | < 2.2.5-1ubuntu0.2+esm5 | < 2.2.6-1ubuntu0.18.04.2+esm5 | < 3.1.12~ds-4ubuntu0.20.04.4+esm3 | < 3.1.12~ds-9ubuntu0.22.04.4+esm3 | < 3.1.18~ds-1ubuntu0.1~esm4 | < 4.2.3~ds-2.1ubuntu0.2+esm1
4 vendors · 4 products
References
10 links- github.com/Netatalk/netatalk/security/advisories/GHSA-5wp7-47vr-j2mhX Refsource CONFIRM
- github.com/Netatalk/netatalk/releases/tag/netatalk-4-5-1X Refsource MISC