{"id":"CVE-2026-62318","aliases":["GHSA-5wp7-47vr-j2mh","EUVD-2026-131691"],"title":"Netatalk: afpd DHX2 UAM pre-authentication use-after-free and double-free via repeated FPLoginCont","originalDescription":"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.","severity":{"cvss":9.3,"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","label":"critical"},"exploitation":{"kev":null,"epss":{"score":0.01073,"percentile":0.64454},"exploitDb":null},"affected":[],"references":[{"url":"https://github.com/Netatalk/netatalk/security/advisories/GHSA-5wp7-47vr-j2mh","type":"x_refsource_CONFIRM"},{"url":"https://github.com/Netatalk/netatalk/commit/c2ea1f459d85c17a43378ea85a19912ce5eb3dd1","type":"x_refsource_MISC"},{"url":"https://github.com/Netatalk/netatalk/commit/fe0a2b72a64b4f0291fa1ca8c049f56b5081d65a","type":"x_refsource_MISC"},{"url":"https://github.com/Netatalk/netatalk/releases/tag/netatalk-4-5-1","type":"x_refsource_MISC"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62318.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62318","type":"advisory"}],"sources":[{"name":"nvd","at":"2026-11-23T17:41:18.329Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62318","license":"NVD terms of use","firstSeenAt":"2026-11-20T18:37:10.145Z"},{"name":"osv","at":"2026-11-23T18:15:19.143Z","url":"https://osv.dev/vulnerability/CVE-2026-62318","license":"CC-BY 4.0","firstSeenAt":"2026-11-21T21:34:31.633Z"},{"name":"euvd","at":"2026-11-23T21:33:13.094Z","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-131691","license":"ENISA","firstSeenAt":"2026-11-23T18:14:57.065Z"},{"name":"cvelistV5","at":"2026-11-24T10:12:00.881Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-62318","license":"CVE Terms of Use","firstSeenAt":"2026-11-20T18:01:34.516Z"}],"firstSeenAt":"2026-11-20T18:01:34.516Z","publishedAt":"2026-11-20T17:27:58.000Z","modifiedAt":"2026-11-23T17:45:35.554Z"}