CVE-2024-26540

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-26540
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-26540.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-26540
Downstream
Related
Published
2024-03-15T01:15:58Z
Modified
2025-10-16T19:25:23.438916Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

A heap-based buffer overflow in Clmg before 3.3.3 can occur via a crafted file to cimglibrary::CImg<unsigned char>::load_analyze.

References

Affected packages

Git / github.com/dtschump/cimg

Affected ranges

Type
GIT
Repo
https://github.com/dtschump/cimg
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v.*

v.2.3.0
v.2.3.1
v.2.3.2
v.2.3.3
v.2.3.4
v.2.3.5
v.2.3.6
v.2.4.0
v.2.4.1
v.2.4.2
v.2.4.3
v.2.4.4
v.2.4.5
v.2.5.0
v.2.5.1
v.2.5.2
v.2.5.3
v.2.5.4
v.2.5.5
v.2.5.6
v.2.5.7
v.2.6.0
v.2.6.1
v.2.6.2
v.2.6.3
v.2.6.4
v.2.6.5
v.2.6.6
v.2.6.7
v.2.7.0
v.2.7.1
v.2.7.2
v.2.7.3
v.2.7.4
v.2.7.5
v.2.8.0
v.2.8.1
v.2.8.2
v.2.8.3
v.2.8.4
v.2.9.0
v.2.9.1
v.2.9.2
v.2.9.3
v.2.9.4
v.2.9.5
v.2.9.6
v.2.9.7
v.2.9.8
v.2.9.9
v.3.0.0
v.3.0.1
v.3.0.2
v.3.1.0
v.3.1.1
v.3.1.2
v.3.1.3
v.3.1.4
v.3.1.6
v.3.2.0
v.3.2.1
v.3.2.2
v.3.2.3
v.3.2.4
v.3.2.5
v.3.2.6
v.3.3.0
v.3.3.1
v.3.3.2

Database specific

vanir_signatures

[
    {
        "id": "CVE-2024-26540-55acdd16",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Line",
        "digest": {
            "line_hashes": [
                "155669739585643622889137027896997700532",
                "88568925240059472017629875457572398671",
                "321192010424700383896782719236117411911",
                "20862745565239506495325848946152351854",
                "86902541839714401340114288423925871836",
                "115851533477071982017476682743649757827",
                "221883510274202488777259975584335518668",
                "47736392895373558861172942918092634579"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "CImg.h"
        },
        "source": "https://github.com/dtschump/cimg/commit/157800186587ed368cd2cb30e0974bc079cbe556"
    }
]