{"answers":{"affected":"1 open source package ship an affected version, including ghc.","exploited":"There is no known exploitation of HSEC-2024-0007 in the wild and no public exploit code.","fix":"Upgrade ghc to a fixed version for your release line: 9.2.5 or 9.4.3.","what":"HSEC-2024-0007 is a vulnerability in ghc, published on 14 Nov 2025."},"fix_prompt":"Check this codebase for HSEC-2024-0007 and fix it if it is affected.\n\nWhat it is: HSEC-2024-0007 is a vulnerability in ghc, published on 14 Nov 2025. \nExploitation: There is no known exploitation of HSEC-2024-0007 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- ghc (GHC): affected from 9.2.4; fixed in 9.2.5, 9.4.3\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/HSEC-2024-0007/ (Markdown: https://insights.sbomify.com/HSEC-2024-0007/index.md)","id":"HSEC-2024-0007","markdown":"https://insights.sbomify.com/HSEC-2024-0007/index.md","name":"HSEC-2024-0007","record":{"aliases":[],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["denial_of_service","code_execution"],"network_reachable":"unknown","non_default_config":false,"product_category":"GHC compiler","requires_auth":"none","summary":"A sign extension error in the AArch64 backend of the GHC compiler can cause incorrect results, potentially leading to buffer overflows and code execution.","user_interaction":"not_required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"# Sign extension error in the AArch64 NCG\n\nArithmetic operations may result in incorrect runtime results on the native aarch64 backend.\nFor the most part, this bug only causes availability and data integrity issues.\nHowever, in some circumstances, it may result in other, more complicated security related flaws, such as buffer overflow conditions.","ecosystems":["GHC"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"Sign extension error in the AArch64 NCG","id":"HSEC-2024-0007","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":null,"product":null,"products":[],"type":"integer_overflow","year":"2025"},"n_packages":1,"n_references":null,"packages":[{"ecosystem":"GHC","fixed":["9.2.5","9.4.3"],"introduced":["9.2.4","9.4.2"],"last_affected":[],"package":"ghc","purl":null,"source":"HSEC-2024-0007"}],"products":null,"published":"2025-11-14","related":[],"sources":[{"class":"open","licence":"CC0 1.0","name":"Haskell Security Response Team","prefix":"HSEC"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"A sign extension error in the AArch64 backend of the GHC compiler can cause incorrect results, potentially leading to buffer overflows and code execution.","url":"https://insights.sbomify.com/HSEC-2024-0007/"}