Netatalk 4.0.0 before 4.6.1 Stack Buffer Overflow via Malicious PAP Printer Status
- CVE-2026-142085
- GHSA-33vg-v9g6-99q6
- EUVD-2026-141504
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.
Text from the CVE.org record.
Recommendation
netatalk
- If you run a version from 4.0.0 to before 4.6.1update to 4.6.1 or laterMinor version change: check the release notes
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
netatalk
Affected versions Fixed in from 4.0.0 to before 4.6.1 4.6.1
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.