Wiz Agents & Workflows are here

CVE-2020-15888
NixOS vulnerability analysis and mitigation

Overview

CVE-2020-15888 affects Lua through version 5.4.0. The vulnerability stems from mishandling the interaction between stack resizes and garbage collection, which can lead to multiple memory-related issues including heap-based buffer overflow, heap-based buffer over-read, or use-after-free conditions (Debian Security).

Technical details

The vulnerability occurs in the interaction between stack resize operations and garbage collection in Lua's memory management system. When the stack is resized during garbage collection operations, it can result in various memory corruption issues. The vulnerability has a CVSS 3.1 score of 8.8 (High), with attack vector being Network, attack complexity Low, and requiring user interaction. The issue affects confidentiality, integrity, and availability, all with High impact ratings (Ubuntu Security).

Impact

The vulnerability can lead to multiple severe memory corruption issues: heap-based buffer overflow, heap-based buffer over-read, or use-after-free conditions. These memory corruption vulnerabilities could potentially allow attackers to execute arbitrary code, cause program crashes, or access sensitive information (Debian Security).

Mitigation and workarounds

The vulnerability was fixed in Lua 5.4.1 through two main commits: one to maintain minimum stack size when shrinking a stack during garbage collection (Lua Commit), and another to fix bugs related to stack reallocation and garbage collection interaction (Lua Commit). Users are advised to upgrade to Lua version 5.4.1 or later.

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-2370HIGH8.8
  • GitLabGitLab
  • gitlab
NoYesMar 30, 2026
CVE-2026-33206HIGH8.2
  • NixOSNixOS
  • calibre
NoYesMar 27, 2026
CVE-2026-33868MEDIUM6.1
  • NixOSNixOS
  • mastodon
NoYesMar 27, 2026
CVE-2026-33869MEDIUM4.8
  • NixOSNixOS
  • cpe:2.3:a:joinmastodon:mastodon
NoYesMar 27, 2026
CVE-2026-33205MEDIUM4.8
  • NixOSNixOS
  • cpe:2.3:a:calibre-ebook:calibre
NoYesMar 27, 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