CVE-2022-0856
NixOS vulnerability analysis and mitigation

Overview

CVE-2022-0856 is a security vulnerability affecting libcaca, a library for Colour AsCii Art that provides text mode graphics capabilities. The vulnerability was discovered and reported on February 24, 2022, and involves a divide-by-zero issue in the img2txt utility, which could allow remote attackers to cause a denial of service condition (Github Issue, CVE Mitre).

Technical details

The vulnerability exists in the img2txt component of libcaca, specifically triggering a divide-by-zero condition that results in a crash. When exploited, it causes a DEADLYSIGNAL error with AddressSanitizer reporting a Floating Point Exception (FPE). The issue was identified in the main function of img2txt.c at line 183 (Github Issue).

Impact

When successfully exploited, this vulnerability can lead to a Denial of Service (DoS) condition, causing the application to crash. The impact is primarily limited to the availability of the img2txt utility within libcaca (Debian Tracker).

Mitigation and workarounds

The vulnerability has been patched in various distributions including Fedora 37, 38, and 39 with version 0.99-0.69.beta20. Users are advised to update their libcaca packages to the latest version (Fedora Update).

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-69264CRITICAL9.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69263HIGH8.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69262HIGH7.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2026-21885MEDIUM6.5
  • NixOSNixOS
  • miniflux
NoYesJan 08, 2026
CVE-2026-22184MEDIUM4.6
  • NixOSNixOS
  • java-1.8.0-openjdk-demo
NoYesJan 07, 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