CVE-2026-118753

Source
https://cve.org/CVERecord?id=CVE-2026-118753
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-118753.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-118753
Downstream
Published
2026-10-28T21:11:22Z
Modified
2026-11-04T07:03:28Z
Severity
  • 8.5 (High) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
FreeImage through 3.18.0 and danoli3 fork before 3.19.25 Heap Buffer Overflow via GIF_PLAYBACK Compositing
Details

FreeImage through 3.18.0 and the danoli3 FreeImage fork before 3.19.25 contain a heap buffer overflow vulnerability in PluginGIF.cpp that allows attackers to write past the canvas allocation via unclipped GIF frame rectangles. Attackers can craft a GIF whose frame left plus width exceeds the logical screen width, causing GifPlaybackCompositeFrame() and GifPlaybackFillRect() to corrupt heap memory when loaded with GIF_PLAYBACK.

Database specific
{
    "cna_assigner":  "VulnCheck",
    "cwe_ids":  [
        "CWE-787"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-118753.json"
}
References

Affected packages

Git / github.com/danoli3/freeimage

Affected ranges

Type
GIT
Repo
https://github.com/danoli3/freeimage
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "3.19.25"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "last_affected":  "3.18.0"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "fixed":  "96f4099f8e307484ba69b4aa14d772b7679a1bfb"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "range":  [
                {
                    "fixed":  "0da5ddb4d311e5222251348cca1aa988478b1034"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "original_tag":  "3.19.25",
            "range":  [
                {
                    "fixed":  "363311f106e3fa50e9c39fcc80afe832cb26eabb"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

3.*
3.16.0
3.18.0
3.18.1
3.18.10
3.18.2
3.18.3
3.18.4
3.18.5
3.18.6
3.18.7
3.18.8
3.18.9
3.19.10
3.19.11
3.19.12
3.19.13
3.19.14
3.19.15
3.19.16
3.19.17
3.19.18
3.19.19
3.19.2
3.19.20
3.19.21
3.19.22
3.19.23
3.19.24
3.19.3
3.19.4
3.19.5
3.19.6
3.19.7
3.19.8
3.19.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-118753.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "146333501335421912475260845716574136717",
                "186333562281695244734638973011091489532",
                "151661717891929185089563229613709857903",
                "187725385074329225773461273224014085596",
                "191505331311651519844330723530023798958",
                "123536758257128047975965464010158402011",
                "212224543797814663275570326733041206361",
                "315387729469493638641093491051848187058",
                "204780269776684533662565692781429762121",
                "5575175624569679423637139656121989282",
                "155036868518376280670992180008620186154",
                "209434245028965768721684243093086196749",
                "5281914285718185822325474086649649642",
                "165181407323344453395066399972593707711",
                "325703416437997220910907994269327320189",
                "3011943822290812929380561553496972223",
                "159781748880996003483561499795937949003",
                "185873495496665356941065257403806705996",
                "212224543797814663275570326733041206361",
                "315387729469493638641093491051848187058",
                "204780269776684533662565692781429762121",
                "304611225178061961755345649526733502815",
                "280315375458353162648575971118983446652",
                "145246933925574805257742864750530420231",
                "66721788897926403438420187918049483093"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-118753-1f7f4bf9",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/danoli3/freeimage/commit/0da5ddb4d311e5222251348cca1aa988478b1034",
        "target":  {
            "file":  "Source/FreeImage/PluginGIF.cpp"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "33004813953665685836625483515955569008",
            "length":  971
        },
        "id":  "CVE-2026-118753-38c94b98",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/danoli3/freeimage/commit/0da5ddb4d311e5222251348cca1aa988478b1034",
        "target":  {
            "file":  "Source/FreeImage/PluginGIF.cpp",
            "function":  "GifPlaybackCompositeFrame"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "183547964164458000599369871257881356470",
            "length":  384
        },
        "id":  "CVE-2026-118753-97936999",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/danoli3/freeimage/commit/0da5ddb4d311e5222251348cca1aa988478b1034",
        "target":  {
            "file":  "Source/FreeImage/PluginGIF.cpp",
            "function":  "GifPlaybackFillRect"
        }
    }
]
vanir_signatures_modified
"2026-11-04T07:03:28Z"