GLSA-200909-12 : HTMLDOC: User-assisted execution of arbitrary code

This script is Copyright (C) 2009-2015 Tenable Network Security, Inc.

Synopsis :

The remote Gentoo host is missing one or more security-related

Description :

The remote host is affected by the vulnerability described in GLSA-200909-12
(HTMLDOC: User-assisted execution of arbitrary code)

ANTHRAX666 reported an insecure call to the sscanf() function in the
set_page_size() function in htmldoc/util.cxx. Nico Golde of the Debian
Security Team found two more insecure calls in the write_type1()
function in htmldoc/ps-pdf.cxx and the htmlLoadFontWidths() function in

Impact :

A remote attacker could entice a user to process a specially crafted
HTML file using htmldoc, possibly resulting in the execution of
arbitrary code with the privileges of the user running the application.
NOTE: Additional vectors via specially crafted AFM font metric files do
not cross trust boundaries, as the files can only be modified by
privileged users.

Workaround :

There is no known workaround at this time.

See also :

Solution :

All HTMLDOC users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=app-text/htmldoc-1.8.27-r1'

Risk factor :

Critical / CVSS Base Score : 10.0
CVSS Temporal Score : 8.7
Public Exploit Available : true

Family: Gentoo Local Security Checks

Nessus Plugin ID: 40959 (gentoo_GLSA-200909-12.nasl)

Bugtraq ID: 35727

CVE ID: CVE-2009-3050

Ready to Amp Up Your Nessus Experience?

Get Nessus Professional to scan unlimited IPs, run compliance checks & more

Buy Nessus Professional Now