search menu icon-carat-right cmu-wordmark

CERT Coordination Center

Adobe Reader contains multiple vulnerabilities in the processing of JPX data

Vulnerability Note VU#568153

Original Release Date: 2009-06-09 | Last Revised: 2012-03-28


Adobe Reader and Acrobat contain multiple vulnerabilities that may allow an attacker to execute arbitrary code.


Adobe Acrobat Reader is software designed to view Portable Document Format (PDF) files. Adobe also distributes the Adobe Acrobat Plug-In to allow users to view PDF files inside of a web browser. Adobe Reader and Acrobat contain multiple vulnerabilities in the handling of JPX (JPEG2000) streams. These vulnerabilities may result in heap memory corruption.


By convincing a user to open a malicious PDF file, an attacker may be able to execute code or cause a vulnerable PDF viewer to crash. The PDF could be emailed as an attachment or hosted on a website.


Apply an update

This issue is addressed in Adobe Reader and Acrobat versions 9.1.2, 8.1.6, and 7.1.3. More details are available in Adobe Security Bulletin APSB09-07.

Disable JavaScript in Adobe Reader and Acrobat

Disabling JavaScript may prevent this vulnerability from being exploited. Acrobat JavaScript can be disabled in the preferences dialog (Edit -> Preferences -> JavaScript and uncheck Enable Acrobat JavaScript). Note that this will not block the vulnerability. Adobe products still may crash when parsing specially crafted PDF documents. Disabling JavaScript will mitigate a common method used to achieve code execution with this vulnerability. Also note that when JavaScript is disabled in Adobe Reader, the software will prompt the user to enable JavaScript when it opens a document that uses the feature. So although JavaScript is a single click away, setting this preference can help mitigate exploits that use JavaScript.

Some vendors ship JavaScript support in a separate package. Removing this package may remove JavaScript support in the Adobe PDF reader.

Prevent Internet Explorer from automatically opening PDF documents

The installer for Adobe Reader and Acrobat configures Internet Explorer to automatically open PDF files without any user interaction. This behavior can be reverted to the safer option of prompting the user by importing the following as a .REG file:
Windows Registry Editor Version 5.00


Disable the displaying of PDF documents in the web browser

Preventing PDF documents from opening inside a web browser may mitigate this vulnerability. If this workaround is applied to updated versions of the Adobe reader, it may mitigate future vulnerabilities.

To prevent PDF documents from automatically being opened in a web browser:

    1. Open Adobe Acrobat Reader.
    2. Open the Edit menu.
    3. Choose the Preferences option.
    4. Choose the Internet section.
    5. Uncheck the "Display PDF in browser" check box.
    Disable Adobe Acrobat Windows Shell integration

    Adobe Acrobat and Reader integrate themselves with the Windows shell. The file pdfshell.dll is used to configure Windows Explorer to launch Adobe components to render, preview, and obtain details from a PDF document, all without actually opening the PDF document itself. Windows shell integration for Adobe Acrobat and Reader can be disabled by unregistering the pdfshell.dll by running the following command:
    regsvr32 /u "%CommonProgramFiles%\Adobe\Acrobat\ActiveX\pdfshell.dll"

    Disable the Adobe Acrobat Indexing Service filter

    Adobe Reader and Adobe Acrobat install an Indexing Service filter that is used to parse PDF files. These filters are provided by AcroRdIF.dll and AcroIF.dll, respectively. When an application that uses the Adobe IFilters indexes a malicious PDF document, the vulnerability may be triggered. This attack vector can be mitigated by unregistering the Adobe IFilter files.
    Adobe Acrobat users should locate the Acrobat directory and run: regsvr32 /u AcroIF.dll
    Adobe Reader users should locate the Adobe Reader directory and run: regsvr32 /u AcroRdIF.dll

    Note: After disabling the Windows shell integration or the Indexing Service filter by unregistering the appropriate DLL, the Windows Installer MSI resiliency feature may trigger a "repair" of those features when an advertised shortcut for Adobe Reader is clicked. To prevent this from occurring, delete the Adobe Reader icon from the Windows start menu and then re-create a normal, non-advertised shortcut. More details are available in the CERT/CC Vulnerability Analysis Blog.

    Do not access PDF documents from untrusted sources

    Do not open unfamiliar or unexpected PDF documents, particularly those hosted on web sites or delivered as email attachments. Please see Cyber Security Tip ST04-010.

    Vendor Information


    Adobe Affected

    Notified:  May 08, 2009 Updated: June 09, 2009



    Vendor Statement

    We have not received a statement from the vendor.

    Vendor Information

    The vendor has not provided us with any further information regarding this vulnerability.

    Vendor References


    This issue is addressed in Adobe Reader and Acrobat versions 9.1.2, 8.1.6, and 7.1.3. More details are available in Adobe Security Bulletin APSB09-07.

    If you have feedback, comments, or additional information about this vulnerability, please send us email.

    CVSS Metrics

    Group Score Vector
    Base 9 AV:N/AC:M/Au:N/C:C/I:C/A:P
    Temporal 7 E:POC/RL:OF/RC:C
    Environmental 7 CDP:ND/TD:ND/CR:ND/IR:ND/AR:ND



    This vulnerability was reported by Will Dormann of the CERT/CC.

    This document was written by Will Dormann.

    Other Information

    CVE IDs: CVE-2009-1861
    Severity Metric: 2.89
    Date Public: 2009-06-09
    Date First Published: 2009-06-09
    Date Last Updated: 2012-03-28 14:49 UTC
    Document Revision: 26

    Sponsored by CISA.