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

- Priority: **Routine**
- Reason: Not severe (CVSS 7.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-12-02 · Modified: 2026-12-02
- Aliases: DEBIAN-CVE-2026-142085
- Record: https://cvemate.com/vulnerability/CVE-2026-142085 · JSON: https://cvemate.com/vulnerability/CVE-2026-142085/json

## Description

```text
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.
```

## Signals

- CVSS: 7.1 high (v4.0, CVE.org) 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
- EPSS: 0.669%, percentile 53.349%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian netatalk (Debian): All versions (No fix recorded)
- netatalk netatalk: ≥ 4.0.0, \< 4.6.1

## References

- <https://github.com/Netatalk/netatalk/security/advisories/GHSA-cwhm-fxjv-r685>
- <https://github.com/Netatalk/netatalk/commit/62821dd35ee77530bfe39615389d5ddbafc0e427>
- <https://github.com/Netatalk/netatalk/releases/tag/netatalk-4-6-1>
- <https://github.com/Netatalk/netatalk>
- <https://security-tracker.debian.org/tracker/CVE-2026-142085>

---

Data as of 2026-12-05T08:28:27.294Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
