cve.bz

CVE-2009-5081 gnu groff: Link Following

no score yetEPSS 0.3%Fix available

gnu groff: no CVSS score yet. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
The (1) config.guess, (2) contrib/groffer/perl/groffer.pl, and (3) contrib/groffer/perl/roff2.pl scripts in GNU troff (aka groff) 1.21 and earlier use an insufficient number of X characters in the template argument to the tempfile function, which makes it easier for local users to overwrite arbitrary files via a symlink attack on a temporary file, a different vulnerability than CVE-2004-0969.
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 22nd percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-59 Improper Link Resolution Before File Access (Link Following)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2009-5081 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2009-5081?via=ask-ai-copy and https://cve.bz/cve/CVE-2009-5081?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2009-5081 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
gnu:groffthrough 1.21
gnu:groff1.10
gnu:groff1.11
gnu:groff1.11a
gnu:groff1.14
gnu:groff1.15
gnu:groff1.16
gnu:groff1.16.1
gnu:groff1.17.1
gnu:groff1.17.2
gnu:groff1.18.1
gnu:groff1.19
gnu:groff1.19.1
gnu:groff1.19.2
gnu:groff1.20
gnu:groff1.20.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14groff1.20.1-5DEBIAN-CVE-2009-5081
openSUSETumbleweedgroff1.22.3-2.5openSUSE-SU-2024:10031-1

From the distributions' data via OSV.dev: the Debian Security Tracker; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · openSUSE.

Red Hat

Red Hat rates this Low.

Red Hat's statement

Not vulnerable. This issue did not affect the versions of groff as shipped with

Red Hat Enterprise Linux 4, 5, or 6.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2009-5081.

Attack patterns (CAPEC)

  • CAPEC-17 Using Malicious Files Likelihood: High · Severity: Very High
  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-132 Symlink Attack Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON