{"schemaVersion":4,"id":"CVE-2024-41817","aliases":["CGA-8m2w-hvmh-xcq3","CGA-pf3h-35gp-8fh5"],"status":"published","duplicateOf":null,"title":"Arbitrary Code Execution in `AppImage` version `ImageMagick`","description":"ImageMagick is a free and open-source software suite, used for editing and manipulating digital images. The `AppImage` version `ImageMagick` might use an empty path when setting `MAGICK_CONFIGURE_PATH` and `LD_LIBRARY_PATH` environment variables while executing, which might lead to arbitrary code execution by loading malicious configuration files or shared libraries in the current working directory while executing `ImageMagick`. The vulnerability is fixed in 7.11-36.","dates":{"published":"2024-07-29T15:53:17.236Z","modified":"2024-08-02T04:46:53.171Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7,"severity":"high","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":7,"severity":"high","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":2.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00966,"percentile":0.62905,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0.01799999999999996,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.00948},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00926,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00926,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00926,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00934,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00694,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00694,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00694,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00694,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00694,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00694,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00966,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00966,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00966,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00966,"percentile":0.62905}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00948,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00694,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00694,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00694,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00694,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00694,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00694,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00966,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00966,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00966,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00966,"percentile":0.62905}]},"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":[{"id":"GITHUB_IMAGEMAGICK_IMAGEMAGICK","name":"Imagemagick","source":"github","url":"https://github.com/ImageMagick/ImageMagick/commit/5511ef530576ed18fd636baa3bb4eda3d667665d","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-427","name":"Uncontrolled Search Path Element","description":"The product uses a fixed or controlled search path to find resources, but one or more locations in that path can be under the control of unintended actors.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/427.html"}],"affected":[{"vendor":"chainguard","product":"imagemagick-6","name":"imagemagick-6","label":"imagemagick-6","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/imagemagick-6","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"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.11-36","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"7.11-36","endInclusive":false}},{"text":"≥ 7.0.11-13, < 7.1.1-36","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"7.0.11-13","startInclusive":true,"end":"7.1.1-36","endInclusive":false}}],"versionsText":"< 7.11-36 | ≥ 7.0.11-13, < 7.1.1-36","eol":null,"hubHref":"/vendor/imagemagick/imagemagick"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-8rxc-922v-phg8","label":"github.com/ImageMagick/ImageMagick/security/advisories/GHSA-8rxc-922v-phg8","hostname":"github.com","tags":["X Refsource CONFIRM","Advisory","Exploit","Vendor Advisory"]},{"url":"https://github.com/ImageMagick/ImageMagick/commit/6526a2b28510ead6a3e14de711bb991ad9abff38","label":"github.com/ImageMagick/ImageMagick/commit/6526a2b28510ead6a3e14de711bb991ad9abff38","hostname":"github.com","tags":["X Refsource MISC","FIX","Patch"]},{"url":"https://github.com/ImageMagick/ImageMagick/blob/3b22378a23d59d7517c43b65b1822f023df357a0/app-image/AppRun#L11-L14","label":"github.com/ImageMagick/ImageMagick/blob/3b22378a23d59d7517c43b65b1822f023df357a0/app-image/AppRun","hostname":"github.com","tags":["X Refsource MISC","WEB","Issue Tracking"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41817.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41817.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-41817","label":"nvd.nist.gov/vuln/detail/CVE-2024-41817","hostname":"nvd.nist.gov","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-4WH7-F8P9-PPWG","UBUNTU-CVE-2024-41817"]},"timeline":[{"kind":"published","date":"2024-07-29T15:53:17.236Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-02T04:46:53.171Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"prioritise","tag":"public-exploit","reason":"Public exploit (GitHub, Date unknown)","nextStep":"Check applicability: affected before 7.1.1-36, 7.11-36 (CNA); fix release not confirmed","rank":[0,0,0,1,1,70],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00966,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2024-08-02T04:46:53.171Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1","headline":true},{"type":"cvss","source":"osv_chainguard","date":"2024-08-02T04:46:53.171Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"nvd","date":"2024-08-02T04:46:53.171Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2024-07-29T16:18:23.542Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"poc"},{"type":"exploit","source":"github","date":null,"status":"valid","statusDate":null,"statusSource":null,"disputes":[],"maturity":"poc","verified":false}],"epss":{"value":0.00966,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T10:02:10.250Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T10:02:10.837Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T10:02:11.033Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T10:01:03.214Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T10:02:08.667Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T10:02:07.694Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T10:57:01.095Z","stale":false,"partial":false}}