{
  "id": "CVE-2026-112900",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-112900",
  "published_at": "2026-10-19T22:07:50.418Z",
  "title": "Pillow: Argument Injection in Ghostscript call, potentially leading into RCE",
  "vendor": "python-pillow",
  "product": "Pillow",
  "cvss": {
    "score": 9.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-10-25T00:04:53Z",
    "first_seen_at": "2026-11-14T11:20:02.754Z",
    "days_after_publication": 5.1,
    "repo": "moprius/CVE-2026-112900-Pillow-PoC",
    "source": "github"
  },
  "poc_repo_count": 3,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Pillow is a Python imaging library. From 2.6.0 until 13.0.0, Pillow is vulnerable to argument injection when invoking Ghostscript for EPS input. EpsImagePlugin.Ghostscript passes a caller-controlled input filename after -f without converting it to a safe absolute path, so a name beginning with a hyphen can be interpreted as a Ghostscript option. An attacker who controls the filename can inject Ghostscript arguments. Arbitrary command execution specifically requires a leading @ argument-file filename and control of the referenced text file containing additional Ghostscript arguments; the reported chain reproduces with the default -dSAFER invocation. This issue is fixed in version 13.0.0.",
  "cwe": "CWE-78",
  "cpes": [
    "cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.2,
    "nvd": 9.8
  },
  "repos": [
    {
      "repo": "techupdate24/python-pillow-rce-cve-2026-112900",
      "url": "https://github.com/techupdate24/python-pillow-rce-cve-2026-112900",
      "created_at": "2026-10-23T12:54:16Z",
      "first_seen_at": "2026-11-14T11:20:02.754Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2026-08-27T15:03:51Z"
    },
    {
      "repo": "moprius/CVE-2026-112900-Pillow-PoC",
      "url": "https://github.com/moprius/CVE-2026-112900-Pillow-PoC",
      "created_at": "2026-10-25T00:04:53Z",
      "first_seen_at": "2026-11-14T11:20:02.754Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 15,
      "suspicious": false,
      "suspicion_reasons": [
        "code never talks to a target"
      ],
      "status": "analyzed",
      "owner_created_at": "2017-09-15T15:57:28Z"
    },
    {
      "repo": "kavin-jindal/CVE-2026-112900",
      "url": "https://github.com/kavin-jindal/CVE-2026-112900",
      "created_at": "2026-10-25T15:58:02Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 2,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 15,
      "suspicious": false,
      "suspicion_reasons": [
        "no network code found (normal for a local exploit)"
      ],
      "status": "analyzed",
      "owner_created_at": "2020-07-13T11:45:19Z"
    },
    {
      "repo": "kavin-jindal/CVE-2026-112900-PoC",
      "url": "https://github.com/kavin-jindal/CVE-2026-112900-PoC",
      "created_at": "2026-10-25T15:58:02Z",
      "first_seen_at": "2026-11-14T11:20:02.754Z",
      "stars": 2,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 15,
      "suspicious": false,
      "suspicion_reasons": [
        "code never talks to a target"
      ],
      "status": "analyzed",
      "owner_created_at": "2020-07-13T11:45:19Z"
    },
    {
      "repo": "federiconbaez/cortex9-pillow-ghostscript-argv-injection-model",
      "url": "https://github.com/federiconbaez/cortex9-pillow-ghostscript-argv-injection-model",
      "created_at": "2026-11-09T11:25:15Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "discovered",
      "owner_created_at": "2018-10-08T14:18:51Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "python-pillow",
        "product": "Pillow",
        "ranges": [
          "\u003e= 2.6.0, \u003c 13.0.0"
        ],
        "fixed_in": [
          "13.0.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Pillow to 13.0.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/python-pillow/Pillow/security/advisories/GHSA-w889-685w-c8fh"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/python-pillow/Pillow/commit/a2c363141da31a265dd536c945677db4b64f3ec9"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/python-pillow/Pillow/releases/tag/13.0.0"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
