{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "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"
              }
            ]
          },
          "events": [
            {
              "introduced": "ee5049d322d3c392034efad879f55e128c6a40b3"
            },
            {
              "fixed": "a4c17ab24b7c3017ff40945a11b0359145dfaff0"
            },
            {
              "fixed": "62821dd35ee77530bfe39615389d5ddbafc0e427"
            }
          ],
          "repo": "https://github.com/netatalk/netatalk",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-cwhm-fxjv-r685"
  ],
  "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"
  },
  "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.",
  "id": "CVE-2026-142085",
  "modified": "2026-12-02T17:46:13.543412998Z",
  "published": "2026-12-02T16:04:25.979Z",
  "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"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Netatalk 4.0.0 before 4.6.1 Stack Buffer Overflow via Malicious PAP Printer Status"
}