CVE-2021-43313
NixOS vulnerability analysis and mitigation

Overview

A heap-based buffer overflow vulnerability was discovered in UPX (CVE-2021-43313), affecting versions up to 4.0.0. The vulnerability occurs when the variable 'bucket' points to an inaccessible address in the function PackLinuxElf32::invert_pt_dynamic at p_lx_elf.cpp:1688 (GitHub Issue).

Technical details

The vulnerability is triggered in the PackLinuxElf32::invert_pt_dynamic function where a heap-based buffer overflow occurs during memory access. The issue manifests when the 'bucket' variable attempts to access memory beyond its allocated bounds, specifically at address 0x61600000fed9, which is located 1 byte to the right of a 600-byte allocated region. The vulnerability has been assigned a CVSS v3.1 Base Score of 7.5 (HIGH) with vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The vulnerability can lead to a denial of service condition through program crashes. When exploited, it causes the program to abort due to heap buffer overflow, potentially affecting the availability of systems using the affected UPX versions (NVD).

Mitigation and workarounds

The vulnerability has been fixed in UPX version 4.0.0. Users are advised to upgrade to this version or later. For systems that cannot be immediately upgraded, there is no documented workaround (Debian Security).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-4370CRITICAL10
  • NixOSNixOS
  • juju
NoYesApr 01, 2026
CVE-2026-34235MEDIUM6.9
  • NixOSNixOS
  • pjsip
NoYesMar 31, 2026
CVE-2026-34730MEDIUM5.5
  • PythonPython
  • copier
NoYesApr 02, 2026
CVE-2026-32113MEDIUM5.1
  • NixOSNixOS
  • cpe:2.3:a:discourse:discourse
NoYesMar 31, 2026
CVE-2026-34726MEDIUM4.4
  • PythonPython
  • copier
NoYesApr 02, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management