{
  "id": "CVE-2026-125396",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-125396",
  "published_at": "2026-11-09T23:28:00.084Z",
  "title": "Ghostscript before 10.08.0 -dSAFER Bypass via .putgstringcopy .forceput Recovery",
  "vendor": "ArtifexSoftware",
  "product": "ghostpdl",
  "cvss": {
    "score": 8.5,
    "source": "cna",
    "vector": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Ghostscript before 10.08.0 contains a -dSAFER bypass vulnerability in the .putgstringcopy procedure in gs_fonts.ps, which calls the privileged .forceput operator without checking operand types. Attackers can supply crafted PostScript or PDF documents that trigger a type error, recover .forceput via a custom error handler, and cause a use-after-free across save/restore to execute arbitrary code.",
  "cwe": "CWE-648",
  "cvss_by_source": {
    "cna": 8.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "ArtifexSoftware",
        "product": "ghostpdl",
        "ranges": [
          "\u003c 10.08.0"
        ],
        "fixed_in": [
          "10.08.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade ghostpdl to 10.08.0 or later."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/ArtifexSoftware/ghostpdl/commit/1484854e0c8ddfda1baa4ad4cd965b8a9790aa81"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
