{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-23874","id":"CVE-2026-23874","title":"ImageMagick's MSL: Stack overflow via infinite recursion in ProcessMSLScript","description":"ImageMagick is free and open-source software used for editing and manipulating digital images. Versions prior to 7.1.2-13 have a stack overflow via infinite recursion in MSL (Magick Scripting Language) `<write>` command when writing to MSL format. Version 7.1.2-13 fixes the issue.","descriptionLong":"ImageMagick is free and open-source software used for editing and manipulating digital images. Versions prior to 7.1.2-13 have a stack overflow via infinite recursion in MSL (Magick Scripting Language) `<write>` command when writing to MSL format. Version 7.1.2-13 fixes the issue.","published":"2026-01-20T00:52:52.916Z","updated":"2026-10-28T02:30:40.446688931Z","reserved":"2026-01-16T21:02:02.900Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"github.com"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub"}],"rating":"medium","products":["ImageMagick"],"affectedProducts":[{"vendor":"ImageMagick","product":"ImageMagick","defaultStatus":null,"versions":[{"version":"< 7.1.2-13","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"NuGet","name":"Magick.NET-Q8-x64","purl":"pkg:nuget/Magick.NET-Q8-x64","ranges":["<14.10.2"],"fixed":["14.10.2"],"advisory":"GHSA-9vj4-wc7r-p844"},{"ecosystem":"NuGet","name":"Magick.NET-Q8-arm64","purl":"pkg:nuget/Magick.NET-Q8-arm64","ranges":["<14.10.2"],"fixed":["14.10.2"],"advisory":"GHSA-9vj4-wc7r-p844"},{"ecosystem":"NuGet","name":"Magick.NET-Q8-x86","purl":"pkg:nuget/Magick.NET-Q8-x86","ranges":["<14.10.2"],"fixed":["14.10.2"],"advisory":"GHSA-9vj4-wc7r-p844"},{"ecosystem":"NuGet","name":"Magick.NET-Q8-OpenMP-x64","purl":"pkg:nuget/Magick.NET-Q8-OpenMP-x64","ranges":["<14.10.2"],"fixed":["14.10.2"],"advisory":"GHSA-9vj4-wc7r-p844"},{"ecosystem":"NuGet","name":"Magick.NET-Q8-OpenMP-arm64","purl":"pkg:nuget/Magick.NET-Q8-OpenMP-arm64","ranges":["<14.10.2"],"fixed":["14.10.2"],"advisory":"GHSA-9vj4-wc7r-p844"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-x64","purl":"pkg:nuget/Magick.NET-Q16-x64","ranges":["<14.10.2"],"fixed":["14.10.2"],"advisory":"GHSA-9vj4-wc7r-p844"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-arm64","purl":"pkg:nuget/Magick.NET-Q16-arm64","ranges":["<14.10.2"],"fixed":["14.10.2"],"advisory":"GHSA-9vj4-wc7r-p844"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-x86","purl":"pkg:nuget/Magick.NET-Q16-x86","ranges":["<14.10.2"],"fixed":["14.10.2"],"advisory":"GHSA-9vj4-wc7r-p844"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-OpenMP-x64","purl":"pkg:nuget/Magick.NET-Q16-OpenMP-x64","ranges":["<14.10.2"],"fixed":["14.10.2"],"advisory":"GHSA-9vj4-wc7r-p844"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-OpenMP-arm64","purl":"pkg:nuget/Magick.NET-Q16-OpenMP-arm64","ranges":["<14.10.2"],"fixed":["14.10.2"],"advisory":"GHSA-9vj4-wc7r-p844"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-HDRI-x64","purl":"pkg:nuget/Magick.NET-Q16-HDRI-x64","ranges":["<14.10.2"],"fixed":["14.10.2"],"advisory":"GHSA-9vj4-wc7r-p844"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-HDRI-arm64","purl":"pkg:nuget/Magick.NET-Q16-HDRI-arm64","ranges":["<14.10.2"],"fixed":["14.10.2"],"advisory":"GHSA-9vj4-wc7r-p844"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-HDRI-x86","purl":"pkg:nuget/Magick.NET-Q16-HDRI-x86","ranges":["<14.10.2"],"fixed":["14.10.2"],"advisory":"GHSA-9vj4-wc7r-p844"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-HDRI-OpenMP-x64","purl":"pkg:nuget/Magick.NET-Q16-HDRI-OpenMP-x64","ranges":["<14.10.2"],"fixed":["14.10.2"],"advisory":"GHSA-9vj4-wc7r-p844"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-HDRI-OpenMP-arm64","purl":"pkg:nuget/Magick.NET-Q16-HDRI-OpenMP-arm64","ranges":["<14.10.2"],"fixed":["14.10.2"],"advisory":"GHSA-9vj4-wc7r-p844"},{"ecosystem":"NuGet","name":"Magick.NET-Q8-AnyCPU","purl":"pkg:nuget/Magick.NET-Q8-AnyCPU","ranges":["<14.10.2"],"fixed":["14.10.2"],"advisory":"GHSA-9vj4-wc7r-p844"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-AnyCPU","purl":"pkg:nuget/Magick.NET-Q16-AnyCPU","ranges":["<14.10.2"],"fixed":["14.10.2"],"advisory":"GHSA-9vj4-wc7r-p844"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-HDRI-AnyCPU","purl":"pkg:nuget/Magick.NET-Q16-HDRI-AnyCPU","ranges":["<14.10.2"],"fixed":["14.10.2"],"advisory":"GHSA-9vj4-wc7r-p844"}],"cwes":["CWE-835"],"aliases":["GHSA-9vj4-wc7r-p844"],"references":[{"url":"https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-9vj4-wc7r-p844","tags":["x_refsource_CONFIRM","Exploit","Vendor Advisory","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23874.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23874","tags":["advisory"]},{"url":"https://github.com/ImageMagick/ImageMagick","tags":["package"]},{"url":"https://github.com/dlemstra/Magick.NET/releases/tag/14.10.2","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00188,"epssPercentile":0.08479,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-23874","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23874","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-23874","ok":true,"note":"18 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-9vj4-wc7r-p844","ok":true,"note":"GHSA-9vj4-wc7r-p844"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-23874","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}