p PatchFirst

PatchFirst · Свежие уязвимости

Уязвимости cimg

За последние 30 дней в cimg опубликовано уязвимостей: 1; в каталоге KEV: 0.

Фильтры уязвимостей
Сбросить фильтры

Уязвимостей: 17

  1. CVE-2026-117555

    Средний · CVSS 6.9EPSS 0,13%Нет опубликованного исправления

    GreycLab CImg through 4.0.6 Heap Out-of-Bounds Read via Integer Overflow in _load_bmp()

    CImg through 4.0.6 contains a heap out-of-bounds read vulnerability in the _load_bmp() function of CImg.h caused by an integer overflow in the row byte count. Attackers can supply a crafted BMP file with a large header width that wraps dx_bytes, causing crashes or heap memory disclosure into the decoded image.

    Опубликовано Обновлено
  2. CVE-2026-47667

    Высокий · CVSS 7.5EPSS 0,52%Нет опубликованного исправления

    CImg Library: Uncontrolled Memory Allocation and Memory Leak in `_load_analyze()` via Crafted NIfTI/Analyze Header

    CImg Library is a C++ library for image processing. Prior to version 4.0.0 in `_load_analyze()`, the header_size field is read as an `unsigned int` from the first 4 bytes of an Analyze/NIfTI file and passed directly to `new unsigned char[header_size]` without being bounded against the actual file size. A value up to ~4 GB is accepted. If the subsequent `fread` returns `short` as it will for any malformed file), the function throws a `CImgIOException` and the allocated buffer is never freed. A 6-byte crafted file is sufficient to trigger an allocation of ~1.3 GB per call, with the full allocation leaked on every error path. The issue is reach

  3. CVE-2026-42146

    Средний · CVSS 5.5EPSS 0,18%Нет опубликованного исправления

    CImg Library: Uncontrolled memory allocation via nb_colors field in _load_bmp

    CImg Library is a C++ library for image processing. Prior to commit c3aacf5, the nb_colors field read from the BMP file header is used directly to compute an allocation size without validating it against the remaining file size. A crafted BMP file with a large nb_colors value triggers an out-of-memory condition, crashing any application that uses CImg to load untrusted BMP files. This issue has been patched via commit c3aacf5.

  4. CVE-2026-42144

    Средний · CVSS 6.1EPSS 0,14%Нет опубликованного исправления

    CImg Library: Integer overflow in PNM size check bypasses memory guard (_load_pnm)

    CImg Library is a C++ library for image processing. Prior to commit 4ca26bc, there is an integer overflow vulnerability in the W*H*D size computation inside _load_pnm() that can bypass the memory allocation guard. A crafted PNM/PGM/PPM file with large dimension values causes the overflow to wrap around, allocating an undersized buffer and potentially triggering a heap buffer overflow. Any application using CImg to load untrusted image files is affected. This issue has been patched via commit 4ca26bc.

  5. CVE-2022-1325

    Средний · CVSS 5.5EPSS 0,42%Есть исправление

    CVE-2022-1325

    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.

    • Обновитесь до 3.1.6+dfsg-1
    Опубликовано Обновлено
  6. CVE-2020-25693

    Высокий · CVSS 8.1EPSS 1,48%Есть исправление

    CVE-2020-25693

    A flaw was found in CImg in versions prior to 2.9.3. Integer overflows leading to heap buffer overflows in load_pnm() can be triggered by a specially crafted input file processed by CImg, which can lead to an impact to application availability or data integrity.

    • Обновитесь до 2.9.4+dfsg-2
    Опубликовано Обновлено
  7. CVE-2019-13568

    Высокий · CVSS 8.8EPSS 1,75%Есть исправление

    CVE-2019-13568

    CImg through 2.6.7 has a heap-based buffer overflow in _load_bmp in CImg.h because of erroneous memory allocation for a malformed BMP image.

    • Обновитесь до 2.8.4+dfsg-1
  8. CVE-2019-1010174

    Критический · CVSS 9.8EPSS 4,97%Есть исправление

    CVE-2019-1010174

    CImg The CImg Library v.2.3.3 and earlier is affected by: command injection. The impact is: RCE. The component is: load_network() function. The attack vector is: Loading an image from a user-controllable url can lead to command injection, because no string sanitization is done on the url. The fixed version is: v.2.3.4.

    • Обновитесь до 2.3.6+dfsg-1
  9. CVE-2018-7641

    Высокий · CVSS 7.8EPSS 1,23%Есть исправление

    CVE-2018-7641

    An issue was discovered in CImg v.220. A heap-based buffer over-read in load_bmp in CImg.h occurs when loading a crafted bmp image, a different vulnerability than CVE-2018-7588. This is in a "32 bits colors" case, aka case 32.

    • Обновитесь до 2.3.6+dfsg-1
    Опубликовано Обновлено
  10. CVE-2018-7640

    Высокий · CVSS 7.8EPSS 1,21%Есть исправление

    CVE-2018-7640

    An issue was discovered in CImg v.220. A heap-based buffer over-read in load_bmp in CImg.h occurs when loading a crafted bmp image, a different vulnerability than CVE-2018-7588. This is in a Monochrome case, aka case 1.

    • Обновитесь до 2.3.6+dfsg-1
    Опубликовано Обновлено
  11. CVE-2018-7639

    Высокий · CVSS 7.8EPSS 1,23%Есть исправление

    CVE-2018-7639

    An issue was discovered in CImg v.220. A heap-based buffer over-read in load_bmp in CImg.h occurs when loading a crafted bmp image, a different vulnerability than CVE-2018-7588. This is in a "16 bits colors" case, aka case 16.

    • Обновитесь до 2.3.6+dfsg-1
    Опубликовано Обновлено
  12. CVE-2018-7638

    Высокий · CVSS 7.8EPSS 1,23%Есть исправление

    CVE-2018-7638

    An issue was discovered in CImg v.220. A heap-based buffer over-read in load_bmp in CImg.h occurs when loading a crafted bmp image, a different vulnerability than CVE-2018-7588. This is in a "256 colors" case, aka case 8.

    • Обновитесь до 2.3.6+dfsg-1
    Опубликовано Обновлено
  13. CVE-2018-7637

    Высокий · CVSS 7.8EPSS 1,23%Есть исправление

    CVE-2018-7637

    An issue was discovered in CImg v.220. A heap-based buffer over-read in load_bmp in CImg.h occurs when loading a crafted bmp image, a different vulnerability than CVE-2018-7588. This is in a "16 colors" case, aka case 4.

    • Обновитесь до 2.3.6+dfsg-1
    Опубликовано Обновлено
  14. CVE-2018-7588

    Высокий · CVSS 7.8EPSS 1,33%Есть исправление

    CVE-2018-7588

    An issue was discovered in CImg v.220. A heap-based buffer over-read in load_bmp in CImg.h occurs when loading a crafted bmp image.

    • Обновитесь до 2.3.6+dfsg-1
    Опубликовано Обновлено
  15. CVE-2018-7587

    Высокий · CVSS 7.8EPSS 1,09%Нет опубликованного исправления

    CVE-2018-7587

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

    Опубликовано Обновлено

Проверьте свой сервер

Сопоставьте установленный стек и версии со свежими базами уязвимостей.

Проверьте свой сервер →