Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2022-23125
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 02:33 UTC · Revision 1
Source evidence
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.
osv:CVE-2022-23125
Complete source record
{
"id": "4ae6ceaab7558bd02e2fd1b535f90d04317709a901e0761aab32533c4adc344e",
"url": "https://osv.dev/vulnerability/CVE-2022-23125",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2022-23125",
"summary": "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.",
"evidence": "osv:CVE-2022-23125",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2022-23125",
"aliases": [
"CVE-2022-23125"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/netatalk/netatalk",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "8965445d8439dbe1b2821b783ae644da3ef600a1"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:netatalk:netatalk:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "3.1.13"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"netatalk-3-1-12",
"netatalk-3-1-11",
"netatalk-3-1-10",
"netatalk-3-1-9",
"netatalk-3-1-8",
"netatalk-3-1-7",
"netatalk-3-1-6",
"netatalk-3-1-5",
"netatalk-3-1-4"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-23125.json"
}
}
],
"modified": "2026-10-28T02:30:32.481286762Z",
"provider": "osv",
"references": [
"https://netatalk.sourceforge.io/3.1/ReleaseNotes3.1.13.html",
"https://www.kb.cert.org/vuls/id/709991",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23125.json",
"https://nvd.nist.gov/vuln/detail/CVE-2022-23125",
"https://security.gentoo.org/glsa/202311-02",
"https://www.debian.org/security/2023/dsa-5503",
"https://www.zerodayinitiative.com/advisories/ZDI-22-526/",
"https://lists.debian.org/debian-lts-announce/2023/05/msg00018.html"
],
"provider_metadata": {
"cwe_ids": [
"CWE-121"
],
"cna_assigner": "zdi",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "5.18.117"
},
{
"last_affected": "5.18.117"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23125.json"
}
},
"related_cves": [
{
"value": "CVE-2022-23125",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 499691,
"published_at": "2023-03-28T00:00:00+00:00"
}