CVE-2021-36691
NixOS vulnerability analysis and mitigation

Overview

libjxl v0.5.0 contains an assertion failure vulnerability in the PlaneBase::PlaneBase function within lib/jxl/image.cc. The vulnerability was discovered and disclosed in August 2021, affecting the JPEG XL encoder component. This security issue impacts systems using libjxl version 0.5.0 for image processing operations (MITRE CVE, NVD).

Technical details

The vulnerability occurs during the encoding process of GIF files using the cjxl tool. The issue stems from an assertion failure in the PlaneBase::PlaneBase constructor when processing certain GIF files. The root cause appears to be related to memory allocation size calculations, where extremely large values can trigger the assertion check failure (GitHub Issue).

Impact

When successfully exploited, this vulnerability can lead to a denial of service condition. When attempting to encode a malicious GIF file using cjxl, the application crashes due to the assertion failure, making the service temporarily unavailable (MITRE CVE).

Mitigation and workarounds

The vulnerability affects libjxl version 0.5.0, and users are advised to update to a newer version of the software. As of the latest information available, this issue remains unfixed in several distributions including Debian bookworm, trixie, and sid (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-2025-12819HIGH8.1
  • NixOSNixOS
  • pgbouncer
NoYesDec 03, 2025
CVE-2025-20777MEDIUM6.7
  • NixOSNixOS
  • android
NoNoDec 02, 2025
CVE-2025-65105MEDIUM5.3
  • NixOSNixOS
  • apptainer
NoYesDec 02, 2025
CVE-2025-20789MEDIUM4.4
  • NixOSNixOS
  • android
NoNoDec 02, 2025
CVE-2025-20788MEDIUM4.4
  • NixOSNixOS
  • android
NoNoDec 02, 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