{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "3.1.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3665569bac8aaa01014add5cb79801645fd94e3c"
            },
            {
              "fixed": "14ac462a32ca4b3b78f56502ac976d5b0222ce3d"
            }
          ],
          "repo": "https://github.com/gemini-testing/png-img",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "An integer overflow in the PngImg::InitStorage_() function of png-img before 3.1.0 leads to an under-allocation of heap memory and subsequently an exploitable heap-based buffer overflow when loading a crafted PNG file.",
  "id": "CVE-2020-28248",
  "modified": "2026-03-13T21:56:35.396685642Z",
  "published": "2021-02-20T00:15:12.483Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/gemini-testing/png-img/compare/v3.0.0...v3.1.0"
    },
    {
      "type": "FIX",
      "url": "https://github.com/gemini-testing/png-img/commit/14ac462a32ca4b3b78f56502ac976d5b0222ce3d"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/gemini-testing/png-img"
    },
    {
      "type": "EVIDENCE",
      "url": "https://securitylab.github.com/advisories/GHSL-2020-142-gemini-png-img"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}