Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.9
CVE-2026-62318: Netatalk server may crash before authentication
CVE-2026-62318 · published 1 day ago
Summary
Versions of Netatalk from 2.0.0 through 4.5.1 can be made to stop working by a remote attacker who does not need valid AFP credentials. By repeatedly sending a specific login step, the attacker triggers a memory error that crashes the server process. Upgrade Netatalk to version 4.5.1 or later to fix the issue.
What to do
- Update debian netatalk to version 4.5.1~ds-1.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| Ubuntu:Pro:14.04:LTS | canonical | netatalk | All versions |
| Ubuntu:Pro:16.04:LTS | canonical | netatalk | All versions |
| Ubuntu:Pro:18.04:LTS | canonical | netatalk | All versions |
| Ubuntu:Pro:20.04:LTS | canonical | netatalk | All versions |
| Ubuntu:Pro:22.04:LTS | canonical | netatalk | All versions |
| Ubuntu:Pro:24.04:LTS | canonical | netatalk | All versions |
| Ubuntu:26.04:LTS | canonical | netatalk | All versions |
| – | netatalk | netatalk | >= 2.0.0, < 4.5.1 |
| Debian:13 | debian | netatalk | All versions |
| Debian:14 | debian | netatalk |
< 4.5.1~ds-1 Fix: upgrade to 4.5.1~ds-1
|
Original advisory text
Netatalk: afpd DHX2 UAM pre-authentication use-after-free and double-free via repeated FPLoginCont
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.
References
- https://ubuntu.com/security/CVE-2026-62318 Third Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2026-62318 Third Party Advisory
- https://netatalk.io/security/CVE-2026-62318 Third Party Advisory
- https://github.com/Netatalk/netatalk/commit/c2ea1f459d85c17a43378ea85a19912ce5eb... Patch
- https://github.com/Netatalk/netatalk/commit/fe0a2b72a64b4f0291fa1ca8c049f56b5081... Patch
- https://github.com/Netatalk/netatalk/releases/tag/netatalk-4-5-1 URL
- https://github.com/Netatalk/netatalk/security/advisories/GHSA-5wp7-47vr-j2mh Vendor Advisory
- https://security-tracker.debian.org/tracker/CVE-2026-62318 Vendor Advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62318... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-62318 Vendor Advisory
Severity
9.9
Critical
Type
CWE-415Double Free
CWE-416Use After Free
Timeline
Published20 Nov 2026
Updated21 Nov 2026
First seen17 Jul 2026
Sources
UBUNTU-CVE-2026-62318 · OSV
CVE-2026-62318 · NVD
CVE-2026-62318 · MITRE
CVE-2026-62318 · OSV
GHSA-5wp7-47vr-j2mh · GHSA
DEBIAN-CVE-2026-62318 · OSV
Track software like this
Free during beta