Double Free Affecting netatalk package, versions <4.5.1~ds-1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
1.28% (71st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN14-NETATALK-17996960
  • published17 Jul 2026
  • disclosed20 Nov 2026

Introduced: 17 Jul 2026

CVE-2026-62318  (opens in a new tab)
CWE-415  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade Debian:14 netatalk to version 4.5.1~ds-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream netatalk package and not the netatalk package as distributed by Debian. See How to fix? for Debian:14 relevant fixed versions and status.

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.