{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-2356 exists.","fix":"Apply the vendor's patch.","what":"CVE-2007-2356 is a medium-severity memory corruption vulnerability in Gimp Gimp, published on 30 Apr 2007. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2007-2356 and fix it if it is affected.\n\nWhat it is: CVE-2007-2356 is a medium-severity memory corruption vulnerability in Gimp Gimp, published on 30 Apr 2007. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-2356 exists.\n\nAffected product: Gimp Gimp. 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-2007-2356/ (Markdown: https://insights.sbomify.com/CVE-2007-2356/index.md)","id":"CVE-2007-2356","markdown":"https://insights.sbomify.com/CVE-2007-2356/index.md","name":"CVE-2007-2356","record":{"aliases":["DEBIAN-CVE-2007-2356","DSA-1301-1","GHSA-8fv7-cr78-jp82","RHSA-2007:0343"],"analysis":{"component_type":"desktop_application","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"GIMP image editor","requires_auth":"none","summary":"A stack-based buffer overflow in GIMP's SUNRAS plugin allows remote attackers to execute arbitrary code via a crafted RAS file.","user_interaction":"required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"gimp","vendor":"gimp"}],"cvss":{"score":6.8,"severity":"medium","source":"nvd","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","version":"2.0"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"description":"Stack-based buffer overflow in the set_color_table function in sunras.c in the SUNRAS plugin in Gimp 2.2.14 allows user-assisted remote attackers to execute arbitrary code via a crafted RAS file.","ecosystems":["Red Hat:enterprise_linux:2.1::as","Red Hat:enterprise_linux:2.1::aw","Red Hat:enterprise_linux:2.1::es","Red Hat:enterprise_linux:2.1::ws","Red Hat:enterprise_linux:3::as","Red Hat:enterprise_linux:3::desktop","Red Hat:enterprise_linux:3::es","Red Hat:enterprise_linux:3::ws","Red Hat:enterprise_linux:4::as","Red Hat:enterprise_linux:4::desktop","Red Hat:enterprise_linux:4::es","Red Hat:enterprise_linux:4::ws","Red Hat:enterprise_linux:5::client","Red Hat:enterprise_linux:5::client_workstation","Red Hat:enterprise_linux:5::server"],"exploits":{"exploitdb":2,"first_seen":"2007-04-26","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2007-04-26","kind":"exploitdb","ref":"3801","stars":null,"title":"GIMP 2.2.14 - '.ras' SUNRAS Plugin Buffer Overflow"},{"date":"2007-05-09","kind":"exploitdb","ref":"3888","stars":null,"title":"GIMP 2.2.14 (Windows x86) - '.ras' Download/Execute Buffer Overflow"}],"tier":"weaponised"},"has_fix":true,"headline":"Memory corruption in n/a","id":"CVE-2007-2356","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"gimp:gimp","products":["gimp:gimp"],"type":"memory_corruption","year":"2007"},"n_packages":46,"n_references":27,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2007-2357"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:2.1::as","fixed":["1:1.2.1-7.1.el2_1"],"introduced":["0"],"last_affected":[],"package":"gimp","purl":"pkg:rpm/redhat/gimp","source":"RHSA-2007:0343"},{"ecosystem":"Red Hat:enterprise_linux:2.1::as","fixed":["1:1.2.1-7.1.el2_1"],"introduced":["0"],"last_affected":[],"package":"gimp-devel","purl":"pkg:rpm/redhat/gimp-devel","source":"RHSA-2007:0343"},{"ecosystem":"Red Hat:enterprise_linux:2.1::as","fixed":["1:1.2.1-7.1.el2_1"],"introduced":["0"],"last_affected":[],"package":"gimp-perl","purl":"pkg:rpm/redhat/gimp-perl","source":"RHSA-2007:0343"},{"ecosystem":"Red Hat:enterprise_linux:2.1::aw","fixed":["1:1.2.1-7.1.el2_1"],"introduced":["0"],"last_affected":[],"package":"gimp","purl":"pkg:rpm/redhat/gimp","source":"RHSA-2007:0343"},{"ecosystem":"Red Hat:enterprise_linux:2.1::aw","fixed":["1:1.2.1-7.1.el2_1"],"introduced":["0"],"last_affected":[],"package":"gimp-devel","purl":"pkg:rpm/redhat/gimp-devel","source":"RHSA-2007:0343"},{"ecosystem":"Red Hat:enterprise_linux:2.1::aw","fixed":["1:1.2.1-7.1.el2_1"],"introduced":["0"],"last_affected":[],"package":"gimp-perl","purl":"pkg:rpm/redhat/gimp-perl","source":"RHSA-2007:0343"},{"ecosystem":"Red Hat:enterprise_linux:2.1::es","fixed":["1:1.2.1-7.1.el2_1"],"introduced":["0"],"last_affected":[],"package":"gimp","purl":"pkg:rpm/redhat/gimp","source":"RHSA-2007:0343"},{"ecosystem":"Red Hat:enterprise_linux:2.1::es","fixed":["1:1.2.1-7.1.el2_1"],"introduced":["0"],"last_affected":[],"package":"gimp-devel","purl":"pkg:rpm/redhat/gimp-devel","source":"RHSA-2007:0343"},{"ecosystem":"Red Hat:enterprise_linux:2.1::es","fixed":["1:1.2.1-7.1.el2_1"],"introduced":["0"],"last_affected":[],"package":"gimp-perl","purl":"pkg:rpm/redhat/gimp-perl","source":"RHSA-2007:0343"},{"ecosystem":"Red Hat:enterprise_linux:2.1::ws","fixed":["1:1.2.1-7.1.el2_1"],"introduced":["0"],"last_affected":[],"package":"gimp","purl":"pkg:rpm/redhat/gimp","source":"RHSA-2007:0343"},{"ecosystem":"Red Hat:enterprise_linux:2.1::ws","fixed":["1:1.2.1-7.1.el2_1"],"introduced":["0"],"last_affected":[],"package":"gimp-devel","purl":"pkg:rpm/redhat/gimp-devel","source":"RHSA-2007:0343"},{"ecosystem":"Red Hat:enterprise_linux:2.1::ws","fixed":["1:1.2.1-7.1.el2_1"],"introduced":["0"],"last_affected":[],"package":"gimp-perl","purl":"pkg:rpm/redhat/gimp-perl","source":"RHSA-2007:0343"},{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["1:1.2.3-20.3.el3"],"introduced":["0"],"last_affected":[],"package":"gimp","purl":"pkg:rpm/redhat/gimp","source":"RHSA-2007:0343"},{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["1:1.2.3-20.3.el3"],"introduced":["0"],"last_affected":[],"package":"gimp-devel","purl":"pkg:rpm/redhat/gimp-devel","source":"RHSA-2007:0343"},{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["1:1.2.3-20.3.el3"],"introduced":["0"],"last_affected":[],"package":"gimp-perl","purl":"pkg:rpm/redhat/gimp-perl","source":"RHSA-2007:0343"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["1:1.2.3-20.3.el3"],"introduced":["0"],"last_affected":[],"package":"gimp","purl":"pkg:rpm/redhat/gimp","source":"RHSA-2007:0343"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["1:1.2.3-20.3.el3"],"introduced":["0"],"last_affected":[],"package":"gimp-devel","purl":"pkg:rpm/redhat/gimp-devel","source":"RHSA-2007:0343"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["1:1.2.3-20.3.el3"],"introduced":["0"],"last_affected":[],"package":"gimp-perl","purl":"pkg:rpm/redhat/gimp-perl","source":"RHSA-2007:0343"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["1:1.2.3-20.3.el3"],"introduced":["0"],"last_affected":[],"package":"gimp","purl":"pkg:rpm/redhat/gimp","source":"RHSA-2007:0343"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["1:1.2.3-20.3.el3"],"introduced":["0"],"last_affected":[],"package":"gimp-devel","purl":"pkg:rpm/redhat/gimp-devel","source":"RHSA-2007:0343"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["1:1.2.3-20.3.el3"],"introduced":["0"],"last_affected":[],"package":"gimp-perl","purl":"pkg:rpm/redhat/gimp-perl","source":"RHSA-2007:0343"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["1:1.2.3-20.3.el3"],"introduced":["0"],"last_affected":[],"package":"gimp","purl":"pkg:rpm/redhat/gimp","source":"RHSA-2007:0343"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["1:1.2.3-20.3.el3"],"introduced":["0"],"last_affected":[],"package":"gimp-devel","purl":"pkg:rpm/redhat/gimp-devel","source":"RHSA-2007:0343"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["1:1.2.3-20.3.el3"],"introduced":["0"],"last_affected":[],"package":"gimp-perl","purl":"pkg:rpm/redhat/gimp-perl","source":"RHSA-2007:0343"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["1:2.0.5-6.2.el4"],"introduced":["0"],"last_affected":[],"package":"gimp","purl":"pkg:rpm/redhat/gimp","source":"RHSA-2007:0343"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["1:2.0.5-6.2.el4"],"introduced":["0"],"last_affected":[],"package":"gimp-debuginfo","purl":"pkg:rpm/redhat/gimp-debuginfo","source":"RHSA-2007:0343"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["1:2.0.5-6.2.el4"],"introduced":["0"],"last_affected":[],"package":"gimp-devel","purl":"pkg:rpm/redhat/gimp-devel","source":"RHSA-2007:0343"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["1:2.0.5-6.2.el4"],"introduced":["0"],"last_affected":[],"package":"gimp","purl":"pkg:rpm/redhat/gimp","source":"RHSA-2007:0343"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["1:2.0.5-6.2.el4"],"introduced":["0"],"last_affected":[],"package":"gimp-debuginfo","purl":"pkg:rpm/redhat/gimp-debuginfo","source":"RHSA-2007:0343"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["1:2.0.5-6.2.el4"],"introduced":["0"],"last_affected":[],"package":"gimp-devel","purl":"pkg:rpm/redhat/gimp-devel","source":"RHSA-2007:0343"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["1:2.0.5-6.2.el4"],"introduced":["0"],"last_affected":[],"package":"gimp","purl":"pkg:rpm/redhat/gimp","source":"RHSA-2007:0343"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["1:2.0.5-6.2.el4"],"introduced":["0"],"last_affected":[],"package":"gimp-debuginfo","purl":"pkg:rpm/redhat/gimp-debuginfo","source":"RHSA-2007:0343"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["1:2.0.5-6.2.el4"],"introduced":["0"],"last_affected":[],"package":"gimp-devel","purl":"pkg:rpm/redhat/gimp-devel","source":"RHSA-2007:0343"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["1:2.0.5-6.2.el4"],"introduced":["0"],"last_affected":[],"package":"gimp","purl":"pkg:rpm/redhat/gimp","source":"RHSA-2007:0343"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["1:2.0.5-6.2.el4"],"introduced":["0"],"last_affected":[],"package":"gimp-debuginfo","purl":"pkg:rpm/redhat/gimp-debuginfo","source":"RHSA-2007:0343"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["1:2.0.5-6.2.el4"],"introduced":["0"],"last_affected":[],"package":"gimp-devel","purl":"pkg:rpm/redhat/gimp-devel","source":"RHSA-2007:0343"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["2:2.2.13-2.el5"],"introduced":["0"],"last_affected":[],"package":"gimp","purl":"pkg:rpm/redhat/gimp","source":"RHSA-2007:0343"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["2:2.2.13-2.el5"],"introduced":["0"],"last_affected":[],"package":"gimp-debuginfo","purl":"pkg:rpm/redhat/gimp-debuginfo","source":"RHSA-2007:0343"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["2:2.2.13-2.el5"],"introduced":["0"],"last_affected":[],"package":"gimp-libs","purl":"pkg:rpm/redhat/gimp-libs","source":"RHSA-2007:0343"},{"ecosystem":"Red Hat:enterprise_linux:5::client_workstation","fixed":["2:2.2.13-2.el5"],"introduced":["0"],"last_affected":[],"package":"gimp","purl":"pkg:rpm/redhat/gimp","source":"RHSA-2007:0343"}],"prev":{"headline":"Command injection in n/a","id":"CVE-2007-2355"},"products":["n/a"],"published":"2007-04-30","related":[{"cvss_score":9.3,"headline":"Memory corruption in n/a","id":"CVE-2010-4541","kev_date_added":null,"published":"2011-01-07"},{"cvss_score":9.3,"headline":"Integer overflow in n/a","id":"CVE-2009-3909","kev_date_added":null,"published":"2009-11-19"},{"cvss_score":9.3,"headline":"Integer overflow in n/a","id":"CVE-2009-1570","kev_date_added":null,"published":"2009-11-13"},{"cvss_score":9.3,"headline":"Integer overflow in n/a","id":"CVE-2009-0723","kev_date_added":null,"published":"2009-03-23"},{"cvss_score":9.3,"headline":"Memory corruption in n/a","id":"CVE-2009-0733","kev_date_added":null,"published":"2009-03-23"},{"cvss_score":9.1,"headline":"Race condition in n/a","id":"CVE-2018-12713","kev_date_added":null,"published":"2018-06-24"},{"cvss_score":8.4,"headline":"Gimp: gimp: arbitrary code execution in psd plugin due to unsigned underflow","id":"CVE-2026-59090","kev_date_added":null,"published":"2026-08-10"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"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)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-07","vendors":["n/a"]},"summary":"A stack-based buffer overflow in GIMP's SUNRAS plugin allows remote attackers to execute arbitrary code via a crafted RAS file.","url":"https://insights.sbomify.com/CVE-2007-2356/"}