This website uses cookies to distinguish you from other users of our website. The use of cookies helps us to provide you with a specific service, to facilitate website use, to understand our visitors and to advertise to you. By continuing to browse the site you are giving consent to our use of cookies. Learn more in our Privacy Statement.

Security Services

Oracle Java Runtime Environment mlib_ImageCreate Integer Overflow Vulnerability



Oracle's JRE is a platform that supports the execution of programs developed using the Java programming language. It is available for multiple platforms, including Windows, Linux and Mac OS. The JRE platform also supports Java Applets, which can be loaded from Web pages. For more information, please visit the vendor's website at


Remote exploitation of an integer overflow vulnerability in Oracle Corp.'s Java Runtime Environment (JRE) could allow an attacker to execute arbitrary code with the privileges of the current user.

The vulnerability exists within the mlib_ImageCreate function in the ImageLib library. This function fails to properly validate "width" and "height" arguments. An integer overflow occurs when calculating the amount of data to be copied based on these two values. This results in an undersized buffer being allocated, which is later overflowed. This can lead to the execution of arbitrary code.


Exploitation of this vulnerability results in the execution of arbitrary code with the privileges of the current user. To exploit this vulnerability, a user must load a Web page containing a specially crafted Java applet or Java Web Start application. After the user visits the malicious Web page, no further user interaction is needed. An attacker typically accomplishes this via social engineering or injecting content into compromised, trusted sites. Typical social engineering attacks will pass URLs as part of instant messages or e-mail.


The following versions of Java are vulnerable:

  • 7 Update 15 and prior
  • 6 Update 41 and prior
  • 5.0 Update 40 and prior


Disable the Java plug-in in Internet Explorer, Firefox, Safari, Opera and Google Chrome as a workaround. This workaround will prevent Java Applet and Java Web Start applications from running from websites and may impact the browser experience with websites using Java plug-in technology. Regular Java applications are not affected by this workaround.


Oracle has released a fix which addresses this issue. For more information, consult their advisory at the following URL:


The Common Vulnerabilities and Exposures (CVE) project has assigned the name CVE-2013-0809 to this issue. This is a candidate for inclusion in the CVE list (, which standardizes names for security problems.


01/24/2013 Initial Vendor Notification
01/24/2013 Initial Vendor Reply
03/04/2013 Coordinated Public Disclosure


This vulnerability was reported to iDefense by Vitaliy Toropov.

Get paid for vulnerability research

Free tools, research and upcoming events


Copyright © 2013 Verisign, Inc.

Permission is granted for the redistribution of this alert electronically. It may not be edited in any way without the express written consent of iDefense Verisign. If you wish to reprint the whole or any part of this alert in any other medium other than electronically, please e-mail customer service for permission.

Disclaimer: The information in the advisory is believed to be accurate at the time of publishing based on currently available information. Use of the information constitutes acceptance for use in an AS IS condition. There are no warranties with regard to this information. Neither the author nor the publisher accepts any liability for any direct, indirect, or consequential loss or damage arising from use of, or reliance on, this information.