CVE-2008-3863
Stack-based buffer overflow in the read_special_escape function in src/psgen.c in GNU Enscript 1.6.1 and 1.6.4 beta, when the -e (aka…
Check your servers for CVE-2008-3863
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2008-3863 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
Stack-based buffer overflow in the read_special_escape function in src/psgen.c in GNU Enscript 1.6.1 and 1.6.4 beta, when the -e (aka special escapes processing) option is enabled, allows user-assisted remote attackers to execute arbitrary code via a crafted ASCII file, related to the setfilename command.
Exploitation
EPSS 8.36%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 95.7% of all scored CVEs. Scores of 28 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2008-3863 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2008-3863RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2008-3863Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2008-3863
trivy image --scanners vuln IMAGE | grep CVE-2008-3863
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- 32137 secunia.com · third party advisory
- 32521 secunia.com · third party advisory
- http://support.apple.com/kb/HT3549 support.apple.com
- SUSE-SR:2008:024 lists.opensuse.org · vendor advisory
- FEDORA-2008-9372 redhat.com · vendor advisory
- FEDORA-2008-9351 redhat.com · vendor advisory
- RHSA-2008:1016 redhat.com · vendor advisory
- http://support.avaya.com/elmodocs2/security/ASA-2008-504.htm support.avaya.com
- USN-660-1 ubuntu.com · vendor advisory
- 35074 secunia.com · third party advisory
- http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0321 wiki.rpath.com
- 4488 securityreason.com · third party advisory
12 more
- APPLE-SA-2009-05-12 lists.apple.com · vendor advisory
- GLSA-200812-02 security.gentoo.org · vendor advisory
- https://issues.rpath.com/browse/RPL-2887 issues.rpath.com
- 32854 secunia.com · third party advisory
- MDVSA-2008:243 mandriva.com · vendor advisory
- 32970 secunia.com · third party advisory
- 32530 secunia.com · third party advisory
- DSA-1670 debian.org · vendor advisory
- TA09-133A us-cert.gov · third party advisory
- 32753 secunia.com · third party advisory
- 33109 secunia.com · third party advisory
- RHSA-2008:1021 rhn.redhat.com · vendor advisory
Other references
- ADV-2008-2891 vupen.com · vdb entry
- gnuenscript-readspecialescape-bo(46026) exchange.xforce.ibmcloud.com · vdb entry
- 31858 securityfocus.com · vdb entry
- oval:org.mitre.oval:def:9939 oval.cisecurity.org · vdb entry, signature
- 20081022 Secunia Research: GNU Enscript "setfilename" Special Escape Buffer Overflow securityfocus.com · mailing list
- 20081117 rPSA-2008-0321-1 enscript securityfocus.com · mailing list
- ADV-2009-1297 vupen.com · vdb entry
- http://secunia.com/secunia_research/2008-41/ secunia.com
Source: the record CVE-2008-3863 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse