DEBIAN-CVE-2026-45699
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.
DEBIAN-CVE-2026-45699
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:DEBIAN-CVE-2026-45699
netatalk
Source reference: /affected/0/package/name
- Affected versions
- 4.2.3~ds-1
Source reference:
/affected/0/versions4.2.3~ds-1+deb13u1Source reference:
/affected/0/versions - Fixed versions
- 4.2.3~ds-1+deb13u2
Source reference:
/affected/0/ranges - Prerequisites
- Not stated in this record
netatalk
Source reference: /affected/1/package/name
- Affected versions
- 4.2.3~ds-1
Source reference:
/affected/1/versions4.2.3~ds-2Source reference:
/affected/1/versions4.2.3~ds-2.1Source reference:
/affected/1/versions4.4.1~ds-1Source reference:
/affected/1/versions4.4.2~ds-1Source reference:
/affected/1/versions - Fixed versions
- 4.4.3~ds-1
Source reference:
/affected/1/ranges - Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.2.3~ds-1+deb13u2"
}
]
}
],
"package": {
"name": "netatalk",
"purl": "pkg:deb/debian/netatalk?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"4.2.3~ds-1",
"4.2.3~ds-1+deb13u1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-45699.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.4.3~ds-1"
}
]
}
],
"package": {
"name": "netatalk",
"purl": "pkg:deb/debian/netatalk?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"4.2.3~ds-1",
"4.2.3~ds-2",
"4.2.3~ds-2.1",
"4.4.1~ds-1",
"4.4.2~ds-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-45699.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
]Publisher severity
No explicit severity was provided.
- Event
- #57095 · Revision 1
- Added to Heist Feed
- Publisher date