Bug 2521863 - CVE-2026-45698 netatalk: Netatalk: Arbitrary code execution via stack-based buffer overflow in deletedir() [epel-all]
Summary: CVE-2026-45698 netatalk: Netatalk: Arbitrary code execution via stack-based b...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: netatalk
Version: epel10
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Andrew Bauer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["cbbaaeab-a69d-40aa-81eb-d...
Depends On:
Blocks: CVE-2026-45698
TreeView+ depends on / blocked
 
Reported: 2026-08-24 13:22 UTC by Vladimir Vasilev
Modified: 2026-09-08 19:34 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-09-08 19:34:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Vladimir Vasilev 2026-08-24 13:22:00 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 Andrew Bauer 2026-09-08 19:34:42 UTC
All EPEL branches of Netatalk are outside the range of releases affected by this CVE. Thus, bug is no longer relevant.


Note You need to log in before you can comment on or make changes to this bug.