Intel

AIKIDO-2026-838159

gumlet/php-image-resize is vulnerable to Denial of Service

CVE-2026-109398Published Nov 4, 2026
November 4, 2026

68

CVE Score

Medium

Denial of Service

Are you affected? Scan for Free

TL;DR

Before the fix, the ImageResize constructor decoded the supplied image with GD imagecreatefrom* calls without limiting decoded pixel count, so any unauthenticated client whose uploaded file an application passed to ImageResize could supply a small, highly compressed image that decodes into a huge canvas and exhaust PHP memory, terminating the worker. The fix adds a default max_source_pixels limit of 15,000,000 and throws ImageResizeException before decoding when a source image exceeds it.

How do I fix this?

Upgrade the gumlet/php-image-resize package to 3.0.1 or later.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and pass an image file supplied by an unauthenticated client to ImageResize without checking its decoded pixel dimensions.

Versions

1.0.0 - 3.0.0

Fixed in 3.0.1

Background info

gumlet/php-image-resize is vulnerable to Denial of Service in versions 1.0.0 - 3.0.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea