ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a heap buffer over-read and a NULL pointer dereference in its draw operations. A user able to invoke specific draw operations can cause ImageMagick to read beyond a heap buffer or dereference a NULL pointer, resulting in a crash or disclosure of memory contents.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-125"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140358.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"
}
]
}