CVEfocus › CVE database › CVE-2026-45698

CVE-2026-45698Netatalk has Integer Underflow → Stack Buffer Overflow in deletedir()

CVSS 7.5 HighEPSS 0.4% (higher than 31% of CVEs)Published 2026-08-17Updated 2026-08-17Assigner: GitHub_M

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.

CWE-191

What to do

Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
7Fix pending
1Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10netatalkFix pendingUBUNTU-CVE-2026-45698
Ubuntu 26.04netatalkUnder investigationUBUNTU-CVE-2026-45698
Ubuntu 25.10netatalkWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-45698
Ubuntu 24.04netatalkFix pendingUBUNTU-CVE-2026-45698
Ubuntu 22.04netatalkFix pendingUBUNTU-CVE-2026-45698
Ubuntu 20.04netatalkFix pendingUBUNTU-CVE-2026-45698
Ubuntu 18.04netatalkFix pendingUBUNTU-CVE-2026-45698
Ubuntu 16.04netatalkFix pendingUBUNTU-CVE-2026-45698
Ubuntu 14.04netatalkFix pendingUBUNTU-CVE-2026-45698
Debian 14netatalkFixed4.4.3~ds-1DEBIAN-CVE-2026-45698
Debian 13netatalkFixed4.2.3~ds-1+deb13u2DEBIAN-CVE-2026-45698
Alpine Linux 3.24netatalkFixed4.4.3-r0ALPINE-CVE-2026-45698

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.