Description
The ReadGROUP4Image function in coders/tiff.c in ImageMagick before 7.0.1-10 does not check the return value of the fputc function, which allows remote attackers to cause a denial of service (crash) via a crafted image file.
The ReadGROUP4Image function in coders/tiff.c in ImageMagick before 7.0.1-10 does not check the return value of the fputc function, which allows remote attackers to cause a denial of service (crash) via a crafted image file.
| Vendor | Product | Version | Platform |
|---|---|---|---|
| imagemagick | imagemagick | < 6.9.4-8 | – |
| imagemagick | imagemagick | >= 7.0.0-0 < 7.0.1-10 | – |
CWE-252 Unchecked Return Value
The product does not check the return value from a method or function.
| Scope | Impact |
|---|---|
| Availability, Integrity | Unexpected State, Varies by Context, DoS: Crash, Exit, or Restart The product could be prevented from detecting unexpected states and conditions, placing the product into a state that could lead to a crash or other unintended behaviors. |
| Access Control | Bypass Protection Mechanism If the method/function is used for a protection mechanism, then an unchecked return value could prevent the code from being able to see if the protection mechanism fails. For example, if the program calls a function to drop privileges but does not check the return code to ensure that privileges were successfully dropped, then the program will continue to operate with the higher privileges. |
All 201 CWE-252 CVEs, with trend and prevention
Source: MITRE CWE catalog · cwe.mitre.org