CVE-2026-142085: Netatalk 4.0.0 before 4.6.1 Stack Buffer Overflow via Malicious PAP Printer Status

Published Dec 2, 2026
·
Updated

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 Software

1 affected component
Netatalk Netatalk>=4.0.0<4.6.1

Event History

Dec 2, 2026
CVE Published
via MITRE·04:04 PM
Data Sourced
via MITRE·04:04 PM
DescriptionWeakness
Data Sourced
via OSV·04:04 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to exploitation?

Users of Netatalk versions 4.0.0 through versions before 4.6.1 are exposed when they run the pap client against a malicious or compromised PAP printer.

2

What does an attacker need to exploit this issue?

The attacker needs control of, or the ability to compromise, a PAP printer that the user queries with pap. The printer must return a crafted status response whose length byte is 0x80 or higher.

3

Is this triggered by the default Netatalk service configuration?

The issue is in the pap client executable and is triggered when a user runs pap against the affected printer. The provided information does not indicate that it can be triggered solely by a network service running in its default configuration.

4

What can be done if upgrading is not immediately possible?

Do not run the pap client against untrusted printers, and remove or isolate printers suspected of being compromised. Limit PAP printer use to trusted devices until an upgrade to 4.6.1 is possible.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203