{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/22185?format=json","vulnerability_id":"VCID-kwru-mwnh-9yac","summary":"ImageMagick has a Memory Leak in LoadOpenCLDeviceBenchmark() when parsing malformed XML\nA memory leak vulnerability exists in the `LoadOpenCLDeviceBenchmark()` function in `MagickCore/opencl.c`. When parsing a malformed OpenCL device profile XML file that contains `<device` elements without proper `/>` closing tags, the function fails to release allocated memory for string members (`platform_name`, `vendor_name`, `name`, `version`), leading to memory leaks that could result in resource exhaustion.\n\n**Affected Version**: ImageMagick 7.1.2-12 and possibly earlier versions\n\n---","aliases":[{"alias":"GHSA-qp59-x883-77qv"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/72299?format=json","purl":"pkg:nuget/Magick.NET-Q16-arm64@14.10.2","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:nuget/Magick.NET-Q16-arm64@14.10.2"},{"url":"http://public2.vulnerablecode.io/api/packages/72293?format=json","purl":"pkg:nuget/Magick.NET-Q16-HDRI-arm64@14.10.2","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:nuget/Magick.NET-Q16-HDRI-arm64@14.10.2"},{"url":"http://public2.vulnerablecode.io/api/packages/72286?format=json","purl":"pkg:nuget/Magick.NET-Q16-HDRI-OpenMP-arm64@14.10.2","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:nuget/Magick.NET-Q16-HDRI-OpenMP-arm64@14.10.2"},{"url":"http://public2.vulnerablecode.io/api/packages/72288?format=json","purl":"pkg:nuget/Magick.NET-Q16-HDRI-OpenMP-x64@14.10.2","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:nuget/Magick.NET-Q16-HDRI-OpenMP-x64@14.10.2"},{"url":"http://public2.vulnerablecode.io/api/packages/72301?format=json","purl":"pkg:nuget/Magick.NET-Q16-OpenMP-arm64@14.10.2","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:nuget/Magick.NET-Q16-OpenMP-arm64@14.10.2"},{"url":"http://public2.vulnerablecode.io/api/packages/72279?format=json","purl":"pkg:nuget/Magick.NET-Q16-OpenMP-x64@14.10.2","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:nuget/Magick.NET-Q16-OpenMP-x64@14.10.2"},{"url":"http://public2.vulnerablecode.io/api/packages/72275?format=json","purl":"pkg:nuget/Magick.NET-Q16-OpenMP-x86@14.10.2","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:nuget/Magick.NET-Q16-OpenMP-x86@14.10.2"},{"url":"http://public2.vulnerablecode.io/api/packages/72285?format=json","purl":"pkg:nuget/Magick.NET-Q8-arm64@14.10.2","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:nuget/Magick.NET-Q8-arm64@14.10.2"},{"url":"http://public2.vulnerablecode.io/api/packages/72297?format=json","purl":"pkg:nuget/Magick.NET-Q8-OpenMP-arm64@14.10.2","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:nuget/Magick.NET-Q8-OpenMP-arm64@14.10.2"},{"url":"http://public2.vulnerablecode.io/api/packages/72278?format=json","purl":"pkg:nuget/magick.net-q8-openmp-x64@14.10.2","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:nuget/magick.net-q8-openmp-x64@14.10.2"},{"url":"http://public2.vulnerablecode.io/api/packages/84140?format=json","purl":"pkg:nuget/Magick.NET-Q8-OpenMP-x64@14.10.2","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:nuget/Magick.NET-Q8-OpenMP-x64@14.10.2"}],"affected_packages":[],"references":[{"reference_url":"https://github.com/dlemstra/Magick.NET/releases/tag/14.10.2","reference_id":"","reference_type":"","scores":[{"value":"6.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/dlemstra/Magick.NET/releases/tag/14.10.2"},{"reference_url":"https://github.com/ImageMagick/ImageMagick","reference_id":"","reference_type":"","scores":[{"value":"6.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/ImageMagick/ImageMagick"},{"reference_url":"https://github.com/advisories/GHSA-qp59-x883-77qv","reference_id":"GHSA-qp59-x883-77qv","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-qp59-x883-77qv"},{"reference_url":"https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-qp59-x883-77qv","reference_id":"GHSA-qp59-x883-77qv","reference_type":"","scores":[{"value":"6.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H"},{"value":"MODERATE","scoring_system":"cvssv3.1_qr","scoring_elements":""},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-qp59-x883-77qv"}],"weaknesses":[{"cwe_id":763,"name":"Release of Invalid Pointer or Reference","description":"The product attempts to return a memory resource to the system, but it calls the wrong release function or calls the appropriate release function incorrectly."},{"cwe_id":937,"name":"OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."},{"cwe_id":1035,"name":"OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."}],"exploits":[],"severity_range_score":"4.0 - 6.9","exploitability":null,"weighted_severity":null,"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-kwru-mwnh-9yac"}