CVE-2026-45698
CVE-2026-45698 · Netatalk has Integer Underflow → Stack Buffer Overflow in deletedir()
CVSS 7.5 · High · EPSS 0.4% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- netatalkNo fix published
- netatalk Alpine 3.24Update to 4.4.3-r0
- netatalk Debian 13Update to 4.2.3~ds-1+deb13u2
- netatalk Debian 14Update to 4.4.3~ds-1
- and 9 more
Check the installed version:
apk list -I -o netatalkdpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="netatalk"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- DSA-6280-1 · Debian 13 ·
Stack: system
Affected products and versions
netatalk
- Versions
- >= 3.1.19, < 4.4.3: Affected
No fix published
netatalk Alpine 3.24
- Affected ranges
- ECOSYSTEM: < 4.4.3-r0
Update to 4.4.3-r0
netatalk Debian 13
- Versions
- 4.2.3~ds-1
- 4.2.3~ds-1+deb13u1
- Affected ranges
- ECOSYSTEM: < 4.2.3~ds-1+deb13u2
Update to 4.2.3~ds-1+deb13u2
netatalk Debian 14
- 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
- Affected ranges
- ECOSYSTEM: < 4.4.3~ds-1
Update to 4.4.3~ds-1
netatalk Ubuntu Pro 14.04 LTS
- Versions
- 2.2.2-1ubuntu1
- 2.2.2-1ubuntu2
- 2.2.2-1ubuntu2.2
- 2.2.2-1ubuntu2.2+esm1
- 2.2.2-1ubuntu2.2+esm2
- 2.2.2-1ubuntu2.2+esm3
All versions (7)
- 2.2.2-1ubuntu2.2+esm4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
netatalk Ubuntu Pro 16.04 LTS
- Versions
- 2.2.5-1
- 2.2.5-1ubuntu0.2
- 2.2.5-1ubuntu0.2+esm1
- 2.2.5-1ubuntu0.2+esm2
- 2.2.5-1ubuntu0.2+esm3
- 2.2.5-1ubuntu0.2+esm4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
netatalk Ubuntu Pro 18.04 LTS
- Versions
- 2.2.6-1
- 2.2.6-1ubuntu0.18.04.2
- 2.2.6-1ubuntu0.18.04.2+esm1
- 2.2.6-1ubuntu0.18.04.2+esm2
- 2.2.6-1ubuntu0.18.04.2+esm3
- 2.2.6-1ubuntu0.18.04.2+esm4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
netatalk Ubuntu Pro 20.04 LTS
- Versions
- 3.1.12~ds-3
- 3.1.12~ds-4
- 3.1.12~ds-4ubuntu0.20.04.1
- 3.1.12~ds-4ubuntu0.20.04.3
- 3.1.12~ds-4ubuntu0.20.04.3+esm1
- 3.1.12~ds-4ubuntu0.20.04.4
All versions (8)
- 3.1.12~ds-4ubuntu0.20.04.4+esm1
- 3.1.12~ds-4ubuntu0.20.04.4+esm2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
netatalk Ubuntu Pro 22.04 LTS
- Versions
- 3.1.12~ds-9
- 3.1.12~ds-9build1
- 3.1.12~ds-9ubuntu0.22.04.1
- 3.1.12~ds-9ubuntu0.22.04.3
- 3.1.12~ds-9ubuntu0.22.04.3+esm1
- 3.1.12~ds-9ubuntu0.22.04.4
All versions (8)
- 3.1.12~ds-9ubuntu0.22.04.4+esm1
- 3.1.12~ds-9ubuntu0.22.04.4+esm2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
netatalk Ubuntu Pro 24.04 LTS
- Versions
- 3.1.15~ds-1ubuntu1
- 3.1.18~ds-1
- 3.1.18~ds-1build2
- 3.1.18~ds-1build4
- 3.1.18~ds-1ubuntu0.1~esm1
- 3.1.18~ds-1ubuntu0.1~esm2
All versions (7)
- 3.1.18~ds-1ubuntu0.1~esm3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
netatalk Ubuntu 25.10
- Versions
- 4.1.2~ds-4
- 4.2.1~ds-1
- 4.2.3~ds-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
netatalk Ubuntu 26.10
- Versions
- 4.2.3~ds-2.1
- 4.4.3~ds-1
- 4.5.0~ds-3
- 4.5.1~ds-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
netatalk Ubuntu 26.04 LTS
- Versions
- 4.2.3~ds-1
- 4.2.3~ds-2
- 4.2.3~ds-2.1
- 4.2.3~ds-2.1ubuntu0.1
- 4.2.3~ds-2.1ubuntu0.2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published