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… (CVE-2026-45698)
Description
Netatalk versions 3.1.19 through 4.4.2 contain a stack-based buffer overflow vulnerability in the deletedir() function of the afpd daemon. This occurs due to an integer underflow in the calculation of the remaining buffer size, which leads to an unbounded strcpy() operation copying attacker-controlled filenames into a stack buffer. The vulnerability is patched in version 4.4.3.
CVSS v3.1
Score 7.5high
Affected software
pkg:deb/ubuntu/netatalk?arch=source&distro=esm-infra-legacy/trustypkg:deb/ubuntu/netatalk?arch=source&distro=esm-apps-legacy/xenialpkg:deb/ubuntu/netatalk?arch=source&distro=esm-apps/bionicpkg:deb/ubuntu/netatalk?arch=source&distro=esm-apps/focalpkg:deb/ubuntu/netatalk?arch=source&distro=esm-apps/jammypkg:deb/ubuntu/netatalk?arch=source&distro=esm-apps/noblepkg:deb/ubuntu/netatalk?arch=source&distro=questingpkg:deb/ubuntu/netatalk?arch=source&distro=stonkingpkg:deb/ubuntu/netatalk?arch=source&distro=resoluteRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Netatalk is a file server suite for Unix-like systems. In versions 3.1.19 through 4.4.2, the deletedir() function in the afpd daemon has a stack-based buffer overflow caused by an integer underflow in the calculation of the remaining buffer size for path construction. The remain variable, a size_t, underflows and becomes SIZE_MAX, causing boundary checks to incorrectly pass. This allows an unbounded strcpy() to copy attacker-controlled filenames into a nearly full stack buffer. The issue is fixed in version 4.4.3.
Potential Impact
Successful exploitation can lead to a stack-based buffer overflow, potentially allowing an attacker to execute arbitrary code with the privileges of the afpd daemon. The CVSS 3.1 score is 7.5 (High), indicating high impact on confidentiality, integrity, and availability. However, the attack complexity is high and requires low privileges with no user interaction.
Mitigation Recommendations
Upgrade Netatalk to version 4.4.3 or later, where this vulnerability is patched. No other mitigation is indicated by the vendor advisory.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- UBUNTU-CVE-2026-45698
- Osv Schema Version
- 1.7.0
- Ecosystems
- ["Ubuntu:Pro:14.04:LTS","Ubuntu:Pro:16.04:LTS","Ubuntu:Pro:18.04:LTS","Ubuntu:Pro:20.04:LTS","Ubuntu:Pro:22.04:LTS","Ubuntu:Pro:24.04:LTS","Ubuntu:25.10","Ubuntu:26.10","Ubuntu:26.04:LTS"]
- Cvss Version
- 3.1
Threat ID: 6ad3f6572cdf04f656665d32
Added to database: 10/17/2026, 22:27:35 UTC
Last enriched: 10/18/2026, 01:29:31 UTC
Last updated: 10/18/2026, 01:29:32 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.