Closed Bug 594926 Opened 14 years ago Closed 14 years ago

Malformed font leads to crash in Apple's libTrueTypeScaler [@tiny_malloc_from_free_list]

Categories

(Core :: Graphics, defect)

x86
macOS
defect
Not set
critical

Tracking

()

RESOLVED FIXED
Tracking Status
blocking2.0 --- final+
status1.9.2 --- .13-fixed
status1.9.1 --- .16-fixed

People

(Reporter: posidron, Assigned: jtd)

References

(Blocks 1 open bug)

Details

(Keywords: verified1.9.2, Whiteboard: [sg:vector-critical? (Apple)])

Attachments

(3 files)

Attached file testcase (deleted) —
Table: b'maxp' Number of replaced values: 2 Offset: 6/0x000006 Value: ['00', '00', '00', '00', '00', '00', '00', '01'] Offset: 21/0x000015 Value: ['80', '00'] Execute the provided html file.
Attached file callstack (deleted) —
blocking2.0: --- → ?
Assignee: nobody → jdaggett
<maxp> <tableVersion value="0x10000"/> <numGlyphs value="571"/> <maxPoints value="0"/> <maxContours value="0"/> <maxCompositePoints value="0"/> <maxCompositeContours value="1"/> <maxZones value="2"/> <maxTwilightPoints value="0"/> <maxStorage value="0"/> <maxFunctionDefs value="128"/> <maxInstructionDefs value="0"/> <maxStackElements value="512"/> <maxSizeOfInstructions value="777"/> <maxComponentElements value="2"/> <maxComponentDepth value="1"/> </maxp>
Summary: Malformed font leads to crash [@ATSUGetGlyphBounds/tiny_malloc_from_free_list] → Malformed font leads to crash [@tiny_malloc_from_free_list]
Per Joe these are likely exploitable on trunk with a slightly modified testcase, so marking that this applies to trunk as well.
Whiteboard: [sg:critical]
Version: 1.9.2 Branch → Trunk
Summary: Malformed font leads to crash [@tiny_malloc_from_free_list] → Malformed font leads to crash in Apple's libTrueTypeScaler [@tiny_malloc_from_free_list]
Attached file testcase-trunk (deleted) —
blocking2.0: ? → final+
(In reply to comment #4) > Created attachment 478731 [details] > testcase-trunk I can't reproduce a crash against trunk on 10.6.5 10H542 with either harfbuzz enabled or disabled. 1.9.2 goes down easily.
Whiteboard: [sg:critical] → [sg:vector-critical? (Apple)]
No longer reproducible on 10.6.5 with either trunk or 1.9.2.latest: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13pre) Gecko/20101114 Namoroka/3.6.13pre Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0b8pre) Gecko/20101114 Firefox/4.0b8pre
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Verified for 1.9.2 with Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13pre) Gecko/20101117 Namoroka/3.6.13pre using testcase. Crash occurs with 1.9.2.12.
Keywords: verified1.9.2
OTS landed in 1.9.1 as well.
Was this one of the bugs fixed in the latest Mac updates? Would like to un-hide the bug.
Yes, the bug is fixed.
Group: core-security
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: