CVE-2026-142085

7.1High

Published Dec 2, 2026 · NVD status: Deferred · AI triage by gemini-3.1-flash-lite

7.1CVSS

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.

remediation — bash
$ sudo apt-get update && sudo apt-get install --only-upgrade netatalk

AI-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

Source: nvd.nist.gov/vuln/detail/CVE-2026-142085

More fully triaged vulnerabilities you may want to check next.