CVE-2026-142186: Glide through 4.2.1 max_image_size Bypass via Border and Watermark Dimensions

Published Dec 2, 2026
·
Updated

Glide through 4.2.1 contains a resource limit bypass vulnerability that allows remote unauthenticated attackers to exceed maximagesize by supplying large border or watermark dimensions. Attackers can send unsigned requests with large border widths or markw and markh values to allocate oversized images, exhausting PHP memory and CPU.

Affected Software

1 affected component
composer/league/glide<=4.2.1

Event History

Dec 2, 2026
CVE Published
via MITRE·04:51 PM
Data Sourced
via MITRE·04:51 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Deployments of composer/league/glide through version 4.2.1 are exposed when remote users can submit image-manipulation requests. Authentication is not required, and unsigned requests can be used.

2

What request parameters are used to trigger the resource exhaustion?

An attacker can supply large border widths or large watermark width and height values through the markw and markh parameters. These dimensions can cause Glide to allocate oversized images beyond the configured max_image_size limit.

3

What is the operational impact of successful exploitation?

Successful requests can exhaust PHP memory and CPU. This can degrade availability or cause a denial of service for the affected image-processing deployment.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203