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

- Priority: **Routine**
- Reason: Not severe (CVSS 7.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-08-17 · Modified: 2026-08-17
- Aliases: UBUNTU-CVE-2026-45698, DEBIAN-CVE-2026-45698, ALPINE-CVE-2026-45698
- Record: https://cvemate.com/vulnerability/CVE-2026-45698 · JSON: https://cvemate.com/vulnerability/CVE-2026-45698/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.272%, percentile 20.804%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine netatalk (Alpine Linux): \< 4.4.3-r0
- debian netatalk (Debian): \< 4.2.3~ds-1+deb13u2 \| \< 4.4.3~ds-1
- ubuntu netatalk (Ubuntu): All versions (No fix recorded) \| \< 4.2.3~ds-2.1ubuntu0.2+esm1
- netatalk netatalk: ≥ 3.1.19, \< 4.4.3

## References

- <https://github.com/Netatalk/netatalk/security/advisories/GHSA-5443-v9xg-mqgv>
- <https://github.com/Netatalk/netatalk/releases/tag/netatalk-4-4-3>
- <https://ubuntu.com/security/CVE-2026-45698>
- <https://www.cve.org/CVERecord?id=CVE-2026-45698>
- <https://netatalk.io/security/CVE-2026-45698>
- <https://security-tracker.debian.org/tracker/CVE-2026-45698>
- <https://security.alpinelinux.org/vuln/CVE-2026-45698>
- <https://ubuntu.com/security/notices/USN-9456-1>

---

Data as of 2026-12-05T08:01:38.188Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
