Skip to content
OpenAdvisories

Package · Debian

cimg

17 known vulnerabilities.

3 results · Clear filters · Feed

  • Medium 6.1

    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 crash…

  • Medium 5.5

    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 larg…

  • Medium 6.1

    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 dimensi…