AploSec / Disclosures / CVE-2026-142186

Medium 6.9ReportedNo fix listedCWE-789Packagist

Glide through 4.2.1 max_image_size Bypass via Border and Watermark Dimensions

CVE-2026-142186 · published 2026-12-02

In plain words: this type of bug lets someone slow down or crash the service with crafted input (denial of service). No fixed release is listed yet.

Summary

CVE-2026-142186 affects Glide (Packagist) <= 4.2.1: max_image_size Bypass via Border and Watermark Dimensions (CWE-789). No fixed release is listed. CVSS 4.0 base score 6.9 (Medium), assigned by VulnCheck. Published 2026-12-02 by VulnCheck. Credit: Zachariah Mithani (AploSec).

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.

Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

Remediation

No fixed release is listed in the advisory. Check the references for upstream status.

References

Severity
Medium 6.9CVSS 4.0, scored by VulnCheck in the CVE record
Package
Glide
Ecosystem
Packagist
Affected
<= 4.2.1
Fixed
None
Weakness
CWE-789
CNA
VulnCheck
Credit
Zachariah Mithani (AploSec)finder