CVE-2020-27788
NixOS vulnerability analysis and mitigation

Overview

An out-of-bounds read access vulnerability was discovered in UPX version 3.96 and earlier in the PackLinuxElf64::canPack() function of plxelf.cpp file. The vulnerability was assigned CVE-2020-27788 and was later fixed in subsequent versions (NVD, Debian Tracker).

Technical details

The vulnerability is classified as CWE-125 (Out-of-bounds Read) and occurs in the PackLinuxElf64::canPack() function when processing ELF files. The issue stems from improper validation of the e_shstrtab section, which could lead to a heap buffer overflow when reading beyond allocated memory (GitHub Issue).

Impact

When exploited, this vulnerability could lead to a heap-buffer-overflow condition, potentially causing program crashes and denial of service. The vulnerability could also potentially lead to information disclosure by allowing attackers to read data outside of intended buffer boundaries (GitHub Issue).

Mitigation and workarounds

The vulnerability was fixed in subsequent versions of UPX through improved validation of the e_shstrtab section. The fix includes better bounds checking for the shstrtab section and improved error handling (GitHub Commit).

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-2025-48606HIGH7.8
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48625HIGH7
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48608MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48569MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-65799MEDIUM4.3
  • NixOSNixOS
  • memos
NoYesDec 08, 2025

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