ImageMagick before 7.1.2-32 contains a policy bypass vulnerability in the -script operation due to missing checks on file descriptor handling. Attackers can use the -script operation to close file descriptors not opened by the current operation, circumventing configured security policies.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-404"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/109xxx/CVE-2026-109277.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "7.0.0-0"
},
{
"fixed": "7.1.2-32"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "ce92ae07c2ca2c20c131eaf6da6da734c1cafce0"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-109277.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "96929845214604747473613254913649373905",
"length": 1022
},
"id": "CVE-2026-109277-2dba266c",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/imagemagick/imagemagick/commit/ce92ae07c2ca2c20c131eaf6da6da734c1cafce0",
"target": {
"file": "MagickWand/script-token.c",
"function": "AcquireScriptTokenInfo"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"214365714964784272248127246478849296642",
"56410017890845204482741921471835316739",
"140737032985601770378799377165642330223",
"141001927535342047281842236909486089492"
],
"threshold": 0.9
},
"id": "CVE-2026-109277-3b3baa74",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/imagemagick/imagemagick/commit/ce92ae07c2ca2c20c131eaf6da6da734c1cafce0",
"target": {
"file": "MagickWand/script-token.c"
}
}
]
"2026-10-17T07:06:14Z"