The FreeType Project - Bugs: bug #43589, FreeType 2.5.3 WOFF parsing...
You are not allowed to post comments on this tracker with your current authentication level.
bug #43589: FreeType 2.5.3 WOFF parsing heap-based buffer overflow due to integer overflow
Submitter: | Mateusz Jurczyk <j00ru> | ||
Submitted: | Wed 12 Nov 2014 04:46:52 PM UTC | ||
Severity: | 3 - Normal | Item Group: | Crash |
Status: | Fixed | Privacy: | Public |
Assigned to: | wl | Open/Closed: | Closed |
Planned Release: | 2.5.4 |
Thu 13 Nov 2014 08:12:18 AM UTC, comment #2: |
Mateusz Jurczyk <j00ru> |
Wed 12 Nov 2014 08:06:56 PM UTC, comment #1: Thanks for the report. Fixed in git, please check. |
Werner LEMBERG <wl> |
Wed 12 Nov 2014 04:46:52 PM UTC, original submission:
In the freetype/src/sfnt/sfobjs.c file, there is a "woff_open_font" function responsible for processing WOFF (Web Open Font Format) file structures. Among other things, it unpacks potentially zlib-compressed SFNT tables and loads them into a new internal memory stream. In the pre-unpacking code, the following table handling snippet is found:
|
Mateusz Jurczyk <j00ru> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 6 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2014-11-12 | wl | Status | None | Fixed | |
Privacy | Private | Public | |||
Assigned to | None | wl | |||
Open/Closed | Open | Closed | |||
Planned Release | None | 2.5.4 | |||
2014-11-12 | j00ru | Attached File | - | Added poc.woff, #32423 |
Powered by Savane 3.13-f8d8.
Corresponding source code
The fix LGTM, thanks!