CWE
770 400
Advisory Published
CVE Published
Updated

CVE-2022-1325

First published: Tue Apr 12 2022(Updated: )

A flaw was found in Clmg, where with the help of a maliciously crafted pandore or bmp file with modified dx and dy header field values it is possible to trick the application into allocating huge buffer sizes like 64 Gigabyte upon reading the file from disk or from a virtual buffer.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
Cimg<3.1.0
debian/cimg<=2.9.4+dfsg-2
3.2.1+dfsg-1
3.5.2+dfsg-1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2022-1325?

    CVE-2022-1325 is a vulnerability found in Clmg that allows an attacker to allocate huge buffer sizes by tricking the application with a malicious file.

  • What is the severity of CVE-2022-1325?

    CVE-2022-1325 has a severity rating of medium with a score of 5.5.

  • How does CVE-2022-1325 work?

    CVE-2022-1325 works by exploiting a flaw in Clmg that allows an attacker to modify certain header field values in a file, tricking the application into allocating large buffer sizes.

  • Which versions of Cimg are affected by CVE-2022-1325?

    Versions of Cimg up to and excluding 3.1.0 are affected by CVE-2022-1325.

  • Is there a fix for CVE-2022-1325?

    Yes, a fix has been released for CVE-2022-1325. It is recommended to update to the latest version of Cimg to mitigate the vulnerability.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203