CVE-2021-26927
NixOS vulnerability analysis and mitigation

Overview

A null pointer dereference vulnerability was discovered in JasPer versions before 2.0.25, identified as CVE-2021-26927. The vulnerability exists in the jp2_decode function within jp2_dec.c file of the JasPer image processing library (NVD, GitHub Issue).

Technical details

The vulnerability occurs in the jp2_decode function when processing JPEG 2000 images. The issue arises when the decoder attempts to process a JP2 file with inconsistent values for the number of components and/or component types, which can lead to a null pointer dereference. The vulnerability has a CVSS v3.1 Base Score of 5.5 (Medium) with vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H (NVD).

Impact

When exploited, this vulnerability can lead to program crash and denial of service. The impact is limited to availability, with no direct impact on confidentiality or integrity of the system (NVD).

Exploitability

The vulnerability can be triggered by processing a specially crafted JP2 image file. A proof of concept (PoC) exploit has been published demonstrating the null pointer access in jp2_decode when running jasper with specific JP2 files (GitHub Issue).

Mitigation and workarounds

The vulnerability has been fixed in JasPer version 2.0.25 and later. The fix involves modifying the JP2 decoder to treat inconsistent component values as hard errors rather than warnings, preventing the null pointer dereference condition (GitHub Commit). Users are advised to upgrade to version 2.0.25 or later.

Community reactions

The vulnerability was addressed in various Linux distributions including Fedora 32, 33, and 34, which released security updates to patch the vulnerability (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-2026-78662HIGH7.5
  • Docker logoDocker
  • cilium-fips-1.20
NoYesSep 02, 2026
CVE-2026-56855HIGH7.5
  • Docker logoDocker
  • argo-workflows-fips-4.0
NoYesSep 02, 2026
CVE-2026-84642HIGH7.5
  • NixOS logoNixOS
  • thunderbird
NoYesSep 01, 2026
CVE-2026-84641HIGH7.5
  • NixOS logoNixOS
  • thunderbird
NoYesSep 01, 2026
CVE-2026-84640HIGH7.5
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:thunderbird
NoYesSep 01, 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