← Vulnerability feed

Vulnerability record · CVE-2018-1160 · published 20 December 2018

CVE-2018-1160: Netatalk dsi_opensess.c out-of-bounds write allows remote code execution

Netatalk · Netatalk

Netatalk before 3.1.12 fails to bounds-check attacker-controlled data in dsi_opensess.c, producing an out-of-bounds write. A remote unauthenticated attacker can exploit this to achieve arbitrary code execution on the affected service. The flaw is rated critical (CVSS 3.1 9.8) and affects Netatalk as well as bundled copies in Synology and Debian products.

9.8 CVSS 3.1 Critical EPSS 87% · top 0.3% CWE-787 · Out-of-bounds write
9.8CVSS 3.1 base score, v2 10.0
87%EPSS exploitation probability, 30 days
NoNot in CISA KEV
6Affected product versions listed by NVD
22References, 10 tagged exploit
17 Jun 2026Last modified by NVD

Description

Netatalk before 3.1.12 is vulnerable to an out of bounds write in dsi_opensess.c. This is due to lack of bounds checking on attacker controlled data. A remote unauthenticated attacker can leverage this vulnerability to achieve arbitrary code execution.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

critical priorityCVSS 9.8 with remote unauthenticated code execution, public exploits, and an EPSS probability above 0.86 make this an urgent patching priority.

What it is

Netatalk before 3.1.12 fails to bounds-check attacker-controlled data in dsi_opensess.c, producing an out-of-bounds write. A remote unauthenticated attacker can exploit this to achieve arbitrary code execution on the affected service. The flaw is rated critical (CVSS 3.1 9.8) and affects Netatalk as well as bundled copies in Synology and Debian products.

Impact

An attacker gains arbitrary code execution in the context of the Netatalk service, which typically runs with elevated privileges on NAS and file-sharing appliances. This can lead to full compromise of the host and any data it stores.

Attack surface

The vulnerability is reachable over the network via the Netatalk/AFP service with no authentication and no user interaction required, per the CVSS vector AV:N/AC:L/PR:N/UI:N. Any exposed Netatalk endpoint is a candidate target.

Exploitation

Multiple public exploits exist (Exploit-DB 46034, 46048, 46675; Packet Storm and Tenable references), and EPSS is 0.865 with a 0.997 percentile, indicating very high likelihood of exploitation. CISA KEV does not list it, and no ransomware groups are documented using it in this record.

What to do

  • Upgrade Netatalk to 3.1.12 or later, and apply the corresponding Synology and Debian security updates.
  • If patching is not immediately possible, restrict network access to the Netatalk/AFP service to trusted hosts only.
  • Disable or stop the Netatalk service on systems that do not require AFP file sharing.
  • Segment NAS and file-sharing appliances from untrusted networks and monitor for anomalous outbound connections.
  • Verify third-party or embedded Netatalk copies (for example in NAS firmware) are updated, not just the OS package.

Detection

  • Monitor Netatalk/AFP service logs for malformed or oversized DSI OpenSession requests and crashes.
  • Alert on unexpected process crashes or restarts of afpd/netatalk daemons.
  • Hunt for known exploit payloads or shellcode patterns in network traffic to the AFP port.
  • Watch for post-exploitation behavior such as new processes, reverse shells, or unusual outbound connections from NAS devices.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

6 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://netatalk.sourceforge.net/3.1/ReleaseNotes3.1.12.html Release Notes
http://packetstormsecurity.com/files/152440/QNAP-Netatalk-Authentication-Bypass.html ExploitThird Party AdvisoryVDB Entry
http://www.securityfocus.com/bid/106301 Third Party AdvisoryVDB Entry
https://attachments.samba.org/attachment.cgi?id=14735 Third Party Advisory
https://github.com/tenable/poc/tree/master/netatalk/cve_2018_1160/ Release NotesThird Party Advisory
https://www.debian.org/security/2018/dsa-4356 Third Party Advisory
https://www.exploit-db.com/exploits/46034/ ExploitThird Party AdvisoryVDB Entry
https://www.exploit-db.com/exploits/46048/ ExploitThird Party AdvisoryVDB Entry
https://www.exploit-db.com/exploits/46675/ ExploitThird Party AdvisoryVDB Entry
https://www.synology.com/security/advisory/Synology_SA_18_62 Third Party Advisory
https://www.tenable.com/security/research/tra-2018-48 ExploitRelease NotesThird Party Advisory
http://netatalk.sourceforge.net/3.1/ReleaseNotes3.1.12.html Release Notes
http://packetstormsecurity.com/files/152440/QNAP-Netatalk-Authentication-Bypass.html ExploitThird Party AdvisoryVDB Entry
http://www.securityfocus.com/bid/106301 Third Party AdvisoryVDB Entry
https://attachments.samba.org/attachment.cgi?id=14735 Third Party Advisory
https://github.com/tenable/poc/tree/master/netatalk/cve_2018_1160/ Release NotesThird Party Advisory
https://www.debian.org/security/2018/dsa-4356 Third Party Advisory
https://www.exploit-db.com/exploits/46034/ ExploitThird Party AdvisoryVDB Entry
https://www.exploit-db.com/exploits/46048/ ExploitThird Party AdvisoryVDB Entry
https://www.exploit-db.com/exploits/46675/ ExploitThird Party AdvisoryVDB Entry
https://www.synology.com/security/advisory/Synology_SA_18_62 Third Party Advisory
https://www.tenable.com/security/research/tra-2018-48 ExploitRelease NotesThird Party Advisory

Track CVE-2018-1160 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2024-9680Mozilla Firefox and Thunderbird use-after-free in Animation timelinesA use-after-free flaw in Animation timelines allows an attacker to execute code in the content process of Firefox and Thunderbird. Mozilla reports ex…KEVEPSS 23%analysed9.8CVE-2023-46604Apache ActiveMQ OpenWire deserialization remote code executionThe Java OpenWire protocol marshaller in Apache ActiveMQ deserializes untrusted data, letting an attacker manipulate serialized class types so the br…KEVEPSS 100%analysed

Source: NIST National Vulnerability Database (record CVE-2018-1160), CISA KEV, FIRST EPSS (scores of 2026-09-24). This page is refreshed as NVD updates the record.