cve.bz

CVE-2026-45698 netatalk netatalk: Integer Underflow (Wrap or Wraparound)

7.5 highEPSS 0.4%

High (7.5) in netatalk netatalk. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 40th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-08-17. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-191 Integer Underflow (Wrap or Wraparound)
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-45698 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-45698?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-45698?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-45698 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
netatalk>= 3.1.19, < 4.4.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13netatalk4.2.3~ds-1+deb13u2DEBIAN-CVE-2026-45698 DSA-6280-1
Debian14netatalk4.4.3~ds-1DEBIAN-CVE-2026-45698
Ubuntu25.10, 26.04:LTS, 26.10 and 6 morenetatalkno fix listedUBUNTU-CVE-2026-45698
Alpinev3.24netatalk4.4.3-r0ALPINE-CVE-2026-45698

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is rated as Important because an authenticated remote attacker could execute arbitrary code or crash the service on affected systems. Netatalk is not distributed in Red Hat Enterprise Linux core repositories and is only available through community channels such as Fedora and Extra Packages for Enterprise Linux (EPEL). Exploitation requires valid authentication and specific file manipulation operations that cross filesystem boundaries within an active Apple Filing Protocol (AFP) share, limiting exposure under standard single-mount storage configurations.

Red Hat's mitigation

To mitigate this issue, disable the Netatalk `afpd` service if AFP file sharing is not required.

```bash

sudo systemctl stop netatalk

sudo systemctl disable netatalk

```

Alternatively, restrict network access to the `afpd` service to trusted clients only using firewall rules. Disabling the service will prevent all AFP file sharing functionality. A service restart or reload may be required for changes to take effect.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-45698.

References

Check your stackJSON