CVE-2026-142186

medium

Description

Glide through 4.2.1 contains a resource limit bypass vulnerability that allows remote unauthenticated attackers to exceed max_image_size 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.

References

https://www.vulncheck.com/advisories/glide-through-4.2.1-max-image-size-bypass-via-border-and-watermark-dimensions

https://github.com/thephpleague/glide/blob/4.2.1/src/Manipulators/Watermark.php#L88-L118

https://github.com/thephpleague/glide/blob/4.2.1/src/Manipulators/Border.php#L173-L189

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-141519

Details

Source: Mitre, NVD

Published: 2026-12-02

Updated: 2026-12-04

Risk Information

CVSS v2

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Severity: High

CVSS v3

Base Score: 5.3

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Severity: Medium

CVSS v4

Base Score: 6.9

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Severity: Medium

EPSS

EPSS: 0.00923