CVE-2020-36120
NixOS vulnerability analysis and mitigation

Overview

Buffer Overflow vulnerability (CVE-2020-36120) was identified in the 'sixel_encoder_encode_bytes' function of Libsixel version 1.8.6. The vulnerability was discovered and reported on December 30, 2020 (GitHub Issue). This security flaw affects systems running Libsixel v1.8.6, particularly on platforms like Ubuntu 20.04 LTS (NVD).

Technical details

The vulnerability is a stack-buffer-overflow that occurs in the 'sixel_encoder_encode_bytes' function at encoder.c:1788. The issue manifests during the processing of pixel data, specifically in the get_rgb function within pixelformat.c:50:18. The vulnerability can be triggered when processing certain malformed input data through the sixel_encoder_encode_bytes function (GitHub Issue).

Impact

When exploited, this vulnerability allows attackers to cause a Denial of Service (DoS) condition in applications using the affected Libsixel library. The buffer overflow can lead to application crashes and potential system instability (NVD).

Exploitability

A proof-of-concept exploit has been documented that demonstrates the vulnerability. The issue can be triggered through specially crafted input data passed to the sixel_encoder_encode_bytes function. The vulnerability has been confirmed through testing with Address Sanitizer (ASAN) which detected the stack-buffer-overflow condition (GitHub Issue).

Mitigation and workarounds

The vulnerability affects Debian packages including bullseye (1.8.6-2), bookworm (1.10.3-3), and sid/trixie (1.10.5-1). While the issue is marked as 'vulnerable' in these versions, it is considered a minor issue that requires API modifications for a complete fix (Debian Tracker).

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-34191CRITICAL9.1
  • NixOS logoNixOS
  • apr-util
NoYesAug 06, 2026
CVE-2026-32327CRITICAL9.1
  • NixOS logoNixOS
  • apr-util-bdb
NoYesAug 06, 2026
CVE-2026-34502HIGH7.5
  • NixOS logoNixOS
  • apr-util
NoYesAug 06, 2026
CVE-2026-34501HIGH7.5
  • NixOS logoNixOS
  • apr-util
NoYesAug 06, 2026
CVE-2025-49506HIGH7.5
  • NixOS logoNixOS
  • apr-util
NoYesAug 06, 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