CVE-2023-36308
Wolfi vulnerability analysis and mitigation

Overview

CVE-2023-36308 affects disintegration Imaging 1.6.2, a Go image processing library. The vulnerability was discovered in July 2023 and allows attackers to cause a panic through an integer index out of range during a Grayscale call when processing a crafted TIFF file via the scan function of scanner.go (GitHub Issue).

Technical details

The vulnerability occurs in the scan function of scanner.go at line 242, where the statement c := s.palette[img.Pix[i]] attempts to access an out-of-bounds index. When processing certain maliciously crafted TIFF images, the code attempts to access index 70 while the palette length is only 65, resulting in a panic. The vulnerability has been assigned a CVSS v3.1 base score of 5.5 MEDIUM (Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H) (NVD).

Impact

The vulnerability results in a denial of service through application panic when processing specially crafted TIFF files. However, as noted in the CVE description, it is unclear whether there are common use cases in which this panic could have any security consequence beyond denial of service (NVD).

Mitigation and workarounds

The issue has been addressed in some downstream packages by switching to maintained forks of the imaging library. For example, Fedora has patched their kitty package (version 0.31.0-2.fc39) by switching to a maintained fork of imaging that fixes this vulnerability (Fedora Update).

Additional resources


SourceThis report was generated using AI

Related Wolfi vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66034CRITICAL9.8
  • PythonPython
  • mlflow
NoYesNov 29, 2025
CVE-2025-66031HIGH8.7
  • JavaScriptJavaScript
  • kibana-8.19
NoYesNov 26, 2025
CVE-2025-10543MEDIUM6.3
  • MinIOMinIO
  • dapr-fips-1.15
NoYesDec 02, 2025
CVE-2025-66221MEDIUM6.3
  • PythonPython
  • superset-4.1
NoYesNov 29, 2025
CVE-2025-3261MEDIUM6.2
  • JavaJava
  • thingsboard
NoYesNov 27, 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