Skip to content
OpenAdvisories
High USN-7437-1 2 CVEs

cimg vulnerabilities

Published Apr 15, 2025 · Updated Apr 27, 2026

Summary

It was discovered that the CImg library did not properly check the size
of images before loading them. An attacker could possibly use this issue
to cause a denial of service. This issue only affected Ubuntu 22.04 LTS.
(CVE-2022-1325)

It was discovered that the CImg library did not correctly handle certain
memory operations, which could lead to a buffer overflow. An attacker
could possibly use this issue to execute arbitrary code or cause a denial
of service. (CVE-2024-26540)

Fixed packages 3

ReleasePackageFixed in
Ubuntu · Pro 18.04 LTS Pro:18.04:LTS cimg 1.7.9+dfsg-2ubuntu0.18.04.2+esm1
Ubuntu · Pro 22.04 LTS Pro:22.04:LTS cimg 2.9.4+dfsg-3ubuntu0.1~esm1
Ubuntu · Pro 24.04 LTS Pro:24.04:LTS cimg 3.2.1+dfsg-1ubuntu0.24.04.1~esm1

Vulnerabilities 2

  • High 7.8

    A heap-based buffer overflow in Clmg before 3.3.3 can occur via a crafted file to cimg_library::CImg<unsigned char>::_l…

  • Unscored —

    A flaw was found in Clmg, where with the help of a maliciously crafted pandore or bmp file with modified dx and dy head…

References

  • report
    https://ubuntu.com/security/CVE-2022-1325
  • report
    https://ubuntu.com/security/CVE-2024-26540