p PatchFirst

CVE-2026-117555

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 6.9 · Medium · EPSS 0.1%

Published
Updated

Stack: system

Affected products and versions

  • cimg

    Versions
    • ≥ 0, ≤ 4.0.6: Affected (semver)

    No fix published

  • cimg Debian:12

    Versions
    • 3.2.1+dfsg-1
    • 3.2.1+dfsg-2
    • 3.5.0+dfsg-1
    • 3.5.2+dfsg-1
    • 3.5.2+dfsg-2
    • 4.0.4+dfsg-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • cimg Debian:13

    Versions
    • 3.5.2+dfsg-1
    • 3.5.2+dfsg-1+deb13u1
    • 3.5.2+dfsg-2
    • 4.0.4+dfsg-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • cimg Debian:14

    Versions
    • 3.5.2+dfsg-1
    • 3.5.2+dfsg-2
    • 4.0.4+dfsg-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • cimg Ubuntu:16.04:LTS

    Versions
    • 1.6.4+dfsg-1build1
    • 1.6.5+dfsg-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • cimg Ubuntu:Pro:18.04:LTS

    Versions
    • 1.7.9+dfsg-2
    • 1.7.9+dfsg-2build1
    • 1.7.9+dfsg-2ubuntu0.18.04.1
    • 1.7.9+dfsg-2ubuntu0.18.04.2
    • 1.7.9+dfsg-2ubuntu0.18.04.2+esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • cimg Ubuntu:20.04:LTS

    Versions
    • 2.4.5+dfsg-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • cimg Ubuntu:Pro:22.04:LTS

    Versions
    • 2.9.4+dfsg-2
    • 2.9.4+dfsg-3
    • 2.9.4+dfsg-3ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • cimg Ubuntu:Pro:24.04:LTS

    Versions
    • 3.2.1+dfsg-1
    • 3.2.1+dfsg-1ubuntu0.24.04.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • cimg Ubuntu:26.10

    Versions
    • 3.5.2+dfsg-1build1
    • 3.5.2+dfsg-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • cimg Ubuntu:26.04:LTS

    Versions
    • 3.5.2+dfsg-1
    • 3.5.2+dfsg-1build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →