{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2019-11037 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2019-11037 is a medium-severity memory corruption vulnerability in PHP Imagick extension, published on 3 May 2019. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2019-11037 and fix it if it is affected.\n\nWhat it is: CVE-2019-11037 is a medium-severity memory corruption vulnerability in PHP Imagick extension, published on 3 May 2019. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2019-11037 in the wild and no public exploit code.\n\nAffected product: PHP Imagick extension. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2019-11037/ (Markdown: https://insights.sbomify.com/CVE-2019-11037/index.md)","id":"CVE-2019-11037","markdown":"https://insights.sbomify.com/CVE-2019-11037/index.md","name":"CVE-2019-11037","record":{"aliases":["DEBIAN-CVE-2019-11037","DSA-4576-1","GHSA-c46f-p363-f93x","UBUNTU-CVE-2019-11037","USN-4586-1","USN-4586-2","openSUSE-SU-2020:0014-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"PHP Imagick extension","requires_auth":"none","summary":"An out-of-bounds memory write in the PHP Imagick extension allows attackers to execute arbitrary code via crafted input.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"php","cpe":[{"product":"imagick","vendor":"php"}],"cvss":{"score":4.9,"severity":"medium","source":"cna","vector":"CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","version":"3.0"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"description":"In PHP imagick extension in versions between 3.3.0 and 3.4.4, writing to an array of values in ImagickKernel::fromMatrix() function did not check that the address will be within the allocated array. This could lead to out of bounds write to memory if the function is called with the data controlled by untrusted party.","ecosystems":["SUSE:Package Hub 12","SUSE:Package Hub 15 SP1","openSUSE:Leap 15.1"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Out of bounds memory write in PHP Imagick extension","id":"CVE-2019-11037","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2019"},"n_packages":3,"n_references":11,"next":{"headline":"Uninitialized read in gdImageCreateFromXbm","id":"CVE-2019-11038"},"packages":[{"ecosystem":"SUSE:Package Hub 12","fixed":["3.4.4-bp151.2.3.1"],"introduced":["0"],"last_affected":[],"package":"php7-imagick","purl":"pkg:rpm/suse/php7-imagick\u0026distro=SUSE%20Package%20Hub%2012","source":"openSUSE-SU-2020:0014-1"},{"ecosystem":"SUSE:Package Hub 15 SP1","fixed":["3.4.4-bp151.2.3.1"],"introduced":["0"],"last_affected":[],"package":"php7-imagick","purl":"pkg:rpm/suse/php7-imagick\u0026distro=SUSE%20Package%20Hub%2015%20SP1","source":"openSUSE-SU-2020:0014-1"},{"ecosystem":"openSUSE:Leap 15.1","fixed":["3.4.4-bp151.2.3.1"],"introduced":["0"],"last_affected":[],"package":"php7-imagick","purl":"pkg:rpm/opensuse/php7-imagick\u0026distro=openSUSE%20Leap%2015.1","source":"openSUSE-SU-2020:0014-1"}],"prev":{"headline":"Heap over-read in PHP EXIF extension","id":"CVE-2019-11036"},"products":["PHP Imagick extension"],"published":"2019-05-03","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-16","vendors":["PHP Group"]},"summary":"An out-of-bounds memory write in the PHP Imagick extension allows attackers to execute arbitrary code via crafted input.","url":"https://insights.sbomify.com/CVE-2019-11037/"}