First published: Thu Mar 01 2018(Updated: )
An issue was discovered in CImg v.220. DoS occurs when loading a crafted bmp image that triggers an allocation failure in load_bmp in CImg.h.
Credit: cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Cimg Cimg | =.220 | |
ubuntu/cimg | <1.7.9+dfsg-2ubuntu0.18.04.1 | 1.7.9+dfsg-2ubuntu0.18.04.1 |
ubuntu/cimg | <1.7.9+dfsg-2ubuntu0.18.10.1 | 1.7.9+dfsg-2ubuntu0.18.10.1 |
debian/cimg | <=2.9.4+dfsg-2<=3.2.1+dfsg-1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2018-7587 is a vulnerability in the CImg library that allows denial-of-service (DoS) attacks by loading a crafted bmp image.
CVE-2018-7587 has a severity rating of 7.8 out of 10, which is considered high.
Versions 1.7.9+dfsg-2ubuntu0.18.04.1 and 1.7.9+dfsg-2ubuntu0.18.10.1 of the 'cimg' package on Ubuntu are affected. Additionally, versions up to 2.4.5+dfsg-1+deb10u1, 2.9.4+dfsg-2, and 3.2.1+dfsg-1 of the 'cimg' package on Debian are also affected.
To fix CVE-2018-7587, it is recommended to update the 'cimg' package to version 1.7.9+dfsg-2ubuntu0.18.04.1 or 1.7.9+dfsg-2ubuntu0.18.10.1 on Ubuntu, and to one of the fixed versions (2.4.5+dfsg-1+deb10u1, 2.9.4+dfsg-2, or 3.2.1+dfsg-1) on Debian.
You can find more information about CVE-2018-7587 on the following references: [CVE-2018-7587](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-7587), [GitHub POCs](https://github.com/xiaoqx/pocs/tree/master/cimg), [Ubuntu Security Notice](https://ubuntu.com/security/notices/USN-4039-1).