ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, a heap buffer over-read vulnerability exists in multiple raw image format handles. The vulnerability occurs when processing images with -extract dimensions larger than -size dimensions, causing out-of-bounds memory reads from a heap-allocated buffer. Versions 7.1.2-15 and 6.9.13-40 contain a patch.
{
"cwe_ids": [
"CWE-122"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25576.json"
}{
"versions": [
{
"introduced": "0"
},
{
"fixed": "14.10.3"
}
]
}[
{
"signature_version": "v1",
"digest": {
"length": 23600.0,
"function_hash": "316410258756988178429114825633850642787"
},
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2026-25576-059a660c",
"target": {
"function": "ReadCMYKImage",
"file": "coders/cmyk.c"
},
"source": "https://github.com/imagemagick/imagemagick/commit/077b42643212d7da8c1a4f6b2cd0067ebca8ec0f"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"66640186420873621384257550742724368719",
"319889552013757698360455984028525790799",
"256952561949245163651469245367783159077",
"157662687178047085674125175844961650042",
"292685984242424270777597294326786479658",
"187038571625299824303067101130741688042",
"9588341264109045961418638220754750345",
"175904511629143338597608143807527179002",
"125314924816388419548001814047574790956",
"169219060143909345943321311411656459644",
"58305238763900132302867660151400249764",
"248529325351805739662181561630481290803",
"125314924816388419548001814047574790956",
"169219060143909345943321311411656459644",
"139712530750844949309279548939866917458",
"321092560478142566732718733768163790582",
"125314924816388419548001814047574790956",
"169219060143909345943321311411656459644",
"58305238763900132302867660151400249764",
"300311756757226669044505016560793578371",
"125314924816388419548001814047574790956",
"169219060143909345943321311411656459644",
"161577118932406517880956326044006924795",
"332293529770778924083929118226473610103",
"125314924816388419548001814047574790956",
"169219060143909345943321311411656459644",
"49110406772344232992306655056910249164",
"217912465641639752300195895991565715860",
"125314924816388419548001814047574790956",
"169219060143909345943321311411656459644",
"107322767248907306881404006218410266284",
"231776338882947028864442314687151446189",
"125314924816388419548001814047574790956",
"169219060143909345943321311411656459644",
"328849144342466191234146718248832319993",
"234611569153462629632037490129428734632",
"125314924816388419548001814047574790956",
"169219060143909345943321311411656459644",
"58305238763900132302867660151400249764",
"300311756757226669044505016560793578371",
"125314924816388419548001814047574790956",
"169219060143909345943321311411656459644",
"161577118932406517880956326044006924795",
"332293529770778924083929118226473610103",
"135796861338163969396005444071270180097",
"171571061062719688959629980324711668653",
"49110406772344232992306655056910249164",
"217912465641639752300195895991565715860",
"135796861338163969396005444071270180097",
"171571061062719688959629980324711668653",
"107322767248907306881404006218410266284",
"231776338882947028864442314687151446189",
"135796861338163969396005444071270180097",
"171571061062719688959629980324711668653",
"328849144342466191234146718248832319993",
"234611569153462629632037490129428734632"
]
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2026-25576-09acbfda",
"target": {
"file": "coders/cmyk.c"
},
"source": "https://github.com/imagemagick/imagemagick/commit/077b42643212d7da8c1a4f6b2cd0067ebca8ec0f"
},
{
"signature_version": "v1",
"digest": {
"length": 20270.0,
"function_hash": "15480993164770791346056344202074738210"
},
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2026-25576-47169893",
"target": {
"function": "ReadYCBCRImage",
"file": "coders/ycbcr.c"
},
"source": "https://github.com/imagemagick/imagemagick/commit/077b42643212d7da8c1a4f6b2cd0067ebca8ec0f"
},
{
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"66640186420873621384257550742724368719",
"319889552013757698360455984028525790799",
"256952561949245163651469245367783159077",
"157662687178047085674125175844961650042",
"292685984242424270777597294326786479658",
"187038571625299824303067101130741688042",
"9588341264109045961418638220754750345",
"175904511629143338597608143807527179002",
"125314924816388419548001814047574790956",
"169219060143909345943321311411656459644",
"58305238763900132302867660151400249764",
"248529325351805739662181561630481290803",
"125314924816388419548001814047574790956",
"169219060143909345943321311411656459644",
"139712530750844949309279548939866917458",
"321092560478142566732718733768163790582",
"125314924816388419548001814047574790956",
"169219060143909345943321311411656459644",
"58305238763900132302867660151400249764",
"300311756757226669044505016560793578371",
"125314924816388419548001814047574790956",
"169219060143909345943321311411656459644",
"161577118932406517880956326044006924795",
"332293529770778924083929118226473610103",
"125314924816388419548001814047574790956",
"169219060143909345943321311411656459644",
"49110406772344232992306655056910249164",
"217912465641639752300195895991565715860",
"125314924816388419548001814047574790956",
"169219060143909345943321311411656459644",
"328849144342466191234146718248832319993",
"234611569153462629632037490129428734632",
"125314924816388419548001814047574790956",
"169219060143909345943321311411656459644",
"58305238763900132302867660151400249764",
"300311756757226669044505016560793578371",
"125314924816388419548001814047574790956",
"169219060143909345943321311411656459644",
"161577118932406517880956326044006924795",
"332293529770778924083929118226473610103",
"125314924816388419548001814047574790956",
"169219060143909345943321311411656459644",
"49110406772344232992306655056910249164",
"217912465641639752300195895991565715860",
"125314924816388419548001814047574790956",
"169219060143909345943321311411656459644",
"328849144342466191234146718248832319993",
"234611569153462629632037490129428734632"
]
},
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2026-25576-4c176e2b",
"target": {
"file": "coders/ycbcr.c"
},
"source": "https://github.com/imagemagick/imagemagick/commit/077b42643212d7da8c1a4f6b2cd0067ebca8ec0f"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"66640186420873621384257550742724368719",
"319889552013757698360455984028525790799",
"256952561949245163651469245367783159077",
"157662687178047085674125175844961650042",
"292685984242424270777597294326786479658",
"187038571625299824303067101130741688042",
"9588341264109045961418638220754750345",
"175904511629143338597608143807527179002",
"135796861338163969396005444071270180097",
"171571061062719688959629980324711668653",
"58305238763900132302867660151400249764",
"248529325351805739662181561630481290803",
"135796861338163969396005444071270180097",
"171571061062719688959629980324711668653",
"139712530750844949309279548939866917458",
"321092560478142566732718733768163790582",
"135796861338163969396005444071270180097",
"171571061062719688959629980324711668653",
"58305238763900132302867660151400249764",
"300311756757226669044505016560793578371",
"135796861338163969396005444071270180097",
"171571061062719688959629980324711668653",
"161577118932406517880956326044006924795",
"332293529770778924083929118226473610103",
"135796861338163969396005444071270180097",
"171571061062719688959629980324711668653",
"49110406772344232992306655056910249164",
"217912465641639752300195895991565715860",
"135796861338163969396005444071270180097",
"171571061062719688959629980324711668653",
"328849144342466191234146718248832319993",
"234611569153462629632037490129428734632",
"135796861338163969396005444071270180097",
"171571061062719688959629980324711668653",
"58305238763900132302867660151400249764",
"300311756757226669044505016560793578371",
"135796861338163969396005444071270180097",
"171571061062719688959629980324711668653",
"161577118932406517880956326044006924795",
"332293529770778924083929118226473610103",
"135796861338163969396005444071270180097",
"171571061062719688959629980324711668653",
"49110406772344232992306655056910249164",
"217912465641639752300195895991565715860",
"135796861338163969396005444071270180097",
"171571061062719688959629980324711668653",
"328849144342466191234146718248832319993",
"234611569153462629632037490129428734632"
]
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2026-25576-7808c90e",
"target": {
"file": "coders/bgr.c"
},
"source": "https://github.com/imagemagick/imagemagick/commit/077b42643212d7da8c1a4f6b2cd0067ebca8ec0f"
},
{
"digest": {
"length": 13716.0,
"function_hash": "109255656732779190879512822784119388594"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2026-25576-83902223",
"target": {
"function": "ReadGRAYImage",
"file": "coders/gray.c"
},
"source": "https://github.com/imagemagick/imagemagick/commit/077b42643212d7da8c1a4f6b2cd0067ebca8ec0f"
},
{
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"66640186420873621384257550742724368719",
"319889552013757698360455984028525790799",
"256952561949245163651469245367783159077",
"157662687178047085674125175844961650042",
"292685984242424270777597294326786479658",
"187038571625299824303067101130741688042",
"9588341264109045961418638220754750345",
"175904511629143338597608143807527179002",
"125314924816388419548001814047574790956",
"169219060143909345943321311411656459644",
"58305238763900132302867660151400249764",
"248529325351805739662181561630481290803",
"125314924816388419548001814047574790956",
"169219060143909345943321311411656459644",
"139712530750844949309279548939866917458",
"321092560478142566732718733768163790582",
"125314924816388419548001814047574790956",
"169219060143909345943321311411656459644",
"277523571504931886585108488260350450311",
"183527373097350152559095035375175900346",
"125314924816388419548001814047574790956",
"169219060143909345943321311411656459644",
"328849144342466191234146718248832319993",
"234611569153462629632037490129428734632",
"125314924816388419548001814047574790956",
"169219060143909345943321311411656459644",
"58305238763900132302867660151400249764",
"300311756757226669044505016560793578371",
"125314924816388419548001814047574790956",
"169219060143909345943321311411656459644",
"328849144342466191234146718248832319993",
"234611569153462629632037490129428734632"
]
},
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2026-25576-83fac55a",
"target": {
"file": "coders/gray.c"
},
"source": "https://github.com/imagemagick/imagemagick/commit/077b42643212d7da8c1a4f6b2cd0067ebca8ec0f"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"333203218583479119093004790030428550762",
"319889552013757698360455984028525790799",
"256952561949245163651469245367783159077",
"157662687178047085674125175844961650042",
"246438058692759252446383070011597717831",
"90931809901832921321984930034993337858",
"9588341264109045961418638220754750345",
"181513215206757420918947591665430569481",
"23525034742950677291897067473934229271",
"169219060143909345943321311411656459644",
"58305238763900132302867660151400249764",
"248529325351805739662181561630481290803"
]
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2026-25576-8de4f5c5",
"target": {
"file": "coders/raw.c"
},
"source": "https://github.com/imagemagick/imagemagick/commit/077b42643212d7da8c1a4f6b2cd0067ebca8ec0f"
},
{
"digest": {
"length": 20398.0,
"function_hash": "153678688849332657339107339179778123620"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2026-25576-9968bda6",
"target": {
"function": "ReadRGBImage",
"file": "coders/rgb.c"
},
"source": "https://github.com/imagemagick/imagemagick/commit/077b42643212d7da8c1a4f6b2cd0067ebca8ec0f"
},
{
"digest": {
"length": 4544.0,
"function_hash": "161158041268523611404762155069193264321"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2026-25576-a80ad4ea",
"target": {
"function": "ReadRGB565Image",
"file": "coders/rgb.c"
},
"source": "https://github.com/imagemagick/imagemagick/commit/077b42643212d7da8c1a4f6b2cd0067ebca8ec0f"
},
{
"signature_version": "v1",
"digest": {
"length": 4371.0,
"function_hash": "110586382059811745809457241551273488514"
},
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2026-25576-d553fa3f",
"target": {
"function": "ReadRAWImage",
"file": "coders/raw.c"
},
"source": "https://github.com/imagemagick/imagemagick/commit/077b42643212d7da8c1a4f6b2cd0067ebca8ec0f"
},
{
"digest": {
"length": 20448.0,
"function_hash": "173481640843257025504189224397102714283"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2026-25576-d5f66e23",
"target": {
"function": "ReadBGRImage",
"file": "coders/bgr.c"
},
"source": "https://github.com/imagemagick/imagemagick/commit/077b42643212d7da8c1a4f6b2cd0067ebca8ec0f"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"319889552013757698360455984028525790799",
"256952561949245163651469245367783159077",
"157662687178047085674125175844961650042",
"285236928015445040254918234981083495926",
"292685984242424270777597294326786479658",
"187038571625299824303067101130741688042",
"9588341264109045961418638220754750345",
"175904511629143338597608143807527179002",
"125314924816388419548001814047574790956",
"169219060143909345943321311411656459644",
"58305238763900132302867660151400249764",
"248529325351805739662181561630481290803",
"125314924816388419548001814047574790956",
"169219060143909345943321311411656459644",
"139712530750844949309279548939866917458",
"321092560478142566732718733768163790582",
"125314924816388419548001814047574790956",
"169219060143909345943321311411656459644",
"58305238763900132302867660151400249764",
"300311756757226669044505016560793578371",
"125314924816388419548001814047574790956",
"169219060143909345943321311411656459644",
"161577118932406517880956326044006924795",
"332293529770778924083929118226473610103",
"125314924816388419548001814047574790956",
"169219060143909345943321311411656459644",
"49110406772344232992306655056910249164",
"217912465641639752300195895991565715860",
"125314924816388419548001814047574790956",
"169219060143909345943321311411656459644",
"328849144342466191234146718248832319993",
"234611569153462629632037490129428734632",
"125314924816388419548001814047574790956",
"169219060143909345943321311411656459644",
"58305238763900132302867660151400249764",
"300311756757226669044505016560793578371",
"125314924816388419548001814047574790956",
"169219060143909345943321311411656459644",
"161577118932406517880956326044006924795",
"332293529770778924083929118226473610103",
"125314924816388419548001814047574790956",
"169219060143909345943321311411656459644",
"49110406772344232992306655056910249164",
"217912465641639752300195895991565715860",
"125314924816388419548001814047574790956",
"169219060143909345943321311411656459644",
"328849144342466191234146718248832319993",
"234611569153462629632037490129428734632",
"333203218583479119093004790030428550762",
"319889552013757698360455984028525790799",
"256952561949245163651469245367783159077",
"157662687178047085674125175844961650042",
"292685984242424270777597294326786479658",
"187038571625299824303067101130741688042",
"9588341264109045961418638220754750345",
"181513215206757420918947591665430569481",
"125314924816388419548001814047574790956",
"169219060143909345943321311411656459644",
"292828759057765907397840976273815941801",
"169636396957344067804543310826697113131"
]
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2026-25576-f7698fe1",
"target": {
"file": "coders/rgb.c"
},
"source": "https://github.com/imagemagick/imagemagick/commit/077b42643212d7da8c1a4f6b2cd0067ebca8ec0f"
}
]
[
{
"events": [
{
"introduced": "7.0.0-0"
},
{
"fixed": "7.1.2-15"
}
]
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-25576.json"