CVE-2004-0967: The (1) pj-gs.sh, (2) ps2epsi, (3) pv.sh, and (4) sysvlp.sh scripts in the ESP Ghostscript (espgs) package in Trustix Secure Linux 1.5…
Noroxi assessment
Priority: Monitor (action score 28/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.47% (FIRST EPSS).
- No special conditions are required; it is repeatable.
- Fixed version: ghostscript (Red Hat:enterprise_linux:3::as) 0:7.05-32.1.10; ghostscript-debuginfo (Red Hat:enterprise_linux:3::as) 0:7.05-32.1.10; ghostscript-devel (Red Hat:enterprise_linux:3::as) 0:7.05-32.1.10.
Low priority for now. Upgrade to ghostscript (Red Hat:enterprise_linux:3::as) 0:7.05-32.1.10; ghostscript-debuginfo (Red Hat:enterprise_linux:3::as) 0:7.05-32.1.10; ghostscript-devel (Red Hat:enterprise_linux:3::as) 0:7.05-32.1.10 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
The (1) pj-gs.sh, (2) ps2epsi, (3) pv.sh, and (4) sysvlp.sh scripts in the ESP Ghostscript (espgs) package in Trustix Secure Linux 1.5 through 2.1, and other operating systems, allow local users to overwrite files via a symlink attack on temporary files.
- Published
- Feb 9, 2005
- Updated
- Jun 16, 2026
- EPSS
- 0.4% · 41th percentile
- CWE
- CWE-59
Report tools
Action score
28
Low priority for now.
- CVSS
- 28 / 40 · 7.2 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.4%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| aladdin enterprises | ghostscript | cpe:2.3:a:aladdin_enterprises:ghostscript |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- aladdin enterprises ghostscript4.3
- aladdin enterprises ghostscript4.3.2
- aladdin enterprises ghostscript5.10.10
- aladdin enterprises ghostscript5.10.10_1
- aladdin enterprises ghostscript5.10.12cl
- aladdin enterprises ghostscript5.10.15
- aladdin enterprises ghostscript5.10.16
- aladdin enterprises ghostscript5.10cl
+10 more rows
- aladdin enterprises ghostscript5.50
- aladdin enterprises ghostscript5.50.8
- aladdin enterprises ghostscript5.50.8_7
- aladdin enterprises ghostscript6.51
- aladdin enterprises ghostscript6.52
- aladdin enterprises ghostscript6.53
- aladdin enterprises ghostscript7.0.4
- aladdin enterprises ghostscript7.0.5
- aladdin enterprises ghostscript7.0.6
- aladdin enterprises ghostscript7.0.7
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Red Hat:enterprise_linux:3::as | ghostscript | before 0:7.05-32.1.10 | 0:7.05-32.1.10 |
| Red Hat:enterprise_linux:3::as | ghostscript-debuginfo | before 0:7.05-32.1.10 | 0:7.05-32.1.10 |
| Red Hat:enterprise_linux:3::as | ghostscript-devel | before 0:7.05-32.1.10 | 0:7.05-32.1.10 |
| Red Hat:enterprise_linux:3::as | hpijs | before 0:1.3-32.1.10 | 0:1.3-32.1.10 |
Same product
aladdin enterprises: all recordsOther highest-scoring records for the same primary product.
- CVE-2002-0363ghostscript before 6.53 allows attackers to execute arbitrary commands by using .locksafe or .setsafe to reset the current pagedevice.31Monitor
- CVE-1999-0155The ghostscript command with the -dSAFER option allows remote attackers to execute commands.31Monitor
- CVE-2000-1163ghostscript before 5.10-16 uses an empty LD_RUN_PATH environmental variable to find libraries in the current directory, which could allow…18Monitor
Published before and after this one in the same product
- ← EarlierCVE-2000-1162Jan 9, 2001 · ghostscript before 5.10-16 allows local users to overwrite files of other users via a symlink attack.14Monitor
- ← EarlierCVE-2001-1353Sep 18, 2001 · ghostscript before 6.51 allows local users to read and write arbitrary files as the 'lp' user via the file operator, even with -dSAFER…10Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| red hat:ghostscript | 0:7.05-32.1.10 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:ghostscript-debuginfo | 0:7.05-32.1.10 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:ghostscript-devel | 0:7.05-32.1.10 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:hpijs | 0:1.3-32.1.10 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- C · data can be read
- Integrity
- C · data or configuration can be modified
- Availability
- C · the service can be disrupted
- Attack complexity
- Low
- Confidentiality impact
- C
- Integrity impact
- C
- Availability impact
- C
Weakness class (CWE)
CWE-59 · Improper Link Resolution Before File Access ('Link Following')CVSS vector
AV:L/AC:L/Au:N/C:C/I:C/A:C
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
- Obfuscated Files or Information: HTML SmugglingT1027.006
- Obfuscated Files or Information: Embedded PayloadsT1027.009
- Boot or Logon Autostart Execution:Shortcut ModificationT1547.009
- Hide Artifacts: Resource ForkingT1564.009
- Hijack Execution Flow: Executable Installer File Permissions WeaknessT1574.005
- Hijack Execution Flow: Services File Permissions WeaknessT1574.010
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (12 more)Show less
- ftp://ftp.sco.com/pub/updates/UnixWare/SCOSA-2006.23/SCOSA-2006.23.txt
- bugzilla.redhat.com/bugzilla/show_bug.cgi?id=136321
- secunia.com/advisories/16997
- secunia.com/advisories/17135
- secunia.com/advisories/19799
- secunia.com/advisories/20056
- www.redhat.com/support/errata/RHSA-2005-081.html
- www.securityfocus.com/bid/11285
- www.trustix.org/errata/2004/0050
- exchange.xforce.ibmcloud.com/vulnerabilities/17583
- oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10284
- www.ubuntu.com/usn/usn-3-1/
Vendor advisories and official records. Exploit/PoC links are deliberately left out.