Intel

AIKIDO-2026-452416

imageio-dds is vulnerable to Denial of Service (DoS)

Denial of Service (DoS)GHSA-fwp7-38wp-mmxw Published 4 days ago

65

Medium Risk

This Affects:

JAVAimageio-dds
0.0.1 - 3.14.0
Fixed in 3.15.0
Are you affected? Scan for Free

TL;DR

TwelveMonkeys' DDS reader (DDSHeader.addDimensions) allocates a Dimension[] array sized directly from the dwMipMapCount header field, with no upper bound or remaining stream length check. A crafted 38-byte DDS file can set dwMipMapCount to a large value, causing a multi gigabyte allocation and an OutOfMemoryError that terminates the JVM. Any application that calls ImageIO.read() on an untrusted image is affected, since TwelveMonkeys registers this reader as an ImageIO SPI plugin. The fix validates mipMapCount against a sane cap before allocating the dimensions array.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you use ImageIO.read() to decode DDS images from untrusted sources.

Background info

imageio-dds is vulnerable to Denial of Service (DoS) in versions 0.0.1 - 3.14.0.

How to fix this

Upgrade the imageio-dds library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform