CVE-2018-7589: Double Free

Published Mar 1, 2018
·
Updated

An issue was discovered in CImg v.220. A double free in loadbmp in CImg.h occurs when loading a crafted bmp image.

Affected Software

2 affected componentsFixes available
CImg cimg=.220
debian/cimg
2.9.4+dfsg-23.2.1+dfsg-13.5.2+dfsg-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/cimg to a version that resolves this vulnerability.

    Fixed in 2.9.4+dfsg-2Fixed in 3.2.1+dfsg-1Fixed in 3.5.2+dfsg-1
  2. Upgrade

    Upgrade CImg to a version that resolves this vulnerability.

    Fixed in 220

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-7589?

CVE-2018-7589 is a vulnerability discovered in CImg v.220 that allows for a double free in load_bmp in CImg.h when loading a crafted bmp image.

2

What is the severity of CVE-2018-7589?

The severity of CVE-2018-7589 is high with a CVSS score of 7.8.

3

How does CVE-2018-7589 affect CImg?

CVE-2018-7589 affects CImg v.220 and potentially other versions as well.

4

How can I fix CVE-2018-7589?

To fix CVE-2018-7589, update to a version of CImg that includes the necessary security patches.

5

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

You can find more information about CVE-2018-7589 on the MITRE CVE website and the GitHub repository for CImg.

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