UBUNTU-CVE-2026-45699

Source
https://ubuntu.com/security/CVE-2026-45699
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-45699.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-45699
Upstream
Published
2026-08-14T19:17:00Z
Modified
2026-08-19T13:32:06Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:25.10
netatalk

Package

Name
netatalk
Purl
pkg:deb/ubuntu/netatalk?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.1.2~ds-4
4.2.1~ds-1
4.2.3~ds-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "a2boot",
            "binary_version": "4.2.3~ds-1"
        },
        {
            "binary_name": "atalkd",
            "binary_version": "4.2.3~ds-1"
        },
        {
            "binary_name": "libatalk",
            "binary_version": "4.2.3~ds-1"
        },
        {
            "binary_name": "macipgw",
            "binary_version": "4.2.3~ds-1"
        },
        {
            "binary_name": "netatalk",
            "binary_version": "4.2.3~ds-1"
        },
        {
            "binary_name": "netatalk-tests",
            "binary_version": "4.2.3~ds-1"
        },
        {
            "binary_name": "netatalk-tools",
            "binary_version": "4.2.3~ds-1"
        },
        {
            "binary_name": "papd",
            "binary_version": "4.2.3~ds-1"
        },
        {
            "binary_name": "timelord",
            "binary_version": "4.2.3~ds-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-45699.json"
Ubuntu:26.04:LTS
netatalk

Package

Name
netatalk
Purl
pkg:deb/ubuntu/netatalk?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.2.3~ds-1
4.2.3~ds-2
4.2.3~ds-2.1
4.2.3~ds-2.1ubuntu0.1
4.2.3~ds-2.1ubuntu0.2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "a2boot",
            "binary_version": "4.2.3~ds-2.1ubuntu0.2"
        },
        {
            "binary_name": "atalkd",
            "binary_version": "4.2.3~ds-2.1ubuntu0.2"
        },
        {
            "binary_name": "libatalk",
            "binary_version": "4.2.3~ds-2.1ubuntu0.2"
        },
        {
            "binary_name": "macipgw",
            "binary_version": "4.2.3~ds-2.1ubuntu0.2"
        },
        {
            "binary_name": "netatalk",
            "binary_version": "4.2.3~ds-2.1ubuntu0.2"
        },
        {
            "binary_name": "netatalk-tests",
            "binary_version": "4.2.3~ds-2.1ubuntu0.2"
        },
        {
            "binary_name": "netatalk-tools",
            "binary_version": "4.2.3~ds-2.1ubuntu0.2"
        },
        {
            "binary_name": "papd",
            "binary_version": "4.2.3~ds-2.1ubuntu0.2"
        },
        {
            "binary_name": "timelord",
            "binary_version": "4.2.3~ds-2.1ubuntu0.2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-45699.json"
Ubuntu:Pro:14.04:LTS
netatalk

Package

Name
netatalk
Purl
pkg:deb/ubuntu/netatalk?arch=source&distro=esm-infra-legacy%2Ftrusty

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.2.2-1ubuntu1
2.2.2-1ubuntu2
2.2.2-1ubuntu2.2
2.2.2-1ubuntu2.2+esm1
2.2.2-1ubuntu2.2+esm2
2.2.2-1ubuntu2.2+esm3
2.2.2-1ubuntu2.2+esm4

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "netatalk",
            "binary_version": "2.2.2-1ubuntu2.2+esm4"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-45699.json"
Ubuntu:Pro:16.04:LTS
netatalk

Package

Name
netatalk
Purl
pkg:deb/ubuntu/netatalk?arch=source&distro=esm-apps-legacy%2Fxenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.2.5-1
2.2.5-1ubuntu0.2
2.2.5-1ubuntu0.2+esm1
2.2.5-1ubuntu0.2+esm2
2.2.5-1ubuntu0.2+esm3
2.2.5-1ubuntu0.2+esm4

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "netatalk",
            "binary_version": "2.2.5-1ubuntu0.2+esm4"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-45699.json"
Ubuntu:Pro:18.04:LTS
netatalk

Package

Name
netatalk
Purl
pkg:deb/ubuntu/netatalk?arch=source&distro=esm-apps%2Fbionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.2.6-1
2.2.6-1ubuntu0.18.04.2
2.2.6-1ubuntu0.18.04.2+esm1
2.2.6-1ubuntu0.18.04.2+esm2
2.2.6-1ubuntu0.18.04.2+esm3
2.2.6-1ubuntu0.18.04.2+esm4

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "netatalk",
            "binary_version": "2.2.6-1ubuntu0.18.04.2+esm4"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-45699.json"
Ubuntu:Pro:20.04:LTS
netatalk

Package

Name
netatalk
Purl
pkg:deb/ubuntu/netatalk?arch=source&distro=esm-apps%2Ffocal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.1.12~ds-3
3.1.12~ds-4
3.1.12~ds-4ubuntu0.20.04.1
3.1.12~ds-4ubuntu0.20.04.3
3.1.12~ds-4ubuntu0.20.04.3+esm1
3.1.12~ds-4ubuntu0.20.04.4
3.1.12~ds-4ubuntu0.20.04.4+esm1
3.1.12~ds-4ubuntu0.20.04.4+esm2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "netatalk",
            "binary_version": "3.1.12~ds-4ubuntu0.20.04.4+esm2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-45699.json"
Ubuntu:Pro:22.04:LTS
netatalk

Package

Name
netatalk
Purl
pkg:deb/ubuntu/netatalk?arch=source&distro=esm-apps%2Fjammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.1.12~ds-9
3.1.12~ds-9build1
3.1.12~ds-9ubuntu0.22.04.1
3.1.12~ds-9ubuntu0.22.04.3
3.1.12~ds-9ubuntu0.22.04.3+esm1
3.1.12~ds-9ubuntu0.22.04.4
3.1.12~ds-9ubuntu0.22.04.4+esm1
3.1.12~ds-9ubuntu0.22.04.4+esm2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "netatalk",
            "binary_version": "3.1.12~ds-9ubuntu0.22.04.4+esm2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-45699.json"
Ubuntu:Pro:24.04:LTS
netatalk

Package

Name
netatalk
Purl
pkg:deb/ubuntu/netatalk?arch=source&distro=esm-apps%2Fnoble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.1.15~ds-1ubuntu1
3.1.18~ds-1
3.1.18~ds-1build2
3.1.18~ds-1build4
3.1.18~ds-1ubuntu0.1~esm1
3.1.18~ds-1ubuntu0.1~esm2
3.1.18~ds-1ubuntu0.1~esm3

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "netatalk",
            "binary_version": "3.1.18~ds-1ubuntu0.1~esm3"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-45699.json"