{"id":"DEBIAN-CVE-2026-62318","details":"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.","modified":"2026-11-21T05:00:15.456413120Z","published":"2026-11-20T18:18:54.807Z","upstream":["CVE-2026-62318"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-62318"}],"affected":[{"package":{"name":"netatalk","ecosystem":"Debian:13","purl":"pkg:deb/debian/netatalk?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.2.3~ds-1","4.2.3~ds-1+deb13u1","4.2.3~ds-1+deb13u2","4.2.3~ds-2","4.2.3~ds-2.1","4.4.1~ds-1","4.4.2~ds-1","4.4.3~ds-1","4.5.0~ds-1","4.5.0~ds-2","4.5.0~ds-3","4.5.1~ds-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-62318.json"}},{"package":{"name":"netatalk","ecosystem":"Debian:14","purl":"pkg:deb/debian/netatalk?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.5.1~ds-1"}]}],"versions":["4.2.3~ds-1","4.2.3~ds-2","4.2.3~ds-2.1","4.4.1~ds-1","4.4.2~ds-1","4.4.3~ds-1","4.5.0~ds-1","4.5.0~ds-2","4.5.0~ds-3"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-62318.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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/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"}]}