Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 610714

Summary: media-gfx/icoutils: multiple buffer overflow
Product: Gentoo Security Reporter: Agostino Sarubbo <ago>
Component: VulnerabilitiesAssignee: Gentoo Security <security>
Status: RESOLVED DUPLICATE    
Severity: normal CC: patrick, proxy-maint, res
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: B2 [upstream]
Package list:
Runtime testing required: ---

Description Agostino Sarubbo gentoo-dev 2017-02-23 16:26:51 UTC
From https://bugzilla.redhat.com/show_bug.cgi?id=1422906:

An issue was discovered in icoutils. A buffer overflow was observed in the "decode_ne_resource_id" function in the "restable.c" source file. This is 
happening because the "len" parameter for memcpy is not checked for size and thus becomes a negative integer in the process, resulting in a failed 
memcpy. This affects wrestool.

writeup:
https://bugzilla.redhat.com/attachment.cgi?id=1250877



From https://bugzilla.redhat.com/show_bug.cgi?id=1422907:

An issue was discovered in icoutils. A buffer overflow was observed in the "extract_icons" function in the "extract.c" sourcefile. This issue can be 
triggered by processing a corrupted ico file and will result in an icotool crash.

writeup:
https://bugzilla.redhat.com/attachment.cgi?id=1250878



From https://bugzilla.redhat.com/show_bug.cgi?id=1422908:

An issue was discovered in icoutils. An out-of-bounds read leading to a buffer overflow was observed in the "simple_vec" function in the "extract.c" 
source file. This affects icotool.

writeup:
https://bugzilla.redhat.com/attachment.cgi?id=1250879


@maintainer(s): after the bump, in case we need to stabilize the package, please let us know if it is ready for the stabilization or not.
Comment 1 Thomas Deutschmann gentoo-dev Security 2017-03-16 09:12:58 UTC

*** This bug has been marked as a duplicate of bug 605138 ***