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.
https://github.com/Netatalk/netatalk/security/advisories/GHSA-cwhm-fxjv-r685
https://github.com/Netatalk/netatalk/releases/tag/netatalk-4-6-1
https://github.com/Netatalk/netatalk/commit/62821dd35ee77530bfe39615389d5ddbafc0e427
Published: 2026-12-02
Updated: 2026-12-02
Base Score: 9
Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:P/A:P
Severity: High
Base Score: 9.8
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Severity: Critical
Base Score: 7.1
Vector: 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
Severity: High
EPSS: 0.00669