Description
Lychee is a free, open-source photo-management tool. Prior to 7.7.0, Lychee enables ImageMagick PDF support with Ghostscript but does not apply an effective pre-render limit to PDF page dimensions in ImagickHandler::loadPdf(). An authenticated user who can upload a small PDF with an oversized /MediaBox can cause Imagick::readImage() to consume substantial CPU before failing to produce an image. When QUEUE_CONNECTION selects synchronous processing the request can occupy a web worker, while the official asynchronous Docker configuration can clog the shared image-processing queue and delay other work. The advisory did not identify a Ghostscript sandbox escape. This issue is fixed in version 7.7.0.
Published: 2026-10-15
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service via Resource Exhaustion
Action: Patch Immediately
AI Analysis

Impact

Prior to v7.7.0, Lychee’s image‑handling component uses ImageMagick and Ghostscript to render PDFs without bounding the media box size. An attacker who can authenticate and upload a small PDF with an oversized /MediaBox can trigger Imagick::readImage to consume large amounts of CPU time before failing, resulting in a high‑impact denial of service that stalls image processing. The flaw is caused by the absence of a pre‑render limit on page dimensions, leading to uncontrolled resource consumption (CWE‑400) and potential buffer exhaustion (CWE‑770).

Affected Systems

The vulnerability affects Lychee versions earlier than 7.7.0. It is relevant for installations that allow authenticated users to upload PDFs via ImagickHandler::loadPdf(). The issue exists in the core Lychee application shipped by LycheeOrg and is not limited to a particular deployment mode.

Risk and Exploitability

The CVSS score of 7.1 classifies this as a high‑severity vulnerability, but the EPSS score is below 1 %, indicating a low probability of active exploitation at the time of analysis. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires victim credentials and the ability to upload a malicious PDF, so the attack vector is an authenticated web upload. In configurations where the web worker processes synchronously, the request can occupy a worker for up to several minutes, while asynchronous Docker farms risk clogging a shared processing queue and delaying other tasks.

Generated by OpenCVE AI on October 16, 2026 at 20:10 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Lychee to version 7.7.0 or later, which imposes proper limits on PDF page dimensions.
  • If an immediate update is not possible, restrict PDF upload privileges to a minimal set of trusted administrators and consider disabling PDF support entirely until a patch is applied.
  • Monitor CPU usage on image‑processing workers and throttle or terminate long‑running tasks that exceed a reasonable threshold to prevent systemwide service degradation.

Generated by OpenCVE AI on October 16, 2026 at 20:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 23 Oct 2026 13:15:00 +0000

Type Values Removed Values Added
First Time appeared Lycheeorg
Lycheeorg lychee
Vendors & Products Lycheeorg
Lycheeorg lychee

Tue, 20 Oct 2026 03:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 15 Oct 2026 17:00:00 +0000

Type Values Removed Values Added
Description Lychee is a free, open-source photo-management tool. Prior to 7.7.0, Lychee enables ImageMagick PDF support with Ghostscript but does not apply an effective pre-render limit to PDF page dimensions in ImagickHandler::loadPdf(). An authenticated user who can upload a small PDF with an oversized /MediaBox can cause Imagick::readImage() to consume substantial CPU before failing to produce an image. When QUEUE_CONNECTION selects synchronous processing the request can occupy a web worker, while the official asynchronous Docker configuration can clog the shared image-processing queue and delay other work. The advisory did not identify a Ghostscript sandbox escape. This issue is fixed in version 7.7.0.
Title Lychee: A single 383-byte PDF causes ~184 seconds of CPU consumption in the real processing path
Weaknesses CWE-400
CWE-770
References
Metrics cvssV4_0

{'score': 7.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Lycheeorg Lychee
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-20T02:50:18.889Z

Reserved: 2026-08-20T20:07:49.962Z

Link: CVE-2026-77467

cve-icon Vulnrichment

Updated: 2026-10-20T02:50:14.603Z

cve-icon NVD

Status : Deferred

Published: 2026-10-15T17:17:27.727

Modified: 2026-10-20T03:17:16.690

Link: CVE-2026-77467

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T13:00:16Z

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-770

    Allocation of Resources Without Limits or Throttling