Closed
Bug 1243597
(CVE-2016-2795)
Opened 9 years ago
Closed 9 years ago
Use of uninitialised memory in [@graphite2::FileFace::get_table_fn]
Categories
(Core :: Graphics: Text, defect)
Core
Graphics: Text
Tracking
()
People
(Reporter: tsmith, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: csectype-uninitialized, sec-moderate, testcase, Whiteboard: [adv-main45+][adv-esr38.7+])
Attachments
(3 files)
This was found while fuzzing graphite2 1.3.5 (and is in 1.3.4)
This uninitialised memory can also end up being used in calls to malloc(), fread() and fseek()
NOTE: There is an additional issue at the end of the log, a use of uninitialised memory in graphite2::TtfUtil::CheckTable.
Reporter | ||
Comment 1•9 years ago
|
||
Comment 2•9 years ago
|
||
On 64 bit graphite rejects the font as invalid. Was this tested on a different architecture?
Flags: needinfo?(twsmith)
Reporter | ||
Comment 3•9 years ago
|
||
This was found using a 64-bit build of graphite running under valgrind. When I run this font I see the valgrind errors followed by "Ran graphite2 in 0.001934s (0 glyphs)"
The command I ran was:
$ valgrind -q ./comparerenderer -n -f test_case.ttf -t test_string.txt -s 12
Flags: needinfo?(twsmith)
Reporter | ||
Comment 4•9 years ago
|
||
Comment 5•9 years ago
|
||
Are the errors perhaps generated during the checking process that ends up rejecting the font?
Updated•9 years ago
|
Flags: needinfo?(twsmith)
Comment 6•9 years ago
|
||
fixed upstream in a8b3ac2aed0eb132cd80efe7de88f8153e73c829
Updated•9 years ago
|
Keywords: sec-moderate
Reporter | ||
Comment 7•9 years ago
|
||
Verified with graphite revision aed0effc27edfb9da441dce3c77f5a1a3fd9f7db
Flags: needinfo?(twsmith)
Reporter | ||
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox45:
--- → fixed
status-firefox46:
--- → fixed
status-firefox47:
--- → fixed
status-firefox-esr38:
--- → fixed
Depends on: 1252311
Resolution: --- → FIXED
Updated•9 years ago
|
tracking-firefox-esr38:
--- → 45+
Whiteboard: [adv-main45+][adv-esr38.7+]
Updated•9 years ago
|
Group: gfx-core-security → core-security-release
Updated•9 years ago
|
Alias: CVE-2016-2795
Updated•8 years ago
|
Group: core-security-release
You need to log in
before you can comment on or make changes to this bug.
Description
•