CWE
119
Advisory Published
Updated

CVE-2009-3050: Buffer Overflow

First published: Wed Sep 02 2009(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Htmldoc=1.8.26
Htmldoc<=1.8.27
Htmldoc=1.8.24
Htmldoc=1.8.25

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2009-3050?

    CVE-2009-3050 has a high severity rating due to the potential for arbitrary code execution.

  • How do I fix CVE-2009-3050?

    To fix CVE-2009-3050, upgrade to HTMLDOC version 1.8.28 or later to mitigate the buffer overflow vulnerability.

  • What versions of HTMLDOC are affected by CVE-2009-3050?

    CVE-2009-3050 affects HTMLDOC versions 1.8.27 and earlier, including 1.8.26, 1.8.25, and 1.8.24.

  • What type of attack is demonstrated in CVE-2009-3050?

    CVE-2009-3050 demonstrates a buffer overflow attack that can allow context-dependent attackers to execute arbitrary code.

  • Are there any known exploits for CVE-2009-3050?

    Yes, there are known exploits for CVE-2009-3050 that target the vulnerability caused by long MEDIA SIZE comments.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203