CVE-2026-142085
7.1HighPublished Dec 2, 2026 · NVD status: Deferred · AI triage by gemini-3.1-flash-lite
High
0CVSS v4.010
- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User action
- Passive
- Impact
- High impact on availability
- Weakness
- CWE-787
What an attacker gets
A malicious printer can trigger a stack buffer overflow and crash the pap client. This occurs when a user runs the pap utility against a compromised or malicious printer.
Root cause
The pap client fails to validate the length byte of a printer-supplied status response before using it in a memcpy operation, leading to an out-of-bounds write.
Affected versions
Netatalk 4.0.0 through 4.6.0
CVSS v4.0 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Fix & remediation
Upgrade to Netatalk 4.6.1 or later. Avoid using the pap utility to connect to untrusted or unknown printers until the update is applied.
$ sudo apt-get update && sudo apt-get install --only-upgrade netatalkAI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD description
Netatalk 4.0.0 before 4.6.1 contains an out-of-bounds write vulnerability in the pap client (bin/pap/pap.c), which uses the printer-supplied status length byte as a signed char in memcpy() into a 1024-byte stack buffer without validating it. A malicious or compromised PAP printer can return a status response with a length byte of 0x80 or higher, which converts to a huge copy length and overflows the stack when a user runs pap against that printer.
References
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-1420877.3HighLocal attackers can gain root privileges by creating symbolic links that cause Netatalk to change permissions on arbitrary system files. This requires local access to the system running the Netatalk service.
- CVE-2026-1420837.1HighUnauthenticated attackers on the local network can crash the papd service, causing a denial of service for print operations. This requires the ability to send AppleTalk PAP traffic to the target.
- CVE-2026-623208.8HighUnauthenticated remote attackers can smuggle malicious DSI frames into an existing TCP connection. This allows them to bypass protocol validation and potentially execute unauthorized commands on the file server.
- CVE-2026-623197.2HighAuthenticated attackers can corrupt protocol framing and hijack subsequent DSI headers and payloads. This requires an active AFP session.
- CVE-2026-453567.1HighAuthenticated attackers can leak heap memory contents via the Spotlight RPC interface. This requires an active AFP session to trigger the out-of-bounds read.
- CVE-2026-493877.1HighAuthenticated attackers can crash the Netatalk file server process by triggering an out-of-bounds heap read. This requires network access to a Spotlight-enabled volume.