CVE-2026-142085
Netatalk 4.0.0 before 4.6.1 contains an out-of-bounds write …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/Netatalk/netatalk
- github.com/Netatalk/netatalk/commit/62821dd35ee77530bfe39615389d5ddbafc0e427
- github.com/Netatalk/netatalk/releases/tag/netatalk-4-6-1
- github.com/Netatalk/netatalk/security/advisories/GHSA-cwhm-fxjv-r685
- nvd.nist.gov/vuln/detail/CVE-2026-142085
- cve.org/CVERecord?id=CVE-2026-142085
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.