Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-43312

A heap-based buffer overflow was discovered in upx, during the variable 'bucket' points to an inaccessible address. The issue is being triggered in the function PackLinuxElf64::invert_pt_dynamic at p_lx_elf.cpp:5239.

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

Source evidence

CVE-2021-43312

core-osv · Original source

Published 24 Mar 2023, 20:15 UTC

A heap-based buffer overflow was discovered in upx, during the variable 'bucket' points to an inaccessible address. The issue is being triggered in the function PackLinuxElf64::invert_pt_dynamic at p_lx_elf.cpp:5239.

osv:CVE-2021-43312
Complete source record
{
  "id": "904ccea6396356d9b69c05971231bd6bfa4935f9ecd26a50567b396066bc94b1",
  "url": "https://osv.dev/vulnerability/CVE-2021-43312",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-43312",
    "summary": "A heap-based buffer overflow was discovered in upx, during the variable 'bucket' points to an inaccessible address. The issue is being triggered in the function PackLinuxElf64::invert_pt_dynamic at p_lx_elf.cpp:5239.",
    "evidence": "osv:CVE-2021-43312",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-43312",
      "aliases": [
        "CVE-2021-43312"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/upx/upx",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "69ca635c4c0ba474e9ca583dbb42e3d028c4533a"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:upx:upx:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "4.0.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v3.99",
            "v3.96",
            "v3.95",
            "v3.93",
            "v3.92",
            "v3.91",
            "v3.09",
            "v3.07",
            "v3.06",
            "v3.04",
            "v3.03",
            "v3.02",
            "v3.01",
            "v3.00",
            "v2.93",
            "v2.92",
            "v2.91",
            "v2.90",
            "v2.01",
            "v2.00",
            "v1.96",
            "v1.95",
            "v1.94",
            "v1.93",
            "v1.92",
            "v1.91",
            "v1.90",
            "v1.11",
            "v1.10"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-43312.json"
          }
        }
      ],
      "modified": "2026-10-20T10:55:02.235956157Z",
      "provider": "osv",
      "references": [
        "https://github.com/upx/upx/issues/379"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-43312",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 386752,
  "published_at": "2023-03-24T20:15:08.27+00:00"
}