CVE-2022-23125: debian debian_linux Stack-based Buffer Overflow
Vulnerability summary
CVE-2022-23125 is a critical (CVSS 9.8) Stack-based Buffer Overflow vulnerability in debian debian_linux. EPSS estimates a 4.35% chance of exploitation in the next 30 days, higher than 91.1% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 6 · Related 2Timeline
- 28-03-2023PublishedVulnerability first disclosed.
- 04-11-2025Last modifiedVulnerability information updated.
Description
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Netatalk. Authentication is not required to exploit this vulnerability. The specific flaw exists within the copyapplfile function. When parsing the len element, the process does not properly validate the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-15869.
CVSS metrics
6 scores · 4 sources · 2 versions- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVDNIST9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVDNIST9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
4.35%
Chance of exploitation in the next 30 days
Percentile
91%
Versus all other CVEs
30-day change
0.00 pp
From 4.35% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-121Stack-based Buffer OverflowA stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).
- CWE-787Out-of-bounds WriteThe product writes data past the end, or before the beginning, of the intended buffer.
Affected systems
Debian2 products
- netatalk< 3.1.13~ds-1
- debian_linuxEOL10.0 | 11.0
Netatalk1 product
- netatalk5.18.117 | < 3.1.13
Ubuntu1 product
- netatalk< 2.2.2-1ubuntu2.2+esm1 | < 2.2.5-1ubuntu0.2+esm1 | < 2.2.6-1ubuntu0.18.04.2+esm1 | < 3.1.12~ds-4ubuntu0.20.04.1 | < 3.1.12~ds-9ubuntu0.22.04.1
3 vendors · 4 products
References
12 links- netatalk.sourceforge.io/3.1/ReleaseNotes3.1.13.htmlRelease Notes