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


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

Submitted by:  Hanno Boeck <hanno>
Submitted on:  Sun Jan 25 10:13:23 2015  
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Sun Jan 25 10:13:23 2015, 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 File(s):

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


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by hanno (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun Jan 25 10:13:23 2015hannoAttached 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.1-cleanup1