Packagist
CVE-2026-142186
Glide through 4.2.1 max_image_size Bypass via Border and Watermark Dimensions
- Severity
- Medium 6.9
- Published
- 2 Dec 2026
- Last changed
- 2 Dec 2026
- Added to UpHeron
- 2 Dec 2026
- Weakness
- CWE-789
- Attack
- Over the network · No login needed · No user action needed
- Attacker can
- Slow it down
- CVSS 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- Sources
- CVE Program
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.
Affected software
| Software | Affected versions |
|---|---|
league/glidePackagist · osv:Packagist:league/glide |
|
About league/glide
- Monthly downloads (Packagist)
- 1,218,673Packagist, 2 Dec 2026
- Total downloads (Packagist)
- 58,007,473Packagist, 2 Dec 2026
Vulnerabilities in league/glide
- In our list
- 2
- Published in the last 12 months
- 2
- Critical, last 12 months
- 0
- High, last 12 months
- 0
- Known exploited
- 0
- CVE-2026-142185Glide through 4.2.1 Path Traversal via Server::getSourcePath and WatermarkMedium 6.3 2 Dec 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-142186