Vulnerability · Published Oct 15, 2026 · Assigned by GitHub_M
CVE-2026-77467Lychee: A single 383-byte PDF causes ~184 seconds of CPU consumption in the real processing path
High 7.1
In plain English
A high-severity uncontrolled resource consumption in Lychee from LycheeOrg. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 28% of all known vulnerabilities).
Official 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.
Affected products (as reported)
Weakness: CWE-400, CWE-770 · 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
References
- https://github.com/LycheeOrg/Lychee/security/advisories/GHSA-6736-fhxv-3p79 x_refsource_CONFIRM
- https://github.com/LycheeOrg/Lychee/pull/4511 x_refsource_MISC
- https://github.com/LycheeOrg/Lychee/commit/1e92846af4c2d259a225cf4517de17efba04f945 x_refsource_MISC
- https://github.com/LycheeOrg/Lychee/releases/tag/v7.7.0 x_refsource_MISC