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

Published Aug 17, 2026
·
Updated

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 sizet remain variable. However, the arithmetic used to compute remain results in an unsigned integer underflow, causing the variable to become SIZEMAX. 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.

Affected Software

1 affected component
Netatalk afpd daemon>=3.1.19<=4.4.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 4.4.3

Event History

Aug 17, 2026
CVE Published
via MITRE·06:21 PM
Data Sourced
via MITRE·06:21 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-45698?

The severity of CVE-2026-45698 is rated high with a score of 7.5.

2

How do I fix CVE-2026-45698?

To fix CVE-2026-45698, upgrade Netatalk to version 4.4.3 or later.

3

What causes CVE-2026-45698?

CVE-2026-45698 is caused by an integer underflow in the calculation of the remaining buffer size in the deletedir() function.

4

What systems are affected by CVE-2026-45698?

CVE-2026-45698 affects Netatalk versions 3.1.19 through 4.4.2 on Unix-like operating systems.

5

What are the potential impacts of exploiting CVE-2026-45698?

Exploiting CVE-2026-45698 can lead to a stack buffer overflow, potentially allowing arbitrary code execution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203