CVE-2018-7587: Buffer Overflow

Published Mar 1, 2018
·
Updated

An issue was discovered in CImg v.220. DoS occurs when loading a crafted bmp image that triggers an allocation failure in loadbmp in CImg.h.

Affected Software

2 affected components
CImg cimg=.220
debian/cimg<=2.9.4+dfsg-2, <=3.2.1+dfsg-1, <=3.5.2+dfsg-1

Event History

Mar 1, 2018
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
Description
Data Sourced
via NVD·10:29 PM
DescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·11:10 PM
Description
Feb 20, 2026
Data Sourced
via Ubuntu·08:55 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·08:55 PM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2018-7587?

CVE-2018-7587 is a vulnerability in the CImg library that allows denial-of-service (DoS) attacks by loading a crafted bmp image.

2

What is the severity of CVE-2018-7587?

CVE-2018-7587 has a severity rating of 7.8 out of 10, which is considered high.

3

What software is affected by CVE-2018-7587?

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.

4

How can we fix CVE-2018-7587?

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.

5

Where can I find more information about CVE-2018-7587?

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).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203