Read the docs
TI-2026-33440 Aliases CVE-2026-45699

Netatalk has Integer Underflow → Stack Buffer Overflow in copydir()

Priority LOW 35CWE-191Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
High
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-191 and the CVSS impact.

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.0045 39th percentileScored 2026-11-07
Fix Fixed netatalk (Netatalk): 4.4.3

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Netatalknetatalk3.1.19 to before 4.4.34.4.3Patch availableCNA
  • netatalk VendorNetatalk Affected 3.1.19 to before 4.4.3 Fixed in 4.4.3 Patch available CNA

Remediation

  • Fix · CNA netatalk (Netatalk) Fixed in 4.4.3

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-45699

References

  • TI-2018-01076 Out-of-bounds write in Netatalk CVSS 3.1CRITICAL 9.8
  • TI-2024-25689 Netatalk before 3.2.1 has an off-by-one error and resultant heap-based buffer overflow… CVSS 3.1CRITICAL 9.8
  • TI-2024-25690 Netatalk before 3.2.1 has an off-by-one error, and resultant heap-based buffer overflow… CVSS 3.1HIGH 7.5
  • TI-2022-22254 Netatalk through 3.1.13 has an afp_getappl heap-based buffer overflow resulting in code… CVSS 3.1HIGH 7.8
  • TI-2022-21402 Heap-based buffer overflow in Netatalk CVSS 3.1CRITICAL 9.8
  • TI-2022-07290 Improper handling of exceptional conditions in Netatalk CVSS 3.1CRITICAL 9.8
See all 51 →

Sources