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 25 Jan 2015 10:13:23 AM UTC  
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)

You are not logged in

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


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

Fixed as of 0.32.0.

F R <res>
Project 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 File(s):

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
  • -unavailable- added by res (Posted a comment)
  • -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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 31 Oct 2017 02:59:31 PM UTCresStatusNone=>Fixed
    Sun 25 Jan 2015 10:13:23 AM UTChannoAttached 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