CVE-2022-37768
Linux Debian vulnerability analysis and mitigation

Overview

libjpeg commit 281daa9 was discovered to contain an infinite loop vulnerability via the component Frame::ParseTrailer. The vulnerability was assigned CVE-2022-37768 and was disclosed on August 18, 2022. The vulnerability affects libjpeg software, particularly versions before commit 281daa9 (NVD, CVE).

Technical details

The vulnerability exists in the Frame::ParseTrailer function where there is a continuous loop that reads markers in the stream by calling IOStream::PeekWord() function. The issue occurs because IOStream::PeekWord() might always return the same value, causing the program to repeatedly read values from the same address. This results in the program never terminating as it continuously takes the default branch in the code. The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (NVD, GitHub Issue).

Impact

The vulnerability allows attackers to cause a Denial of Service (DoS) condition by triggering an infinite loop in the application. This can result in the program never terminating, effectively making the service unavailable (NVD).

Mitigation and workarounds

The vulnerability has been fixed in newer versions of libjpeg. Debian has addressed this in version 0.0~git20220805.54ec643-1 and later releases. Users are advised to upgrade to the fixed versions to mitigate this vulnerability (Debian Tracker).

Additional resources


SourceThis report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-61729HIGH7.5
  • DockerDocker
  • golang-1.19
NoYesDec 02, 2025
CVE-2025-64460HIGH7.5
  • Linux DebianLinux Debian
  • python-django
NoYesDec 02, 2025
CVE-2025-65187MEDIUM6.1
  • Linux DebianLinux Debian
  • civicrm
NoNoDec 02, 2025
CVE-2025-65105MEDIUM4.5
  • Linux DebianLinux Debian
  • github.com/apptainer/apptainer
NoYesDec 02, 2025
CVE-2025-13372MEDIUM4.3
  • Linux DebianLinux Debian
  • py3-django
NoYesDec 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