CVE catalog

CVE-2022-1325

CImg library vulnerabilities

[CVE catalog]

Severity
Medium
Published
Source
[NVD] · [CVE record]
EPSS
0.42% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiancimgsid4.0.4+dfsg-1fixed
Debiancimgforky4.0.4+dfsg-1fixed
Debiancimgtrixie3.5.2+dfsg-1+deb13u1fixed
Debiancimgbookworm3.2.1+dfsg-1fixed
Ubuntucimgnoble3.2.1+dfsg-1ubuntu0.24.04.1~esm1fixed
Ubuntucimg-devnoble3.2.1+dfsg-1ubuntu0.24.04.1~esm1fixed
Ubuntucimg-docnoble3.2.1+dfsg-1ubuntu0.24.04.1~esm1fixed
Ubuntucimg-examplesnoble3.2.1+dfsg-1ubuntu0.24.04.1~esm1fixed
Ubuntucimgpro3.2.1+dfsg-1vulnerable
Ubuntucimgpro3.2.1+dfsg-1ubuntu0.24.04.1~esm1fixed
Ubuntucimg16.041.6.4+dfsg-1build1vulnerable
Ubuntucimg16.041.6.5+dfsg-1vulnerable
Ubuntucimgpro2.9.4+dfsg-2vulnerable
Ubuntucimgpro2.9.4+dfsg-3vulnerable
Ubuntucimgpro2.9.4+dfsg-3ubuntu0.1~esm1fixed
Ubuntucimg20.042.4.5+dfsg-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiancimgsourcesid3.1.6+dfsg-1not yet assignedNot reported[1018941]
Debiancimgsourceforky3.1.6+dfsg-1not yet assignedNot reported[1018941]
Debiancimgsourcetrixie3.1.6+dfsg-1not yet assignedNot reported[1018941]
Debiancimgsourcebookworm3.1.6+dfsg-1not yet assignedNot reported[1018941]
Ubuntucimgdebnoble3.2.1+dfsg-1ubuntu0.24.04.1~esm1Not reportedNot reportedNot reported
Ubuntucimg-devdebnoble3.2.1+dfsg-1ubuntu0.24.04.1~esm1Not reportedNot reportedNot reported
Ubuntucimg-docdebnoble3.2.1+dfsg-1ubuntu0.24.04.1~esm1Not reportedNot reportedNot reported
Ubuntucimg-examplesdebnoble3.2.1+dfsg-1ubuntu0.24.04.1~esm1Not reportedNot reportedNot reported
Ubuntucimgdebpro3.2.1+dfsg-1ubuntu0.24.04.1~esm1Not reportedUSN-7437-1Not reported
Ubuntucimgdebpro2.9.4+dfsg-3ubuntu0.1~esm1Not reportedUBUNTU-CVE-2022-1325Not reported

[Debian bug #1018941]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [cimg-dev]Fixed

    Source package: [cimg]

    Details (2)
    • 3.2.1+dfsg-1 · all · bookworm

      Fixed · Fixed: 3.1.6+dfsg-1

      usn · cimg · debian · bookworm

    • 3.2.1+dfsg-1 · all · bookworm

      Fixed · Fixed: 3.1.6+dfsg-1

      usn · cimg · debian · bookworm

  • [cimg-doc]Fixed

    Source package: [cimg]

    Details (2)
    • 3.2.1+dfsg-1 · all · bookworm

      Fixed · Fixed: 3.1.6+dfsg-1

      usn · cimg · debian · bookworm

    • 3.2.1+dfsg-1 · all · bookworm

      Fixed · Fixed: 3.1.6+dfsg-1

      usn · cimg · debian · bookworm

  • Source package: [cimg]

    Details (2)
    • 3.2.1+dfsg-1 · all · bookworm

      Fixed · Fixed: 3.1.6+dfsg-1

      usn · cimg · debian · bookworm

    • 3.2.1+dfsg-1 · all · bookworm

      Fixed · Fixed: 3.1.6+dfsg-1

      usn · cimg · debian · bookworm

Observed:

References