Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-30501

An assertion abort was found in upx MemBuffer::alloc() in mem.cpp, in version UPX 4.0.0. The flow allows attackers to cause a denial of service (abort) via a crafted file.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-30501
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:16 UTC · Revision 1

Source evidence

CVE-2021-30501

core-osv · Original source

Published 27 May 2021, 00:15 UTC

An assertion abort was found in upx MemBuffer::alloc() in mem.cpp, in version UPX 4.0.0. The flow allows attackers to cause a denial of service (abort) via a crafted file.

osv:CVE-2021-30501
Complete source record
{
  "id": "9c061d945e93b8aba3eb4e261bb7ac5d9fabb73500900c481e32df11e1f08207",
  "url": "https://osv.dev/vulnerability/CVE-2021-30501",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-30501",
    "summary": "An assertion abort was found in upx MemBuffer::alloc() in mem.cpp, in version UPX 4.0.0. The flow allows attackers to cause a denial of service (abort) via a crafted file.",
    "evidence": "osv:CVE-2021-30501",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-30501",
      "aliases": [
        "CVE-2021-30501"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/upx/upx",
              "type": "GIT",
              "events": [
                {
                  "introduced": "69ca635c4c0ba474e9ca583dbb42e3d028c4533a"
                },
                {
                  "last_affected": "69ca635c4c0ba474e9ca583dbb42e3d028c4533a"
                },
                {
                  "fixed": "28e761cd42211dfe0124b7a29b2f74730f453e46"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:upx:upx:4.0.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.0.0"
                      },
                      {
                        "last_affected": "4.0.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "28e761cd42211dfe0124b7a29b2f74730f453e46"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "4.0.0",
            "v4.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-30501.json"
          }
        }
      ],
      "modified": "2026-10-20T10:53:44.096674807Z",
      "provider": "osv",
      "references": [
        "https://github.com/upx/upx/issues/486",
        "https://bugzilla.redhat.com/show_bug.cgi?id=1948696",
        "https://github.com/upx/upx/commit/28e761cd42211dfe0124b7a29b2f74730f453e46",
        "https://github.com/upx/upx/pull/487"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "33"
                  },
                  {
                    "last_affected": "33"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "redhat:enterprise_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "7.0"
                  },
                  {
                    "last_affected": "7.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-30501",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 384556,
  "published_at": "2021-05-27T00:15:08.527+00:00"
}