CVE-2022-40755
NixOS vulnerability analysis and mitigation

Overview

CVE-2022-40755 is a vulnerability discovered in JasPer version 3.0.6, identified on September 16, 2022. The vulnerability affects the image processing functionality within the software, specifically in the inttobits function located in libjasper/base/jas_image.c (MITRE CVE, Debian Tracker).

Technical details

The vulnerability manifests as a reachable assertion in the inttobits function within libjasper/base/jas_image.c. The specific assertion that can be triggered is 'v >= 0 || sgnd', which occurs when parsing crafted JP2 files. This issue was discovered during fuzz testing of the imginfo utility (GitHub Issue).

Impact

When exploited, this vulnerability results in a denial of service condition through the triggering of an assertion failure. This can cause the application using JasPer to terminate unexpectedly when processing specially crafted image files (MITRE CVE).

Exploitability

The vulnerability can be triggered by processing a specially crafted JP2 file using the imginfo utility. A proof of concept has been demonstrated using the command './imginfo -f $POC' which results in the application crash (GitHub Issue).

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
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