{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-36474 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2024-36474 is a high-severity vulnerability in GNOME Project G Structured File Library (libgsf), published on 3 Oct 2024. 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-2024-36474 and fix it if it is affected.\n\nWhat it is: CVE-2024-36474 is a high-severity vulnerability in GNOME Project G Structured File Library (libgsf), published on 3 Oct 2024. 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-2024-36474 exists.\n\nAffected product: GNOME Project G Structured File Library (libgsf). 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-2024-36474/ (Markdown: https://insights.sbomify.com/CVE-2024-36474/index.md)","id":"CVE-2024-36474","markdown":"https://insights.sbomify.com/CVE-2024-36474/index.md","name":"CVE-2024-36474","record":{"aliases":["AZL-50064","AZL-50097","DEBIAN-CVE-2024-36474","GHSA-7m28-hv5x-hp65","UBUNTU-CVE-2024-36474"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"GNOME file library","requires_auth":"none","summary":"An integer overflow in libgsf allows arbitrary code execution via a crafted Compound Document Binary File.","user_interaction":"not_required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"talos","cpe":[{"product":"libgsf","vendor":"gnome"}],"cvss":{"score":8.4,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"description":"An integer overflow vulnerability exists in the Compound Document Binary File format parser of the GNOME Project G Structured File Library (libgsf) version v1.14.52. A specially crafted file can result in an integer overflow when processing the directory from the file that allows for an out-of-bounds index to be used when reading and writing to an array. This can lead to arbitrary code execution. An attacker can provide a malicious file to trigger this vulnerability.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Integer overflow in G Structured File Library (libgsf)","id":"CVE-2024-36474","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"integer_overflow","year":"2024"},"n_packages":0,"n_references":2,"next":{"headline":"Command injection in FutureNet NXR-120/C","id":"CVE-2024-36475"},"packages":[],"prev":{"headline":"Path traversal in Trend Micro VPN Proxy One Pro","id":"CVE-2024-36473"},"products":["G Structured File Library (libgsf)"],"published":"2024-10-03","related":[{"cvss_score":8.4,"headline":"Integer overflow in G Structured File Library (libgsf)","id":"CVE-2024-42415","kev_date_added":null,"published":"2024-10-03"},{"cvss_score":5.5,"headline":"Null dereference in n/a","id":"CVE-2016-9888","kev_date_added":null,"published":"2016-12-08"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-11-03","vendors":["GNOME Project"]},"summary":"An integer overflow in libgsf allows arbitrary code execution via a crafted Compound Document Binary File.","url":"https://insights.sbomify.com/CVE-2024-36474/"}