{"schemaVersion":3,"id":"CVE-2025-65955","aliases":["UBUNTU-CVE-2025-65955","DEBIAN-CVE-2025-65955","openSUSE-SU-2025:15816-1","GHSA-q3hc-j9x5-mp9m"],"status":"published","duplicateOf":null,"title":null,"description":"ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to 7.1.2-9 and 6.9.13-34, there is a vulnerability in ImageMagick’s Magick++ layer that manifests when Options::fontFamily is invoked with an empty string. Clearing a font family calls RelinquishMagickMemory on _drawInfo->font, freeing the font string but leaving _drawInfo->font pointing to freed memory while _drawInfo->family is set to that (now-invalid) pointer. Any later cleanup or reuse of _drawInfo->font re-frees or dereferences dangling memory. DestroyDrawInfo and other setters (Options::font, Image::font) assume _drawInfo->font remains valid, so destruction or subsequent updates trigger crashes or heap corruption. This vulnerability is fixed in 7.1.2-9 and 6.9.13-34.","dates":{"published":"2025-12-02T23:02:58.856Z","modified":"2026-06-23T16:10:14.599Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.1,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":4.9,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":4.9,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","exploitability":3.6,"impact":5.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H","exploitability":4.6,"impact":7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Nuget","score":4.9,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","exploitability":3.6,"impact":5.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00159,"percentile":0.0464,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00159},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0016,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0016,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0016,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0016,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00159,"percentile":0.0464}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00159,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00159,"percentile":0.0464}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-415","name":"Double Free","description":"The product calls free() twice on the same memory address.","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/415.html"},{"id":"CWE-416","name":"Use After Free","description":"The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory \"belongs\" to the code that operates on the new pointer.","type":"weakness","status":"Stable","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/416.html"}],"affected":[{"vendor":"debian","product":"imagemagick","name":"imagemagick","label":"imagemagick","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/imagemagick","purlType":"deb","versions":[{"text":"< 8:6.9.11.60+dfsg-1.6+deb12u5","noFixRecorded":false,"fixedIn":null},{"text":"< 8:7.1.1.43+dfsg1-1+deb13u4","noFixRecorded":false,"fixedIn":null},{"text":"< 8:7.1.2.12+dfsg1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8:6.9.11.60+dfsg-1.6+deb12u5 | < 8:7.1.1.43+dfsg1-1+deb13u4 | < 8:7.1.2.12+dfsg1-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"imagemagick","name":"imagemagick","label":"imagemagick","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/imagemagick","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"imagemagick","product":"imagemagick","name":"imagemagick","label":"imagemagick","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 7.0.1-0, < 7.1.2-9","noFixRecorded":false,"fixedIn":null},{"text":"< 6.9.13-34","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.0.0-0, < 7.1.2-9","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 7.0.1-0, < 7.1.2-9 | < 6.9.13-34 | ≥ 7.0.0-0, < 7.1.2-9","eol":null,"hubHref":"/vendor/imagemagick/imagemagick"},{"vendor":"NuGet","product":"magick.net-q16-anycpu","name":"magick.net-q16-anycpu","label":"magick.net-q16-anycpu","ecosystem":"NuGet","cpePart":null,"purl":"pkg:nuget/magick.net-q16-anycpu","purlType":"nuget","versions":[{"text":"≤ 14.9.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 14.9.1","eol":null,"hubHref":null},{"vendor":"NuGet","product":"Magick.NET-Q16-arm64","name":"Magick.NET-Q16-arm64","label":"Magick.NET-Q16-arm64","ecosystem":"NuGet","cpePart":null,"purl":"pkg:nuget/Magick.NET-Q16-arm64","purlType":"nuget","versions":[{"text":"≤ 14.9.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 14.9.1","eol":null,"hubHref":null},{"vendor":"NuGet","product":"magick.net-q16-hdri-anycpu","name":"magick.net-q16-hdri-anycpu","label":"magick.net-q16-hdri-anycpu","ecosystem":"NuGet","cpePart":null,"purl":"pkg:nuget/magick.net-q16-hdri-anycpu","purlType":"nuget","versions":[{"text":"≤ 14.9.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 14.9.1","eol":null,"hubHref":null},{"vendor":"NuGet","product":"Magick.NET-Q16-HDRI-arm64","name":"Magick.NET-Q16-HDRI-arm64","label":"Magick.NET-Q16-HDRI-arm64","ecosystem":"NuGet","cpePart":null,"purl":"pkg:nuget/Magick.NET-Q16-HDRI-arm64","purlType":"nuget","versions":[{"text":"≤ 14.9.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 14.9.1","eol":null,"hubHref":null},{"vendor":"NuGet","product":"Magick.NET-Q16-HDRI-OpenMP-arm64","name":"Magick.NET-Q16-HDRI-OpenMP-arm64","label":"Magick.NET-Q16-HDRI-OpenMP-arm64","ecosystem":"NuGet","cpePart":null,"purl":"pkg:nuget/Magick.NET-Q16-HDRI-OpenMP-arm64","purlType":"nuget","versions":[{"text":"≤ 14.9.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 14.9.1","eol":null,"hubHref":null},{"vendor":"NuGet","product":"Magick.NET-Q16-HDRI-OpenMP-x64","name":"Magick.NET-Q16-HDRI-OpenMP-x64","label":"Magick.NET-Q16-HDRI-OpenMP-x64","ecosystem":"NuGet","cpePart":null,"purl":"pkg:nuget/Magick.NET-Q16-HDRI-OpenMP-x64","purlType":"nuget","versions":[{"text":"≤ 14.9.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 14.9.1","eol":null,"hubHref":null},{"vendor":"NuGet","product":"Magick.NET-Q16-HDRI-x64","name":"Magick.NET-Q16-HDRI-x64","label":"Magick.NET-Q16-HDRI-x64","ecosystem":"NuGet","cpePart":null,"purl":"pkg:nuget/Magick.NET-Q16-HDRI-x64","purlType":"nuget","versions":[{"text":"≤ 14.9.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 14.9.1","eol":null,"hubHref":null},{"vendor":"NuGet","product":"Magick.NET-Q16-HDRI-x86","name":"Magick.NET-Q16-HDRI-x86","label":"Magick.NET-Q16-HDRI-x86","ecosystem":"NuGet","cpePart":null,"purl":"pkg:nuget/Magick.NET-Q16-HDRI-x86","purlType":"nuget","versions":[{"text":"≤ 14.9.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 14.9.1","eol":null,"hubHref":null},{"vendor":"NuGet","product":"Magick.NET-Q16-OpenMP-arm64","name":"Magick.NET-Q16-OpenMP-arm64","label":"Magick.NET-Q16-OpenMP-arm64","ecosystem":"NuGet","cpePart":null,"purl":"pkg:nuget/Magick.NET-Q16-OpenMP-arm64","purlType":"nuget","versions":[{"text":"≤ 14.9.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 14.9.1","eol":null,"hubHref":null},{"vendor":"NuGet","product":"Magick.NET-Q16-OpenMP-x64","name":"Magick.NET-Q16-OpenMP-x64","label":"Magick.NET-Q16-OpenMP-x64","ecosystem":"NuGet","cpePart":null,"purl":"pkg:nuget/Magick.NET-Q16-OpenMP-x64","purlType":"nuget","versions":[{"text":"≤ 14.9.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 14.9.1","eol":null,"hubHref":null},{"vendor":"NuGet","product":"magick.net-q16-x64","name":"magick.net-q16-x64","label":"magick.net-q16-x64","ecosystem":"NuGet","cpePart":null,"purl":"pkg:nuget/magick.net-q16-x64","purlType":"nuget","versions":[{"text":"≤ 14.9.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 14.9.1","eol":null,"hubHref":null},{"vendor":"NuGet","product":"Magick.NET-Q16-x86","name":"Magick.NET-Q16-x86","label":"Magick.NET-Q16-x86","ecosystem":"NuGet","cpePart":null,"purl":"pkg:nuget/Magick.NET-Q16-x86","purlType":"nuget","versions":[{"text":"≤ 14.9.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 14.9.1","eol":null,"hubHref":null},{"vendor":"NuGet","product":"magick.net-q8-anycpu","name":"magick.net-q8-anycpu","label":"magick.net-q8-anycpu","ecosystem":"NuGet","cpePart":null,"purl":"pkg:nuget/magick.net-q8-anycpu","purlType":"nuget","versions":[{"text":"≤ 14.9.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 14.9.1","eol":null,"hubHref":null},{"vendor":"NuGet","product":"Magick.NET-Q8-arm64","name":"Magick.NET-Q8-arm64","label":"Magick.NET-Q8-arm64","ecosystem":"NuGet","cpePart":null,"purl":"pkg:nuget/Magick.NET-Q8-arm64","purlType":"nuget","versions":[{"text":"≤ 14.9.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 14.9.1","eol":null,"hubHref":null},{"vendor":"NuGet","product":"Magick.NET-Q8-OpenMP-arm64","name":"Magick.NET-Q8-OpenMP-arm64","label":"Magick.NET-Q8-OpenMP-arm64","ecosystem":"NuGet","cpePart":null,"purl":"pkg:nuget/Magick.NET-Q8-OpenMP-arm64","purlType":"nuget","versions":[{"text":"≤ 14.9.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 14.9.1","eol":null,"hubHref":null},{"vendor":"NuGet","product":"magick.net-q8-openmp-x64","name":"magick.net-q8-openmp-x64","label":"magick.net-q8-openmp-x64","ecosystem":"NuGet","cpePart":null,"purl":"pkg:nuget/magick.net-q8-openmp-x64","purlType":"nuget","versions":[{"text":"≤ 14.9.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 14.9.1","eol":null,"hubHref":null},{"vendor":"NuGet","product":"magick.net-q8-x64","name":"magick.net-q8-x64","label":"magick.net-q8-x64","ecosystem":"NuGet","cpePart":null,"purl":"pkg:nuget/magick.net-q8-x64","purlType":"nuget","versions":[{"text":"≤ 14.9.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 14.9.1","eol":null,"hubHref":null},{"vendor":"NuGet","product":"Magick.NET-Q8-x86","name":"Magick.NET-Q8-x86","label":"Magick.NET-Q8-x86","ecosystem":"NuGet","cpePart":null,"purl":"pkg:nuget/Magick.NET-Q8-x86","purlType":"nuget","versions":[{"text":"≤ 14.9.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 14.9.1","eol":null,"hubHref":null},{"vendor":"opensuse","product":"ImageMagick&distro=openSUSE Tumbleweed","name":"ImageMagick","label":"ImageMagick&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/ImageMagick&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 7.1.2.10-1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.1.2.10-1.1","eol":null,"hubHref":null}],"affectedCount":22,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-q3hc-j9x5-mp9m","label":"github.com/ImageMagick/ImageMagick/security/advisories/GHSA-q3hc-j9x5-mp9m","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","WEB","Vendor Advisory"]},{"url":"https://github.com/ImageMagick/ImageMagick/commit/6409f34d637a34a1c643632aa849371ec8b3b5a8","label":"github.com/ImageMagick/ImageMagick/commit/6409f34d637a34a1c643632aa849371ec8b3b5a8","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB","Patch"]},{"url":"https://github.com/ImageMagick/ImageMagick/commit/6f81eb15f822ad86e8255be75efad6f9762c32f8","label":"github.com/ImageMagick/ImageMagick/commit/6f81eb15f822ad86e8255be75efad6f9762c32f8","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB","Patch"]},{"url":"https://ubuntu.com/security/CVE-2025-65955","label":"ubuntu.com/security/CVE-2025-65955","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-65955","label":"www.cve.org/CVERecord?id=CVE-2025-65955","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-65955","label":"security-tracker.debian.org/tracker/CVE-2025-65955","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2025-65955","label":"www.suse.com/security/cve/CVE-2025-65955","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-65955","label":"nvd.nist.gov/vuln/detail/CVE-2025-65955","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/ImageMagick/ImageMagick","label":"github.com/ImageMagick/ImageMagick","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":["DLA-4429-1","OPENSUSE-SU-2026:20118-1","SUSE-SU-2025:4427-1","SUSE-SU-2025:4428-1","SUSE-SU-2026:0011-1","SUSE-SU-2026:0013-1","SUSE-SU-2026:20183-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:20118-1","SUSE-SU-2025:4427-1","SUSE-SU-2025:4428-1","SUSE-SU-2026:0011-1","SUSE-SU-2026:0013-1","SUSE-SU-2026:20183-1"]},"timeline":[{"kind":"published","date":"2025-12-02T23:02:58.856Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-06-23T16:10:14.599Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":24,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T07:50:22.003Z","stale":false,"partial":false}}