CVE-2026-142084: Netatalk 4.0.0 before 4.6.1 Stack Out-of-Bounds Write via papd Font Query
Netatalk 4.0.0 before 4.6.1 contains a stack-based out-of-bounds write vulnerability in cqfontanswer() in etc/papd/queries.c, which copies a client-supplied font name of up to 256 bytes into a 256-byte stack buffer and then writes the NUL terminator one byte past its end. Unauthenticated attackers who can send PAP traffic to papd can submit a %%?BeginFontQuery with a font name of 256 or more bytes to corrupt the stack and crash the print server.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed to exploitation?
Netatalk versions from 4.0.0 through versions before 4.6.1 are affected if the papd print service accepts PAP traffic from an attacker. The attacker does not need to authenticate.
What must an attacker send to trigger the issue?
The attacker must send a PAP %%?BeginFontQuery containing a font name of 256 bytes or more. This causes cq_font_answer() to write a NUL terminator one byte beyond its 256-byte stack buffer.
What is the known impact of successful exploitation?
The documented impact is stack corruption that can crash the papd print server. The provided information does not establish impacts beyond denial of service.
How can I determine whether a system is affected?
Check whether Netatalk is running a version earlier than 4.6.1 and whether papd is exposed to PAP traffic. Affected systems have the vulnerable cq_font_answer() implementation in etc/papd/queries.c.