ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 contains a memory leak in the GIF encoder because allocated memory is not released when color quantization fails during encoding. Attackers can supply images whose GIF conversion causes quantization to fail, leaking memory with each attempt and degrading availability.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-401"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/109xxx/CVE-2026-109261.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "7.0.0-0"
},
{
"fixed": "7.1.2-32"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "1c7763266cfedc635005a965169bc2ddcc650221"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "6.9.13-57"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "93aa075f0fa5a6ae6a83a63acc7c84283aa6d31b"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-109261.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "134787276073155347494865836332410390912",
"length": 11124
},
"id": "CVE-2026-109261-4cbf7a68",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/imagemagick/imagemagick6/commit/93aa075f0fa5a6ae6a83a63acc7c84283aa6d31b",
"target": {
"file": "coders/gif.c",
"function": "WriteGIFImage"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "109512386736722736744547468566768844707",
"length": 11328
},
"id": "CVE-2026-109261-dd5f1ced",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/imagemagick/imagemagick/commit/1c7763266cfedc635005a965169bc2ddcc650221",
"target": {
"file": "coders/gif.c",
"function": "WriteGIFImage"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"277694563427132031805918374732082617255",
"23456371867712925896285853388946883966",
"288927145676828945807941188117862487596",
"5678362989454456464791847469923295162"
],
"threshold": 0.9
},
"id": "CVE-2026-109261-e7ed2ea9",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/imagemagick/imagemagick/commit/1c7763266cfedc635005a965169bc2ddcc650221",
"target": {
"file": "coders/gif.c"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"277694563427132031805918374732082617255",
"23456371867712925896285853388946883966",
"288927145676828945807941188117862487596",
"5678362989454456464791847469923295162"
],
"threshold": 0.9
},
"id": "CVE-2026-109261-eac2d869",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/imagemagick/imagemagick6/commit/93aa075f0fa5a6ae6a83a63acc7c84283aa6d31b",
"target": {
"file": "coders/gif.c"
}
}
]
"2026-10-19T07:08:32Z"