SecurityContext

CVE-2009-5078: GNU troff - Command Injection

  • Cve: CVE-2009-5078
  • Name: GNU troff - Command Injection
  • Description: contrib/pdfmark/pdfroff.sh in GNU troff (aka groff) before 1.21 launches the Ghostscript program without the -dSAFER option, which allows remote attackers to create, overwrite, rename, or delete arbitrary files via a crafted document.
  • Impact: Remote attackers can create, overwrite, rename, or delete arbitrary files, potentially leading to system compromise or data loss.
  • Remediation: Update to version 1.21 or later where the issue is fixed by including the -dSAFER option.
  • Vulnerability type: command_injection
  • Vulnerability impact: file_system_write
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
  • Epss score: 0.02305
  • Epss percentile: 0.83779
  • Assignee: [email protected]
  • Published at: 2011-06-30T15:55:01Z
  • Age in days: 5626
  • Modified at: 2026-06-16T23:14:57Z
  • Patch available: yes
  • References total: 7
  • Products total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2009-5078
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-254—

References

Same in every row:

  • Source: nvd
UrlTags
ftp://ftp.gnu.org/gnu/groff/groff-1.20.1-1.21.diff.gzPatch
http://lists.apple.com/archives/security-announce/2015/Aug/msg00001.htmlVendor Advisory
https://support.apple.com/kb/HT205031Vendor Advisory
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=538338
http://openwall.com/lists/oss-security/2009/08/09/1
http://openwall.com/lists/oss-security/2009/08/10/2
http://www.securityfocus.com/bid/36381

Products

ProductAffectedPlatform boundSourcesUrl
gnu:groff<= 1.20.1, = 1.20, = 1.19.2, = 1.19.1, = 1.19, = 1.18.1, = 1.17.2, = 1.17.1, = 1.16.1, = 1.16, = 1.15, = 1.14, = 1.11, = 1.11a, = 1.10nonvd/v1/products/gnu/groff
apple:mac_os_x<= 10.10.4nonvd/v1/products/apple/mac_os_x

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Exposed hosts: 46562
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports