Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › Vulnerabilities › thephpleague

Medium 6.9 2 CVEs Analysis

Glide image library flaws allow memory exhaustion and path traversal via unsigned URLs

NVD published two medium-severity flaws in thephpleague Glide through 4.2.1 on 2026-12-02. Both are described as reachable by unauthenticated remote attackers when image URLs are not signed.

What to look into

  • 2 vulnerabilities in thephpleague Glide: 2 medium (CVSS up to 6.9).
  • None of them is known to be exploited yet.
  • Start with CVE-2026-142186 (6.9 medium): 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… An attacker without an account can exploit this over the network, without any user action.
  • 2 of 2 can be attacked over the network without logging in, 2 of them without anyone clicking anything.
  • Kinds of flaws: Memory Allocation with Excessive Size Value; Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal').
PHPVulnerabilitiesWeb

Key points

  • Both CVEs affect Glide through 4.2.1 and are rated MEDIUM.
  • CVE-2026-142186 (CVSS 6.9) allows resource exhaustion through oversized border or watermark dimensions.
  • CVE-2026-142185 (CVSS 6.3) is a path traversal allowing reads outside configured prefixes and cache writes outside cachepathprefix.
  • Both issues are tied to unsigned image URL requests in the records.
  • The sources report no known exploitation and name no fixed version.

Overview

Two medium-severity vulnerabilities in thephpleague Glide were published together by NVD on 2026-12-02. Both affect Glide through 4.2.1. According to the records, both can be triggered by remote, unauthenticated attackers when image URLs are not signed.

Resource exhaustion

CVE-2026-142186 (CVSS 6.9, MEDIUM) is the more severe of the pair. The record describes a resource limit bypass that lets requests exceed the maximagesize limit by supplying large border widths or markw and markh values. The record says this can allocate oversized images, exhausting PHP memory and CPU.

Path traversal

CVE-2026-142185 (CVSS 6.3, MEDIUM) is a path traversal flaw. According to the record, encoded dot-dot sequences such as ..%2F in request paths or the mark parameter can reach images outside configured prefixes. The record also says attackers can write cache files outside cachepathprefix.

Exploitation and fixes

The sources do not report active exploitation. They do not name a fixed version. They also give no vendor workaround or detection guidance beyond the unsigned-URL condition described above.

What to do

  1. Check whether your Glide installation is version 4.2.1 or earlier, which the NVD records say is affected.
  2. Review whether your deployment accepts unsigned image URLs, since both records tie the issues to unsigned requests.
  3. Check the upstream project for a fixed release, as the sources do not name one.

Our article about all 2 vulnerabilities, written with AI assistance from the official records listed below. Each CVE's page has its details.

The 2 vulnerabilities

  • CVE-2026-142186 6.9 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 borde…
  • CVE-2026-142185 6.3 Glide through 4.2.1 contains a path traversal vulnerability that allows remote unauthenticated attackers to read images outside configured prefixes by supplying encoded dot-dot sequences. When image URLs are not signed, attackers can send…

Frequently asked questions

How many thephpleague Glide vulnerabilities were published on December 2, 2026?

2 vulnerabilities: 2 medium, with CVSS scores up to 6.9.

Are any of them being exploited?

None of them is in CISA's Known Exploited Vulnerabilities catalog yet.

Which one should be fixed first?

CVE-2026-142186 (CVSS 6.9): 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…

Original records