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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Netatalk | netatalk | 4.0.0 – < 4.6.1 | 4.6.1 |