CVE-2009-3050

critical

Description

Buffer overflow in the set_page_size function in util.cxx in HTMLDOC 1.8.27 and earlier allows context-dependent attackers to execute arbitrary code via a long MEDIA SIZE comment. NOTE: it was later reported that there were additional vectors in htmllib.cxx and ps-pdf.cxx using an AFM font file with a long glyph name, but these vectors do not cross privilege boundaries.

References

https://euvd.enisa.europa.eu/vulnerability/EUVD-2009-3034

http://www.openwall.com/lists/oss-security/2009/09/01/1

http://www.openwall.com/lists/oss-security/2009/07/26/2

http://www.openwall.com/lists/oss-security/2009/07/25/3

http://www.htmldoc.org/str.php?L214

http://secunia.com/advisories/35780

http://packetstormsecurity.org/0907-exploits/htmldoc-overflow.txt

http://bugs.gentoo.org/show_bug.cgi?id=278186

Details

Source: Mitre, NVD

Published: 2009-09-02

Updated: 2026-06-16

Risk Information

CVSS v2

Base Score: 10

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

Severity: Critical

CVSS v3

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Severity: Critical

EPSS

EPSS: 0.04379