{"id":"CVE-2026-142085","summary":"Netatalk 4.0.0 before 4.6.1 Stack Buffer Overflow via Malicious PAP Printer Status","details":"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.","aliases":["GHSA-cwhm-fxjv-r685"],"modified":"2026-12-02T18:00:16.180696613Z","published":"2026-12-02T16:04:25.979Z","database_specific":{"cna_assigner":"AISLE","cwe_ids":["CWE-787"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142085.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142085.json"},{"type":"PACKAGE","url":"https://github.com/Netatalk/netatalk"},{"type":"FIX","url":"https://github.com/Netatalk/netatalk/commit/62821dd35ee77530bfe39615389d5ddbafc0e427"},{"type":"WEB","url":"https://github.com/Netatalk/netatalk/releases/tag/netatalk-4-6-1"},{"type":"ADVISORY","url":"https://github.com/Netatalk/netatalk/security/advisories/GHSA-cwhm-fxjv-r685"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142085"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/netatalk/netatalk","events":[{"introduced":"ee5049d322d3c392034efad879f55e128c6a40b3"},{"fixed":"a4c17ab24b7c3017ff40945a11b0359145dfaff0"},{"fixed":"62821dd35ee77530bfe39615389d5ddbafc0e427"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"4.0.0"},{"fixed":"4.6.1"}],"source":"AFFECTED_FIELD"},{"range":[{"fixed":"62821dd35ee77530bfe39615389d5ddbafc0e427"}],"source":"REFERENCES_COMMIT"},{"source":"REFERENCES_TAG","original_tag":"netatalk-4-6-1","range":[{"fixed":"a4c17ab24b7c3017ff40945a11b0359145dfaff0"}]}]}}],"versions":["netatalk-4-6-0","netatalk-4-5-0","netatalk-4-5-0beta","netatalk-4-4-0","netatalk-4-3-2","netatalk-4-3-1","netatalk-4-3-0","netatalk-4-2-3","netatalk-4-2-2","netatalk-4-2-1","netatalk-4-2-0","netatalk-4-1-1","netatalk-4-1-0","netatalk-4-0-8","netatalk-4-0-7","netatalk-4-0-6","netatalk-4-0-5","netatalk-4-0-4","netatalk-4-0-3","netatalk-4-0-2","netatalk-4-0-1","netatalk-4-0-0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142085.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}]}