{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-25795","id":"CVE-2026-25795","title":"ImageMagick has NULL pointer dereference in ReadSFWImage after DestroyImageInfo (sfw.c)","description":"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, in `ReadSFWImage()` (`coders/sfw.c`), when temporary file creation fails, `read_info` is destroyed before its `filename` member is accessed, causing a NULL pointer dereference and crash. Versions 7.1.2-15 and 6.9.13-40 contain a patch.","descriptionLong":"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, in `ReadSFWImage()` (`coders/sfw.c`), when temporary file creation fails, `read_info` is destroyed before its `filename` member is accessed, causing a NULL pointer dereference and crash. Versions 7.1.2-15 and 6.9.13-40 contain a patch.","published":"2026-02-24T00:54:34.640Z","updated":"2026-10-28T02:31:01.252153705Z","reserved":"2026-02-05T19:58:01.640Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"github.com"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"OSV"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"GitHub"}],"rating":"medium","products":["ImageMagick"],"affectedProducts":[{"vendor":"ImageMagick","product":"ImageMagick","defaultStatus":null,"versions":[{"version":">= 7.0.0, < 7.1.2-15","status":"affected"},{"version":"< 6.9.13-40","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"NuGet","name":"Magick.NET-Q16-AnyCPU","purl":"pkg:nuget/Magick.NET-Q16-AnyCPU","ranges":["<14.10.3"],"fixed":["14.10.3"],"advisory":"GHSA-p33r-fqw2-rqmm"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-HDRI-AnyCPU","purl":"pkg:nuget/Magick.NET-Q16-HDRI-AnyCPU","ranges":["<14.10.3"],"fixed":["14.10.3"],"advisory":"GHSA-p33r-fqw2-rqmm"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-HDRI-OpenMP-arm64","purl":"pkg:nuget/Magick.NET-Q16-HDRI-OpenMP-arm64","ranges":["<14.10.3"],"fixed":["14.10.3"],"advisory":"GHSA-p33r-fqw2-rqmm"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-HDRI-OpenMP-x64","purl":"pkg:nuget/Magick.NET-Q16-HDRI-OpenMP-x64","ranges":["<14.10.3"],"fixed":["14.10.3"],"advisory":"GHSA-p33r-fqw2-rqmm"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-HDRI-arm64","purl":"pkg:nuget/Magick.NET-Q16-HDRI-arm64","ranges":["<14.10.3"],"fixed":["14.10.3"],"advisory":"GHSA-p33r-fqw2-rqmm"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-HDRI-x64","purl":"pkg:nuget/Magick.NET-Q16-HDRI-x64","ranges":["<14.10.3"],"fixed":["14.10.3"],"advisory":"GHSA-p33r-fqw2-rqmm"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-HDRI-x86","purl":"pkg:nuget/Magick.NET-Q16-HDRI-x86","ranges":["<14.10.3"],"fixed":["14.10.3"],"advisory":"GHSA-p33r-fqw2-rqmm"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-OpenMP-arm64","purl":"pkg:nuget/Magick.NET-Q16-OpenMP-arm64","ranges":["<14.10.3"],"fixed":["14.10.3"],"advisory":"GHSA-p33r-fqw2-rqmm"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-OpenMP-x64","purl":"pkg:nuget/Magick.NET-Q16-OpenMP-x64","ranges":["<14.10.3"],"fixed":["14.10.3"],"advisory":"GHSA-p33r-fqw2-rqmm"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-OpenMP-x86","purl":"pkg:nuget/Magick.NET-Q16-OpenMP-x86","ranges":["<14.10.3"],"fixed":["14.10.3"],"advisory":"GHSA-p33r-fqw2-rqmm"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-arm64","purl":"pkg:nuget/Magick.NET-Q16-arm64","ranges":["<14.10.3"],"fixed":["14.10.3"],"advisory":"GHSA-p33r-fqw2-rqmm"},{"ecosystem":"NuGet","name":"Magick.NET-Q16-x86","purl":"pkg:nuget/Magick.NET-Q16-x86","ranges":["<14.10.3"],"fixed":["14.10.3"],"advisory":"GHSA-p33r-fqw2-rqmm"},{"ecosystem":"NuGet","name":"Magick.NET-Q8-AnyCPU","purl":"pkg:nuget/Magick.NET-Q8-AnyCPU","ranges":["<14.10.3"],"fixed":["14.10.3"],"advisory":"GHSA-p33r-fqw2-rqmm"},{"ecosystem":"NuGet","name":"Magick.NET-Q8-OpenMP-arm64","purl":"pkg:nuget/Magick.NET-Q8-OpenMP-arm64","ranges":["<14.10.3"],"fixed":["14.10.3"],"advisory":"GHSA-p33r-fqw2-rqmm"},{"ecosystem":"NuGet","name":"Magick.NET-Q8-OpenMP-x64","purl":"pkg:nuget/Magick.NET-Q8-OpenMP-x64","ranges":["<14.10.3"],"fixed":["14.10.3"],"advisory":"GHSA-p33r-fqw2-rqmm"},{"ecosystem":"NuGet","name":"Magick.NET-Q8-arm64","purl":"pkg:nuget/Magick.NET-Q8-arm64","ranges":["<14.10.3"],"fixed":["14.10.3"],"advisory":"GHSA-p33r-fqw2-rqmm"},{"ecosystem":"NuGet","name":"Magick.NET-Q8-x64","purl":"pkg:nuget/Magick.NET-Q8-x64","ranges":["<14.10.3"],"fixed":["14.10.3"],"advisory":"GHSA-p33r-fqw2-rqmm"},{"ecosystem":"NuGet","name":"Magick.NET-Q8-x86","purl":"pkg:nuget/Magick.NET-Q8-x86","ranges":["<14.10.3"],"fixed":["14.10.3"],"advisory":"GHSA-p33r-fqw2-rqmm"}],"cwes":["CWE-476"],"aliases":["GHSA-p33r-fqw2-rqmm"],"references":[{"url":"https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-p33r-fqw2-rqmm","tags":["x_refsource_CONFIRM","Vendor Advisory","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25795.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25795","tags":["advisory"]},{"url":"https://github.com/ImageMagick/ImageMagick/commit/332c1566acc2de77857032d3c2504ead6210ff50","tags":["web"]},{"url":"https://github.com/ImageMagick/ImageMagick/commit/55c344f4b514213642da41194bab57b4476fb9f5","tags":["web"]},{"url":"https://github.com/ImageMagick/ImageMagick","tags":["package"]},{"url":"https://github.com/dlemstra/Magick.NET/releases/tag/14.10.3","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00427,"epssPercentile":0.37669,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-25795","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25795","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-25795","ok":true,"note":"18 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-p33r-fqw2-rqmm","ok":true,"note":"GHSA-p33r-fqw2-rqmm"},{"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-25795","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}