Skip to main content

PHP Glide EUVDEUVD-2026-141519

| CVE-2026-142186 MEDIUM
Memory Allocation with Excessive Size Value (CWE-789)
2026-12-02 VulnCheck GHSA-c3ff-xcx3-g5r9
6.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach Glide image endpoint
  2. Delivery
    Send unsigned request with oversized border/watermark dimensions
  3. Exploit
    Bypass max_image_size guard, allocate oversized buffer
  4. Execution
    Exhaust PHP memory and CPU
  5. Impact
    Service degradation / denial of service

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory allocation limits
Exploitation Conditions

Exploitation requires the target application to expose a Glide image-serving endpoint that accepts UNSIGNED requests - the description explicitly states attackers 'send unsigned requests,' so deployments that enforce Glide's HTTP URL signature are not reachable this way. The attacker must be able to control manipulation parameters, specifically the border width or the watermark markw/markh values, which must exceed what max_image_size would otherwise permit. Limiting factors: if signed URLs are mandated, the oversized dimensions cannot be injected; impact is bounded to availability (memory/CPU) with no confidentiality or integrity consequence; affected scope is Glide versions 0 through 4.2.1. Beyond requiring unsigned-request handling and the Border/Watermark manipulators being in use, no further authentication, user interaction, or special platform is needed (AV:N/AC:L/PR:N/UI:N).

Impact

This is a resource-exhaustion denial-of-service flaw (CWE-789, excessive-size memory allocation), not a code-execution or data-exposure issue. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes a remotely reachable, low-complexity, unauthenticated trigger, but impact is confined to availability at a LOW level (VA:L; VC:N/VI:N) - consistent with memory/CPU exhaustion that degrades rather than destroys, yielding a MEDIUM score of 6.9. The vuln.today decision label is 'this_month', not act_now/emergency, which matches a DoS-only profile. No EPSS score was provided, the CVE is NOT in CISA KEV (no active exploitation signal), and no working exploit code is indicated - the references are the vendor advisory and two source-code line ranges, not a published PoC. Net: a legitimately network-reachable, easy-to-trigger DoS that warrants timely patching, but the ceiling is service availability, so this should be prioritized below RCE/auth-bypass classes despite the attractive AV:N/PR:N/AC:L metrics. One cross-signal note: the 'Authentication Bypass' tag conflicts with the actual mechanism (unauthenticated resource exhaustion), so do not treat this as a credential/access-control bypass.

Exploit ScenarioDerived

An attacker who can reach an application exposing Glide's image endpoint sends an unsigned request specifying an extremely large border width or large markw/markh watermark dimensions. Because the dimensions bypass the max_image_size guard, the server allocates an oversized image buffer, exhausting PHP memory and CPU and degrading or denying service to other users. No authentication or user interaction is required (PR:N/UI:N); no public exploit code is identified at time of analysis, only the vendor advisory and affected source lines.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.9% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Dec 02, 2026

Resource-exhaustion denial of service in League Glide through 4.2.1 lets remote unauthenticated attackers bypass the max_image_size ceiling by supplying oversized border widths or watermark markw/markh dimensions, forcing the library to allocate images far larger than configured and exhausting PHP memory and CPU. The flaw is reachable only where an application exposes a Glide image-serving endpoint that accepts unsigned (non-signature-verified) requests and where the Border or Watermark manipulators are in use, since the attacker must control those manipulation parameters. Impact is availability-only (CVSS 4.0 6.9, AV:N/AC:L/AT:N/PR:N/UI:N with A:L, no confidentiality or integrity effect); no public exploit identified at time of analysis and the issue is not in CISA KEV, though the vendor-reported advisory and linked source locations are public.

RemediationAI

No vendor-released patch identified at time of analysis, and no fixed version is listed in the available advisory data, so treat the following as compensating controls pending an upstream release. The most direct control is to enforce Glide's HTTP URL signature (set a signature key on the Server so unsigned or tampered parameter sets are rejected): this removes the injection path entirely because the attacker can no longer dictate border width or markw/markh, with the trade-off that every image URL must be generated server-side and any cached or externally composed URLs will start returning errors. Where signing is not feasible, validate and clamp manipulation parameters in application code before they reach Glide, rejecting border widths and watermark markw/markh above a fixed hard limit, or disable the Border and Watermark manipulators on any publicly reachable endpoint - at the cost of losing those visual features. As a blast-radius limit, lower PHP memory_limit for the image-serving worker pool and set strict request timeouts so an oversized allocation fails fast rather than saturating the pool, accepting that legitimately large images may also fail; pair this with per-client rate limiting to blunt repeated attempts. Monitor the upstream project and the VulnCheck advisory for a patched release and upgrade as soon as one is published.

Affected VersionsENISA

Glide 0 ≤4.2.1

Affected Packages

euvd glide no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Glide is a PHP image manipulation library that wraps GD or Imagick and exposes a Server component which parses manipulation parameters out of the URL path, optionally gated by an HTTP signature. The configuration option max_image_size exists to cap the dimensions/area of images the library will produce, but the Border manipulator (src/Manipulators/Border.php, lines 173-189 in 4.2.1) and the Watermark manipulator (src/Manipulators/Watermark.php, lines 88-118) expand the output canvas using dimensions that are not counted against that cap, so a large border width or large markw/markh values yield an output allocation orders of magnitude beyond the configured limit. The root cause class is CWE-789 (memory allocation with excessive size value): attacker-controlled size parameters flow into image allocation without adequate range validation, and the resulting memory and CPU consumption is unbounded relative to policy. Because the input path is the unsigned request URL, deployments relying on Glide's signature key to guarantee that only application-generated parameter sets reach the library are not exposed through this vector; the exact internal trigger sequence beyond parameter injection is not described in the available sources. The affected CPE range is cpe:2.3:a:thephpleague:glide covering versions 0 through 4.2.1.

Know when Glide gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 6.9 MEDIUM
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
vuln.today AI 5.3 MEDIUM

Remote, low-complexity, unauthenticated request (AV:N/AC:L/PR:N/UI:N) causing only partial availability loss via memory/CPU exhaustion, so A:L with C:N/I:N and no scope change.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.9%
Top 38% exploitable
Prevalence
Medium
popular open-source PHP image library in Laravel/Flysystem ecosystem, not universal
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.9%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

35
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy