Skip to content
Heist/ feed
Back to feed
High

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

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-77467
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 17:26 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 15 Oct 2026, 16:34 UTC

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.

osv:CVE-2026-77467
Complete source record
{
  "id": "6729548dee36f4534b67fcd40fd54d5535e58dd30b1e396d406fc66cccf32f86",
  "url": "https://osv.dev/vulnerability/CVE-2026-77467",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Lychee: A single 383-byte PDF causes ~184 seconds of CPU consumption in the real processing path",
    "summary": "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.",
    "evidence": "osv:CVE-2026-77467",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-77467",
      "aliases": [
        "CVE-2026-77467",
        "GHSA-6736-fhxv-3p79"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/lycheeorg/lychee",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "c6a4c15bf7460dd47db5a7dba953d1004e4db6d5"
                },
                {
                  "fixed": "1e92846af4c2d259a225cf4517de17efba04f945"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "7.7.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "1e92846af4c2d259a225cf4517de17efba04f945"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "c6a4c15bf7460dd47db5a7dba953d1004e4db6d5"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v7.7.0"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v7.6.4",
            "v7.6.3",
            "v7.6.2",
            "v7.6.1",
            "v7.6.0",
            "v7.5.4",
            "v7.5.3",
            "v7.5.2",
            "v7.5.1",
            "v7.5.0",
            "v7.4.2",
            "v7.4.1",
            "v7.4.0",
            "v7.3.3",
            "v7.3.2",
            "v7.3.1",
            "v7.3.0",
            "v7.2.1",
            "v7.2.0",
            "v7.1.2",
            "v7.1.1",
            "v7.1.0",
            "v7.0.1",
            "v7.0.0",
            "v6.10.4",
            "v6.10.3",
            "v6.10.2",
            "v6.10.1",
            "v6.10.0",
            "v6.9.4",
            "v6.9.3",
            "v6.9.2",
            "v6.9.1",
            "v6.9.0",
            "v6.8.1",
            "v6.8.0",
            "v6.7.2",
            "v6.7.1",
            "v6.7.0",
            "v6.6.14",
            "v6.6.13",
            "v6.6.12",
            "v6.6.11",
            "v6.6.10",
            "v6.6.9",
            "v6.6.8",
            "v6.6.7",
            "v6.6.6",
            "v6.6.5",
            "v6.6.4",
            "v6.6.3",
            "v6.6.2",
            "v6.6.1",
            "v6.6.0",
            "v6.5.3",
            "v6.5.2",
            "v6.5.1",
            "v6.5.0",
            "v6.4.2",
            "v6.4.1",
            "v6.4.0",
            "v6.3.5",
            "v6.3.4",
            "v6.3.3",
            "v6.3.2",
            "v6.3.1",
            "v6.3.0",
            "v6.2.0",
            "v6.1.2",
            "v6.1.1",
            "v6.1.0",
            "v6.0.1",
            "v6.0.0",
            "v5.5.1",
            "v5.5.0",
            "v5.4.0",
            "v5.3.1",
            "v5.3.0",
            "v5.2.2",
            "v5.2.1",
            "v5.2.0",
            "v5.1.2",
            "v5.1.1",
            "v5.1.0",
            "v5.0.3",
            "v5.0.2",
            "v5.0.1",
            "v5.0.0",
            "v5.0.0-beta",
            "v4.13.0",
            "v4.12.0",
            "v4.11.1",
            "v4.11.0",
            "v4.10.0",
            "v4.9.4",
            "v4.9.3",
            "v4.9.3-RC",
            "v4.9.2",
            "v4.9.1",
            "v4.9.0",
            "v4.8.1",
            "v4.8.0",
            "v4.7.4",
            "v4.7.3",
            "v4.7.2",
            "v4.7.1",
            "v4.7.0",
            "v4.6.5",
            "v4.6.4",
            "v4.6.3-RC1",
            "v4.6.2",
            "v4.6.2-RC2",
            "v4.6.2-RC1",
            "v4.6.1-RC2",
            "v4.6.1",
            "v4.6.1-RC1",
            "v4.6.0",
            "v4.6.0-RC3",
            "v4.6.0-RC2",
            "v4.6.0-RC",
            "v4.5.3",
            "v4.5.2",
            "v4.5.1",
            "v4.5.0",
            "v4.4.0",
            "v4.3.6",
            "v4.3.5",
            "v4.3.4",
            "v4.3.0",
            "v4.2.2",
            "v4.2.1",
            "v4.2.0",
            "v4.1.0",
            "v4.0.8",
            "v4.0.7",
            "v4.0.6",
            "v4.0.5",
            "v4.0.4",
            "v4.0.3",
            "v4.0.2",
            "v4.0.1",
            "v4.0.0",
            "v4.0.0-beta.2",
            "v4.0.0-beta.1",
            "v4.0.0-alpha.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-77467.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:30.816621439Z",
      "provider": "osv",
      "references": [
        "https://github.com/LycheeOrg/Lychee/releases/tag/v7.7.0",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77467.json",
        "https://github.com/LycheeOrg/Lychee/security/advisories/GHSA-6736-fhxv-3p79",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-77467",
        "https://github.com/LycheeOrg/Lychee/commit/1e92846af4c2d259a225cf4517de17efba04f945",
        "https://github.com/LycheeOrg/Lychee/pull/4511"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-400",
          "CWE-770"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77467.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-77467",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 497839,
  "published_at": "2026-10-15T16:34:35.236+00:00"
}