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.
{
"cna_assigner": "AISLE",
"cwe_ids": [
"CWE-787"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142085.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "4.0.0"
},
{
"fixed": "4.6.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "62821dd35ee77530bfe39615389d5ddbafc0e427"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "netatalk-4-6-1",
"range": [
{
"fixed": "a4c17ab24b7c3017ff40945a11b0359145dfaff0"
}
],
"source": "REFERENCES_TAG"
}
]
}