Oracle Java True Type Font IDEF Opcode Parsing Remote Code Execution VulnerabilityTPTI-12-01: February 22nd, 2012
This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Oracle Java. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.
The specific flaw exists within the way Java handles True Type Font files. When reading a font file, Java will use the MaxInstructionSize from the maxp table to create a heap memory location to store all the Instruction Definition found in the Font Program 'fpgm' table. However, when Java encounters an IDEF opcode (0x89) in the opcode stream it never checks the size of the MaxInstructionSize which can result in a heap buffer overflow. This can lead to remote code execution under the context of the current process.
Vendor ResponseOracle has issued an update to correct this vulnerability. More details can be found at:
2011-10-21 - Vulnerability reported to vendor
2012-02-22 - Coordinated public release of advisory