CVE-2026-62318
published critical CVSS 4.0 · 9.3Netatalk: afpd DHX2 UAM pre-authentication use-after-free and double-free via repeated FPLoginCont
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Netatalk | — | netatalk>= 2.0.0, < 4.5.1 | Affected | Not stated | GitHub_M |
| Alpine Linux | edge | netatalk | Fixed | 4.5.1-r0 | Package fix record |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.3 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Netatalk | netatalk | >= 2.0.0, < 4.5.1 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-415 CWE-415: Double Free
- CWE-416 CWE-416: Use After Free
References
4- https://github.com/Netatalk/netatalk/commit/c2ea1f459d85c17a43378ea85a19912ce5eb3dd1
- https://github.com/Netatalk/netatalk/commit/fe0a2b72a64b4f0291fa1ca8c049f56b5081d65a
- https://github.com/Netatalk/netatalk/releases/tag/netatalk-4-5-1
- https://github.com/Netatalk/netatalk/security/advisories/GHSA-5wp7-47vr-j2mh
Provider assertions
2GitHub_M · cna
Netatalk: afpd DHX2 UAM pre-authentication use-after-free and double-free via repeated FPLoginCont
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ac377fc224a4b5bd70e36a7128629c67872068c28b89faa234730249c6cdefde
- Ingested
- 23 Nov 2026, 16:46:16 UTC
- Source record
- Official CVE record