ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a heap-based buffer overflow in its pixel export handling. An attacker can supply a crafted image that, when its pixel data is exported in a very specific situation, causes a small heap buffer over-write, potentially leading to a crash or memory corruption.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-787"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140351.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "6.9.13-61"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
]
}{
"extracted_events": [
{
"range": [
{
"introduced": "7.0.0"
},
{
"fixed": "7.1.2-36"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}