CVE-2026-62318

Source
https://cve.org/CVERecord?id=CVE-2026-62318
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-62318.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-62318
Aliases
  • GHSA-5wp7-47vr-j2mh
Downstream
Published
2026-11-20T17:27:58Z
Modified
2026-11-21T21:00:52Z
Severity
  • 9.3 (Critical) CVSS_V4 - 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 CVSS Calculator
Summary
Netatalk: afpd DHX2 UAM pre-authentication use-after-free and double-free via repeated FPLoginCont
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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-415",
        "CWE-416"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62318.json"
}
References

Affected packages

Git / github.com/netatalk/netatalk

Affected ranges

Type
GIT
Repo
https://github.com/netatalk/netatalk
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "2.0.0"
                },
                {
                    "fixed": "4.5.1"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StringRangeExpression"
        },
        {
            "range": [
                {
                    "fixed": "c2ea1f459d85c17a43378ea85a19912ce5eb3dd1"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "range": [
                {
                    "fixed": "fe0a2b72a64b4f0291fa1ca8c049f56b5081d65a"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "original_tag": "netatalk-4-5-1",
            "range": [
                {
                    "fixed": "0d134658238508af8e463a412f434a033368ba18"
                }
            ],
            "source": "REFERENCES_TAG"
        }
    ]
}

Affected versions

Other
netatalk-3-1-4
netatalk-3-1-5
netatalk-3-1-6
netatalk-3-1-7
netatalk-3-1-8
netatalk-3-2-0
netatalk-3-2-1
netatalk-3-2-2
netatalk-3-2-3
netatalk-3-2-4
netatalk-4-0-0
netatalk-4-0-1
netatalk-4-0-2
netatalk-4-0-3
netatalk-4-0-4
netatalk-4-0-5
netatalk-4-0-6
netatalk-4-0-7
netatalk-4-0-8
netatalk-4-1-0
netatalk-4-1-1
netatalk-4-2-0
netatalk-4-2-1
netatalk-4-2-2
netatalk-4-2-3
netatalk-4-3-0
netatalk-4-3-1
netatalk-4-3-2
netatalk-4-4-0
netatalk-4-5-0
netatalk-4-5-0beta

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-62318.json"