Skip to content
VulniPulse
Advisory severityHigh7.5Red Hat Linux

High [CVE-2026-45699] Stack-based buffer overflow in copydir allows arbitrary code execution

This high-severity Red Hat Linux advisory covers CVE-2026-45699.

Aggregated and source-linked by VulniPulse. Data sources, validation and limitations.

CVE-2026-45699 Source published Source updated

VulniPulse record published Record updated

Affected products & platforms
Red Hat LinuxUnclassified
Open source advisory

Android app · Google Play

Monitor future Red Hat Linux CVEs from your phone.

Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 34 official vendor sources and 160+ reviewed platform categories.

Matching phone alertsOptional email delivery

Summary

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 copydir() function of Netatalk's afpd daemon due to an integer underflow in the calculation of the remaining buffer size used for path construction. copydir() 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 track available buffer space using srem and drem for source and destination paths. Incorrect arithmetic causes both srem and drem to underflow to SIZE_MAX.

Consequently, boundary checks against strlen(de->d_name) always pass, allowing strcpy() to append filenames into nearly full stack buffers. Version 4.4.3 patches the issue.

As a workaround, configure each AFP shared volume to be structured as a single file system, in other words no subdirectory of a shared volume should be a mount point for a different file system. A flaw was found in Netatalk.

Incorrect calculation of buffer size can lead to a stack-based buffer overflow, potentially allowing an attacker to achieve arbitrary code execution or cause a denial of service. Netatalk is not shipped in any Red Hat product.

Affected versions
  • 3.1.19
  • 4.4.2

Official advisory · high-confidence parse· fetched 23 days ago·verify at source

Fixed versions

No fixed release is recorded yet. That does not prove no patch exists — confirm against the vendor advisory.

Official advisory · high-confidence parse· fetched 23 days ago·verify at source

Mitigation checklist

Recommended fix / mitigation
  • No mitigation is needed as no Red Hat products or community distributions ship a vulnerable version of Netatalk.

Official advisory · high-confidence parse· fetched 23 days ago·verify at source

Discussion(0)

No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.

Sign in to join the discussion.