CVE catalog

CVE-2012-4875

ghostscript: CVE-2012-4875

[CVE catalog]

Severity
Low
Source
[NVD] · [CVE record]
EPSS
4.27% · Oct 25, 2026

Heap-based buffer overflow in gdevwpr2.c in Ghostscript 9.04, when processing the OutputFile device parameter, allows user-assisted remote attackers to execute arbitrary code via a long file name in a PostScript document. NOTE: as of 20120314, the developer was not able to reproduce the issue and disputed it

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianghostscriptsid10.08.0~dfsg-2not affected
Debianghostscriptforky10.08.0~dfsg-2not affected
Debianghostscripttrixie10.05.1~dfsg-1+deb13u1not affected
Debianghostscripttrixie-security10.05.1~dfsg-1+deb13u3not affected
Debianghostscriptbookworm10.0.0~dfsg-11+deb12u8not affected
Debianghostscriptbookworm-security10.0.0~dfsg-11+deb12u8not affected

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
DebianghostscriptsourcesidNot affectedunimportantNot reportedNot reported
DebianghostscriptsourceforkyNot affectedunimportantNot reportedNot reported
DebianghostscriptsourcetrixieNot affectedunimportantNot reportedNot reported
DebianghostscriptsourcebookwormNot affectedunimportantNot reportedNot reported

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [ghostscript]Unknown
    Details (4)
    • 10.0.0~dfsg-11+deb12u8 · amd64 · bookworm

      Not affected

      dsa · ghostscript · debian · bookworm

    • 10.0.0~dfsg-11+deb12u8 · arm64 · bookworm

      Not affected

      dsa · ghostscript · debian · bookworm

    • 10.0.0~dfsg-11+deb12u8 · amd64 · bookworm-security

      Not affected

      dsa · ghostscript · debian · bookworm

    • 10.0.0~dfsg-11+deb12u8 · arm64 · bookworm-security

      Not affected

      dsa · ghostscript · debian · bookworm

  • Source package: [ghostscript]

    Details (4)
    • 10.0.0~dfsg-11+deb12u8 · all · bookworm

      Not affected

      dsa · ghostscript · debian · bookworm

    • 10.0.0~dfsg-11+deb12u8 · all · bookworm

      Not affected

      dsa · ghostscript · debian · bookworm

    • 10.0.0~dfsg-11+deb12u8 · all · bookworm-security

      Not affected

      dsa · ghostscript · debian · bookworm

    • 10.0.0~dfsg-11+deb12u8 · all · bookworm-security

      Not affected

      dsa · ghostscript · debian · bookworm

  • [ghostscript-x]Unknown

    Source package: [ghostscript]

    Details (4)
    • 10.0.0~dfsg-11+deb12u8 · amd64 · bookworm

      Not affected

      dsa · ghostscript · debian · bookworm

    • 10.0.0~dfsg-11+deb12u8 · arm64 · bookworm

      Not affected

      dsa · ghostscript · debian · bookworm

    • 10.0.0~dfsg-11+deb12u8 · amd64 · bookworm-security

      Not affected

      dsa · ghostscript · debian · bookworm

    • 10.0.0~dfsg-11+deb12u8 · arm64 · bookworm-security

      Not affected

      dsa · ghostscript · debian · bookworm

  • [libgs10]Unknown

    Source package: [ghostscript]

    Details (4)
    • 10.0.0~dfsg-11+deb12u8 · amd64 · bookworm

      Not affected

      dsa · ghostscript · debian · bookworm

    • 10.0.0~dfsg-11+deb12u8 · arm64 · bookworm

      Not affected

      dsa · ghostscript · debian · bookworm

    • 10.0.0~dfsg-11+deb12u8 · amd64 · bookworm-security

      Not affected

      dsa · ghostscript · debian · bookworm

    • 10.0.0~dfsg-11+deb12u8 · arm64 · bookworm-security

      Not affected

      dsa · ghostscript · debian · bookworm

  • Source package: [ghostscript]

    Details (4)
    • 10.0.0~dfsg-11+deb12u8 · all · bookworm

      Not affected

      dsa · ghostscript · debian · bookworm

    • 10.0.0~dfsg-11+deb12u8 · all · bookworm

      Not affected

      dsa · ghostscript · debian · bookworm

    • 10.0.0~dfsg-11+deb12u8 · all · bookworm-security

      Not affected

      dsa · ghostscript · debian · bookworm

    • 10.0.0~dfsg-11+deb12u8 · all · bookworm-security

      Not affected

      dsa · ghostscript · debian · bookworm

  • [libgs9-common]Unknown

    Source package: [ghostscript]

    Details (4)
    • 10.0.0~dfsg-11+deb12u8 · all · bookworm

      Not affected

      dsa · ghostscript · debian · bookworm

    • 10.0.0~dfsg-11+deb12u8 · all · bookworm

      Not affected

      dsa · ghostscript · debian · bookworm

    • 10.0.0~dfsg-11+deb12u8 · all · bookworm-security

      Not affected

      dsa · ghostscript · debian · bookworm

    • 10.0.0~dfsg-11+deb12u8 · all · bookworm-security

      Not affected

      dsa · ghostscript · debian · bookworm

  • [libgs-common]Unknown

    Source package: [ghostscript]

    Details (4)
    • 10.0.0~dfsg-11+deb12u8 · all · bookworm

      Not affected

      dsa · ghostscript · debian · bookworm

    • 10.0.0~dfsg-11+deb12u8 · all · bookworm

      Not affected

      dsa · ghostscript · debian · bookworm

    • 10.0.0~dfsg-11+deb12u8 · all · bookworm-security

      Not affected

      dsa · ghostscript · debian · bookworm

    • 10.0.0~dfsg-11+deb12u8 · all · bookworm-security

      Not affected

      dsa · ghostscript · debian · bookworm

  • [libgs-dev]Unknown

    Source package: [ghostscript]

    Details (4)
    • 10.0.0~dfsg-11+deb12u8 · amd64 · bookworm

      Not affected

      dsa · ghostscript · debian · bookworm

    • 10.0.0~dfsg-11+deb12u8 · arm64 · bookworm

      Not affected

      dsa · ghostscript · debian · bookworm

    • 10.0.0~dfsg-11+deb12u8 · amd64 · bookworm-security

      Not affected

      dsa · ghostscript · debian · bookworm

    • 10.0.0~dfsg-11+deb12u8 · arm64 · bookworm-security

      Not affected

      dsa · ghostscript · debian · bookworm

Observed:

References