CVE-2026-45698

Source
https://cve.org/CVERecord?id=CVE-2026-45698
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45698.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-45698
Aliases
  • GHSA-5443-v9xg-mqgv
Downstream
Published
2026-08-17T18:21:19Z
Modified
2026-09-11T08:26:29Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Netatalk has Integer Underflow → Stack Buffer Overflow in deletedir()
Details

Netatalk is a Free and Open Source file server suite for Unix-like operating systems. In versions 3.1.19 through 4.4.2, a stack-based buffer overflow exists in the deletedir() function of Netatalk's afpd daemon due to an integer underflow in the calculation of the remaining buffer size used for path construction. deletedir() is a utility function called when a file operation crosses a device boundary inside an AFP shared volume, which the standard library's renameat() cannot handle. The function attempts to prevent buffer overflows by tracking available space in a size_t remain variable. However, the arithmetic used to compute remain results in an unsigned integer underflow, causing the variable to become SIZE_MAX. Because of this, the subsequent boundary check always evaluates as safe, allowing an unbounded strcpy() operation to copy attacker-controlled filenames into a nearly full stack buffer. Version 4.4.3 patches the issue.

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

Affected packages

Git / github.com/netatalk/netatalk

Affected ranges

Type
GIT
Repo
https://github.com/netatalk/netatalk
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "3.1.19"
        },
        {
            "fixed": "4.4.3"
        }
    ],
    "source": "AFFECTED_FIELD"
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45698.json"
vanir_signatures
[
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "215141121896600908796849240124689245428",
                "71653758640624212713779880627955343792",
                "33931554466328782955026750452656123332"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-45698-0639040a",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/netatalk/netatalk/commit/79b13d9e7c77d3ab0e8b36c639fd3eb05ec06f04",
        "target": {
            "file": "etc/netatalk/netatalk.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "27433150117303302554307116966419102353",
            "length": 437
        },
        "id": "CVE-2026-45698-f738b5af",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/netatalk/netatalk/commit/79b13d9e7c77d3ab0e8b36c639fd3eb05ec06f04",
        "target": {
            "file": "etc/netatalk/netatalk.c",
            "function": "quote_shell_arg"
        }
    }
]
vanir_signatures_modified
"2026-09-11T08:26:29Z"