Skip to content
OpenAdvisories
Unscored CVE-2008-3863 EUVD-2008-3849GHSA-wp92-87r8-55v9

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 speci…

Published Oct 23, 2008 · Updated Aug 7, 2024 · Assigned by flexera

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 enscript 1.6.4-13 —
Debian 13 enscript 1.6.4-13 —
Debian 12 enscript 1.6.4-13 —
Debian 4.0 enscript 1.6.4-11.1 DSA-1670-1
ReleasePackageFixed inAdvisory
RHEL 5 enscript 1.6.4-4.1.1.el5_2 RHSA-2008:1016
RHEL 4 enscript 1.6.1-33.el4_7.1 RHSA-2008:1021
RHEL 3 enscript 1.6.1-24.7 RHSA-2008:1021
RHEL 2 enscript 1.6.1-16.7 RHSA-2008:1021
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed enscript 1.6.6-1.15 openSUSE-SU-2024:10737-1

Advisories 4

References