{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-31344 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2025-31344 is a high-severity memory corruption vulnerability in openEuler giflib, published on 14 Apr 2025. 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-2025-31344 and fix it if it is affected.\n\nWhat it is: CVE-2025-31344 is a high-severity memory corruption vulnerability in openEuler giflib, published on 14 Apr 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-31344 exists.\n\nAffected product: openEuler giflib. 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-2025-31344/ (Markdown: https://insights.sbomify.com/CVE-2025-31344/index.md)","id":"CVE-2025-31344","markdown":"https://insights.sbomify.com/CVE-2025-31344/index.md","name":"CVE-2025-31344","record":{"aliases":["ALPINE-CVE-2025-31344","AZL-60246","AZL-60261","BELL-CVE-2025-31344","CLEANSTART-2026-HB55989","DEBIAN-CVE-2025-31344","ECHO-318e-3f88-b938","GHSA-4764-r75x-h867","MGASA-2025-0135","OESA-2025-1380","OESA-2025-1381","OESA-2025-1382","OESA-2025-1383","OESA-2025-1388","OESA-2025-1389","ROOT-OS-DEBIAN-12-CVE-2025-31344","SUSE-SU-2025:1163-1","SUSE-SU-2025:1164-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"GIF image library","requires_auth":"none","summary":"A heap-based buffer overflow in giflib allows attackers to execute arbitrary code or cause denial of service via crafted GIF files.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"openEuler","cpe":[],"cvss":{"score":7.3,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H","version":"3.1"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"description":"Heap-based Buffer Overflow vulnerability in openEuler giflib on Linux. This vulnerability is associated with program files gif2rgb.C.\n\nThis issue affects giflib: through 5.2.2.","ecosystems":["SUSE:Enterprise Storage 7.1","SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS","SUSE:Linux Enterprise Module for Basesystem 15 SP6","SUSE:Linux Enterprise Server 12 SP5-LTSS","SUSE:Linux Enterprise Server 15 SP3-LTSS","SUSE:Linux Enterprise Server 15 SP4-LTSS","SUSE:Linux Enterprise Server 15 SP5-LTSS","SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15 SP3","SUSE:Linux Enterprise Server for SAP Applications 15 SP4","SUSE:Linux Enterprise Server for SAP Applications 15 SP5","SUSE:Manager Proxy 4.3","SUSE:Manager Server 4.3","openSUSE:Leap 15.6"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"The giflib open-source component has a buffer overflow vulnerability","id":"CVE-2025-31344","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2025"},"n_packages":18,"n_references":2,"next":{"headline":"SQL injection in TeleControl Server Basic","id":"CVE-2025-31349"},"packages":[{"ecosystem":"SUSE:Enterprise Storage 7.1","fixed":["5.2.2-150000.4.16.1"],"introduced":["0"],"last_affected":[],"package":"giflib","purl":"pkg:rpm/suse/giflib\u0026distro=SUSE%20Enterprise%20Storage%207.1","source":"SUSE-SU-2025:1164-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","fixed":["5.2.2-150000.4.16.1"],"introduced":["0"],"last_affected":[],"package":"giflib","purl":"pkg:rpm/suse/giflib\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSS","source":"SUSE-SU-2025:1164-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","fixed":["5.2.2-150000.4.16.1"],"introduced":["0"],"last_affected":[],"package":"giflib","purl":"pkg:rpm/suse/giflib\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOS","source":"SUSE-SU-2025:1164-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","fixed":["5.2.2-150000.4.16.1"],"introduced":["0"],"last_affected":[],"package":"giflib","purl":"pkg:rpm/suse/giflib\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSS","source":"SUSE-SU-2025:1164-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS","fixed":["5.2.2-150000.4.16.1"],"introduced":["0"],"last_affected":[],"package":"giflib","purl":"pkg:rpm/suse/giflib\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-ESPOS","source":"SUSE-SU-2025:1164-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS","fixed":["5.2.2-150000.4.16.1"],"introduced":["0"],"last_affected":[],"package":"giflib","purl":"pkg:rpm/suse/giflib\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-LTSS","source":"SUSE-SU-2025:1164-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP6","fixed":["5.2.2-150000.4.16.1"],"introduced":["0"],"last_affected":[],"package":"giflib","purl":"pkg:rpm/suse/giflib\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP6","source":"SUSE-SU-2025:1164-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5-LTSS","fixed":["5.0.5-13.9.1"],"introduced":["0"],"last_affected":[],"package":"giflib","purl":"pkg:rpm/suse/giflib\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5-LTSS","source":"SUSE-SU-2025:1163-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP3-LTSS","fixed":["5.2.2-150000.4.16.1"],"introduced":["0"],"last_affected":[],"package":"giflib","purl":"pkg:rpm/suse/giflib\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP3-LTSS","source":"SUSE-SU-2025:1164-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP4-LTSS","fixed":["5.2.2-150000.4.16.1"],"introduced":["0"],"last_affected":[],"package":"giflib","purl":"pkg:rpm/suse/giflib\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP4-LTSS","source":"SUSE-SU-2025:1164-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP5-LTSS","fixed":["5.2.2-150000.4.16.1"],"introduced":["0"],"last_affected":[],"package":"giflib","purl":"pkg:rpm/suse/giflib\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP5-LTSS","source":"SUSE-SU-2025:1164-1"},{"ecosystem":"SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","fixed":["5.0.5-13.9.1"],"introduced":["0"],"last_affected":[],"package":"giflib","purl":"pkg:rpm/suse/giflib\u0026distro=SUSE%20Linux%20Enterprise%20Server%20LTSS%20Extended%20Security%2012%20SP5","source":"SUSE-SU-2025:1163-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP3","fixed":["5.2.2-150000.4.16.1"],"introduced":["0"],"last_affected":[],"package":"giflib","purl":"pkg:rpm/suse/giflib\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP3","source":"SUSE-SU-2025:1164-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP4","fixed":["5.2.2-150000.4.16.1"],"introduced":["0"],"last_affected":[],"package":"giflib","purl":"pkg:rpm/suse/giflib\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP4","source":"SUSE-SU-2025:1164-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP5","fixed":["5.2.2-150000.4.16.1"],"introduced":["0"],"last_affected":[],"package":"giflib","purl":"pkg:rpm/suse/giflib\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP5","source":"SUSE-SU-2025:1164-1"},{"ecosystem":"SUSE:Manager Proxy 4.3","fixed":["5.2.2-150000.4.16.1"],"introduced":["0"],"last_affected":[],"package":"giflib","purl":"pkg:rpm/suse/giflib\u0026distro=SUSE%20Manager%20Proxy%204.3","source":"SUSE-SU-2025:1164-1"},{"ecosystem":"SUSE:Manager Server 4.3","fixed":["5.2.2-150000.4.16.1"],"introduced":["0"],"last_affected":[],"package":"giflib","purl":"pkg:rpm/suse/giflib\u0026distro=SUSE%20Manager%20Server%204.3","source":"SUSE-SU-2025:1164-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["5.2.2-150000.4.16.1"],"introduced":["0"],"last_affected":[],"package":"giflib","purl":"pkg:rpm/opensuse/giflib\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2025:1164-1"}],"prev":{"headline":"SQL injection in TeleControl Server Basic","id":"CVE-2025-31343"},"products":["giflib"],"published":"2025-04-14","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":"SUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-14","vendors":["openEuler"]},"summary":"A heap-based buffer overflow in giflib allows attackers to execute arbitrary code or cause denial of service via crafted GIF files.","url":"https://insights.sbomify.com/CVE-2025-31344/"}