Skip to content
OpenAdvisories
Unscored Public exploit CVE-2004-1267 EUVD-2004-1264GHSA-3352-53wf-rvq5

Buffer overflow in the ParseCommand function in hpgl-input.c in the hpgltops program for CUPS 1.1.22 allows remote attackers to execute arb…

Published Dec 22, 2004 · Updated Aug 8, 2024 · Assigned by mitre

Description

Buffer overflow in the ParseCommand function in hpgl-input.c in the hpgltops program for CUPS 1.1.22 allows remote attackers to execute arbitrary code via a crafted HPGL file.

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 cups 1.1.22-2 —
Debian 13 cups 1.1.22-2 —
Debian 12 cups 1.1.22-2 —
ReleasePackageFixed inAdvisory
RHEL 4 cups +2 1:1.1.22-0.rc1.9.6 RHSA-2005:053
RHEL 3 cups +2 1:1.1.17-13.3.22 RHSA-2005:013

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 2

References