bugicoutils - Bugs: bug #44088, heap read overflow when parsing...

 
 

bug #44088: heap read overflow when parsing malformed ico file

Submitter:  Hanno Boeck <hanno>
Submitted:  Sun 25 Jan 2015 10:13:23 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 31 Oct 2017 02:59:31 PM UTC, comment #2: 

Fixed as of 0.32.0.

F R <res>
Group administrator
Sun 29 Oct 2017 10:20:26 PM UTC, comment #1: 

I can no longer reproduce this, I saw in the changelog various security issues have been fixed. I assume this got fixed along the way, please close this bug report (I think I can't do this myself).

Hanno Boeck <hanno>
Sun 25 Jan 2015 10:13:23 AM UTC, original submission:  

Running icotool on the attached file (icotool -l) will give a segfault. It is an out of bounds memory access / heap read overflow.
I'll attach outputs from valgrind and address sanitizer, they should give an idea what's going wrong.

This was found via american fuzzy lop.

Hanno Boeck <hanno>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #32908:  icotool-segfault.ico added by hanno (3KiB - image/vnd.microsoft.icon)
file #32909:  icotool-valgrind.log added by hanno (3KiB - text/x-log)
file #32910:  icotool-asan.log added by hanno (2KiB - text/x-log)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by res (Posted a comment)
  • -email is unavailable- added by hanno (Submitted the item)
  •  

    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.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-10-31 res StatusNone Fixed
        Open/ClosedOpen Closed
    2015-01-25 hanno Attached File- Added icotool-segfault.ico, #32908
        Attached File- Added icotool-valgrind.log, #32909
        Attached File- Added icotool-asan.log, #32910

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code