Vulnerability in Disintegration Imaging

CVE-2023-36308

disintegration Imaging 1.6.2 allows attackers to cause a panic (because of an integer index out of range during a Grayscale call) via a crafted TIFF file to the scan function of scanner.go. NOTE: it is unclear whether there are common use cases in which this panic could have any security consequence

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.

EPSS exploit prediction

EPSS 0.004, 33.1th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

Weakness classification (CWE)

Public exploits and proof-of-concept code

2 public repositories with exploit or proof-of-concept code for this CVE:

  • klphp/imaging (last pushed 2026-11-04): Maintained fork of disintegration/imaging: no TIFF/BMP decoders (CVE-2023-36308 gone), GIF palette panic fixed, WebP decode. Pure Go.
  • vtemlabs/imaging (last pushed 2026-06-21): Security-maintenance fork of disintegration/imaging (CVE-2023-36308 fix) used by Tala WTE

References