{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:qpdf_project:qpdf:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "9.0.0"
              },
              {
                "last_affected": "9.1.1"
              },
              {
                "introduced": "10.0.0"
              },
              {
                "last_affected": "10.0.4"
              }
            ],
            "source": [
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "5462dfce3106ffcc9b866902773933adeb7a4d41"
            },
            {
              "last_affected": "52a2e95dd5ab2c2a197aa0a564a4e09c551e8309"
            },
            {
              "introduced": "892937cbbeeef612da9e8b8a4b5ba145fc1e6caa"
            },
            {
              "last_affected": "78b9d6bfd4cbd3e947b1c5ffe73eb97b040e312a"
            },
            {
              "fixed": "dc92574c10f3e2516ec6445b88c5d584f40df4e5"
            }
          ],
          "repo": "https://github.com/qpdf/qpdf",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {},
  "details": "QPDF 9.x through 9.1.1 and 10.x through 10.0.4 has a heap-based buffer overflow in Pl_ASCII85Decoder::write (called from Pl_AES_PDF::flush and Pl_AES_PDF::finish) when a certain downstream write fails.",
  "id": "CVE-2021-36978",
  "modified": "2026-07-08T05:38:26.026922035Z",
  "published": "2021-07-20T07:15:08.030Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://lists.debian.org/debian-lts-announce/2023/08/msg00037.html"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/google/oss-fuzz-vulns/blob/main/vulns/qpdf/OSV-2020-2245.yaml"
    },
    {
      "type": "ADVISORY",
      "url": "https://security.gentoo.org/glsa/202401-20"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/qpdf/qpdf/issues/492"
    },
    {
      "type": "FIX",
      "url": "https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28262"
    },
    {
      "type": "FIX",
      "url": "https://github.com/qpdf/qpdf/commit/dc92574c10f3e2516ec6445b88c5d584f40df4e5"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ]
}