Buffer overflow in Upx

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.

Vulnerability class: Buffer Overflow

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

EPSS exploit prediction

EPSS 0.008, 57.7th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • Upx
  • Upx — versions upx before 4.0.0-git-c6b9e3c62d15

Weakness classification (CWE)

References