{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:upx:upx:3.95:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "3.95"
              },
              {
                "last_affected": "3.95"
              }
            ],
            "source": "CPE_STRING"
          },
          "events": [
            {
              "introduced": "7a3637ff5a800b8bcbad20ae7f668d8c8449b014"
            },
            {
              "last_affected": "7a3637ff5a800b8bcbad20ae7f668d8c8449b014"
            }
          ],
          "repo": "https://github.com/upx/upx",
          "type": "GIT"
        }
      ],
      "versions": [
        "3.95"
      ]
    }
  ],
  "database_specific": {
    "unresolved_ranges": [
      {
        "cpes": [
          "cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*",
          "cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*"
        ],
        "extracted_events": [
          {
            "introduced": "30"
          },
          {
            "last_affected": "30"
          },
          {
            "introduced": "31"
          },
          {
            "last_affected": "31"
          }
        ],
        "source": "CPE_STRING",
        "vendor_product": "fedoraproject:fedora"
      }
    ]
  },
  "details": "A heap-based buffer over-read was discovered in canUnpack in p_mach.cpp in UPX 3.95 via a crafted Mach-O file.",
  "id": "CVE-2019-20021",
  "modified": "2026-07-08T05:36:47.306108120Z",
  "published": "2019-12-27T02:15:10.797Z",
  "references": [
    {
      "type": "WEB",
      "url": "http://lists.opensuse.org/opensuse-security-announce/2020-02/msg00003.html"
    },
    {
      "type": "WEB",
      "url": "http://lists.opensuse.org/opensuse-security-announce/2020-02/msg00007.html"
    },
    {
      "type": "WEB",
      "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/D7XU42G6MUQQXHWRP7DCF2JSIBOJ5GOO/"
    },
    {
      "type": "WEB",
      "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EUTVSTXAFTD552NO2K2RIF6MDQEHP3BE/"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/upx/upx/issues/315"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ]
}