CVE-2026-142186 — thephpleague Glide
One of 2 thephpleague Glide vulnerabilities published together by NVD: our article covers all of them.
PHPWebVulnerabilitiesSummary
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.
Severity breakdown
Medium · 6.9
An attacker without an account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- Login needed
- no
- User action needed
- no
- Impact
- low on availability, none on confidentiality and integrity
- Impact on other systems
- none
Weakness
- CWE-789: Memory Allocation with Excessive Size Value
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| thephpleague Glide | ≤ 4.2.1 | — |
References by type
Other references
Affected
- thephpleague Glide
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-142186?
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. Weakness type: Memory Allocation with Excessive Size Value (CWE-789).
How severe is CVE-2026-142186?
CVE-2026-142186 has a CVSS 4.0 base score of 6.9 (medium), from the CNA (vulncheck.com). An attacker without an account can exploit this over the network, without any user action.
Is CVE-2026-142186 being exploited?
Not as far as is known: CVE-2026-142186 is not in CISA's Known Exploited Vulnerabilities catalog as of December 3, 2026. EPSS estimates a 0.9% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-142186?
thephpleague Glide ≤ 4.2.1.
How do I fix CVE-2026-142186?
Follow the advisories and patches linked on this page under References for fixed versions and workarounds.
Timeline & sources
References
Related vulnerabilities & news
- Wordfence Logs 443 WordPress Vulnerabilities in One Week, Mostly in Plugins
- GHSA-8f3c-h6mw-83ch / CVE-2026-88991 — silverstripe/userforms allows server-side template injection in email subjects
- SilverStripe Advanced Workflow Allows Code Execution via Email Templates
- CVE-2026-142141 — joodb.feenders.de JooDatabase extension for Joomla
- CVE-2026-143968 — Retainful - WooCommerce Abandoned Cart Recovery, Email Campaigns, Newsletters, Signup Forms & Popups