{"id":"CVE-2026-62318","aliases":["CVE-2026-62318"],"related":[],"kind":"vulnerability","state":"published","title":"Netatalk: afpd DHX2 UAM pre-authentication use-after-free and double-free via repeated FPLoginCont","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-20T17:27:58.220Z","modified":"2026-11-23T17:17:55.270Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":9.3,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":9.3,"rating":"CRITICAL"}],"cwes":["CWE-415","CWE-416"],"affected":[{"ranges":[{"version":">= 2.0.0, < 4.5.1","status":"affected"}],"vendor":"Netatalk","product":"netatalk","source":"cvelist"}],"references":[{"url":"https://github.com/Netatalk/netatalk/security/advisories/GHSA-5wp7-47vr-j2mh","tags":["x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/Netatalk/netatalk/commit/c2ea1f459d85c17a43378ea85a19912ce5eb3dd1","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/Netatalk/netatalk/commit/fe0a2b72a64b4f0291fa1ca8c049f56b5081d65a","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/Netatalk/netatalk/releases/tag/netatalk-4-5-1","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-11-23T15:35:44.579Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-62318","url":"https://www.cve.org/CVERecord?id=CVE-2026-62318","licence":"CVE Terms of Use","modified":"2026-11-23T16:37:54.409Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-62318","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62318","licence":"Public domain","modified":"2026-11-23T17:17:55.270Z"}],"updatedAt":"2026-11-25T22:59:52.444Z","epss":{"score":0.01668,"percentile":0.77488,"date":"2026-12-02T12:00:21.000Z"}}