CVE-2026-77467: Lychee: A single 383-byte PDF causes ~184 seconds of CPU consumption in the real processing path

Published Oct 15, 2026
·
Updated

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 QUEUECONNECTION 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.

Affected Software

1 affected component
Lychee Lychee<7.7.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Lychee to a version that resolves this vulnerability.

    Fixed in 7.7.0

Event History

Oct 15, 2026
CVE Published
via MITRE·04:34 PM
Data Sourced
via MITRE·04:34 PM
DescriptionWeakness

Frequently Asked Questions

1

Who can exploit this issue?

An authenticated user who is permitted to upload PDFs can trigger the excessive CPU consumption by uploading a small PDF with an oversized /MediaBox. The advisory does not describe exploitation by unauthenticated users.

2

Are default deployments affected, and what is the operational impact?

Affected deployments have ImageMagick PDF support enabled with Ghostscript. With synchronous queue processing, a crafted upload can occupy a web worker; with the official asynchronous Docker configuration, it can clog the shared image-processing queue and delay other work.

3

Is this a Ghostscript sandbox escape?

No Ghostscript sandbox escape was identified in the advisory. The described impact is resource consumption during PDF rendering before image creation fails.

4

What versions are affected and how can the issue be remediated?

Lychee versions prior to 7.7.0 are affected. Upgrade to version 7.7.0, which applies an effective pre-render limit to PDF page dimensions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203