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 the DJVU image format handler. The vulnerability occurs due to integer truncation when calculating the stride (row size) for pixel buffer allocation. The stride calculation overflows a 32-bit signed integer, resulting in an out-of-bounds memory reads. Versions 7.1.2-15 and 6.9.13-40 contain a patch.
{
"cwe_ids": [
"CWE-122",
"CWE-126"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27799.json",
"cna_assigner": "GitHub_M",
"unresolved_ranges": [
{
"source": "AFFECTED_FIELD",
"extracted_events": [
{
"fixed": "6.9.13-40"
}
]
}
]
}{
"cpe": "cpe:2.3:a:dlemstra:magick.net:*:*:*:*:*:*:*:*",
"source": [
"CPE_RANGE",
"REFERENCES"
],
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "14.10.3"
}
]
}{
"cpe": "cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*",
"source": [
"CPE_RANGE",
"REFERENCES"
],
"extracted_events": [
{
"introduced": "7.0.0-0"
},
{
"fixed": "7.1.2-15"
}
]
}{
"cpe": "cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*",
"source": "CPE_RANGE",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "6.9.13-40"
}
]
}"2026-07-15T22:55:26Z"
[
{
"signature_type": "Line",
"target": {
"file": "coders/djvu.c"
},
"deprecated": false,
"source": "https://github.com/imagemagick/imagemagick/commit/e87695b3227978ad70b967b8d054baaf8ac2cced",
"id": "CVE-2026-27799-34870416",
"signature_version": "v1",
"digest": {
"line_hashes": [
"56084336811823023466579316501108178387",
"274475656491538648715963335562062227549",
"330444289011370464182406245041060484711",
"334466445307208352900241089693028825879",
"98646048312760367825660115743408059948",
"308627897897470145251865210643869419817",
"81999886496776104258812692010699663246",
"176971606963854225798112488999256097563"
],
"threshold": 0.9
}
},
{
"signature_type": "Function",
"target": {
"file": "coders/djvu.c",
"function": "get_page_image"
},
"deprecated": false,
"source": "https://github.com/imagemagick/imagemagick/commit/e87695b3227978ad70b967b8d054baaf8ac2cced",
"id": "CVE-2026-27799-6b54eaaf",
"signature_version": "v1",
"digest": {
"function_hash": "256323500546857577546057707748034154211",
"length": 2445.0
}
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-27799.json"