p PatchFirst

CVE-2026-142085

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

CVSS 7.1 · High · EPSS 0.7% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="netatalk"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Stack: system

Affected products and versions

  • netatalk

    Versions
    • ≥ 4.0.0, < 4.6.1: Affected (semver)

    Update to 4.6.1

  • netatalk Debian 13

    Versions
    • 4.2.3~ds-1
    • 4.2.3~ds-1+deb13u1
    • 4.2.3~ds-1+deb13u2
    • 4.2.3~ds-2
    • 4.2.3~ds-2.1
    • 4.4.1~ds-1
    All versions (12)
    • 4.4.2~ds-1
    • 4.4.3~ds-1
    • 4.5.0~ds-1
    • 4.5.0~ds-2
    • 4.5.0~ds-3
    • 4.5.1~ds-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • netatalk Debian 14

    Versions
    • 4.2.3~ds-1
    • 4.2.3~ds-2
    • 4.2.3~ds-2.1
    • 4.4.1~ds-1
    • 4.4.2~ds-1
    • 4.4.3~ds-1
    All versions (10)
    • 4.5.0~ds-1
    • 4.5.0~ds-2
    • 4.5.0~ds-3
    • 4.5.1~ds-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • netatalk Ubuntu Pro 14.04 LTS

    Versions
    • 2.2.2-1ubuntu1
    • 2.2.2-1ubuntu2
    • 2.2.2-1ubuntu2.2
    • 2.2.2-1ubuntu2.2+esm1
    • 2.2.2-1ubuntu2.2+esm2
    • 2.2.2-1ubuntu2.2+esm3
    All versions (8)
    • 2.2.2-1ubuntu2.2+esm4
    • 2.2.2-1ubuntu2.2+esm5
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • netatalk Ubuntu Pro 16.04 LTS

    Versions
    • 2.2.5-1
    • 2.2.5-1ubuntu0.2
    • 2.2.5-1ubuntu0.2+esm1
    • 2.2.5-1ubuntu0.2+esm2
    • 2.2.5-1ubuntu0.2+esm3
    • 2.2.5-1ubuntu0.2+esm4
    All versions (7)
    • 2.2.5-1ubuntu0.2+esm5
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • netatalk Ubuntu Pro 18.04 LTS

    Versions
    • 2.2.6-1
    • 2.2.6-1ubuntu0.18.04.2
    • 2.2.6-1ubuntu0.18.04.2+esm1
    • 2.2.6-1ubuntu0.18.04.2+esm2
    • 2.2.6-1ubuntu0.18.04.2+esm3
    • 2.2.6-1ubuntu0.18.04.2+esm4
    All versions (7)
    • 2.2.6-1ubuntu0.18.04.2+esm5
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • netatalk Ubuntu Pro 20.04 LTS

    Versions
    • 3.1.12~ds-3
    • 3.1.12~ds-4
    • 3.1.12~ds-4ubuntu0.20.04.1
    • 3.1.12~ds-4ubuntu0.20.04.3
    • 3.1.12~ds-4ubuntu0.20.04.3+esm1
    • 3.1.12~ds-4ubuntu0.20.04.4
    All versions (9)
    • 3.1.12~ds-4ubuntu0.20.04.4+esm1
    • 3.1.12~ds-4ubuntu0.20.04.4+esm2
    • 3.1.12~ds-4ubuntu0.20.04.4+esm3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • netatalk Ubuntu Pro 22.04 LTS

    Versions
    • 3.1.12~ds-9
    • 3.1.12~ds-9build1
    • 3.1.12~ds-9ubuntu0.22.04.1
    • 3.1.12~ds-9ubuntu0.22.04.3
    • 3.1.12~ds-9ubuntu0.22.04.3+esm1
    • 3.1.12~ds-9ubuntu0.22.04.4
    All versions (9)
    • 3.1.12~ds-9ubuntu0.22.04.4+esm1
    • 3.1.12~ds-9ubuntu0.22.04.4+esm2
    • 3.1.12~ds-9ubuntu0.22.04.4+esm3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • netatalk Ubuntu Pro 24.04 LTS

    Versions
    • 3.1.15~ds-1ubuntu1
    • 3.1.18~ds-1
    • 3.1.18~ds-1build2
    • 3.1.18~ds-1build4
    • 3.1.18~ds-1ubuntu0.1~esm1
    • 3.1.18~ds-1ubuntu0.1~esm2
    All versions (8)
    • 3.1.18~ds-1ubuntu0.1~esm3
    • 3.1.18~ds-1ubuntu0.1~esm4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • netatalk Ubuntu 26.10

    Versions
    • 4.2.3~ds-2.1
    • 4.4.3~ds-1
    • 4.5.0~ds-3
    • 4.5.1~ds-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • netatalk Ubuntu Pro 26.04 LTS

    Versions
    • 4.2.3~ds-1
    • 4.2.3~ds-2
    • 4.2.3~ds-2.1
    • 4.2.3~ds-2.1ubuntu0.1
    • 4.2.3~ds-2.1ubuntu0.2
    • 4.2.3~ds-2.1ubuntu0.2+esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →