{"answers":{"affected":"4 open source packages ship an affected version, including SixLabors.ImageSharp. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-41131 in the wild and no public exploit code.","fix":"Upgrade SixLabors.ImageSharp to a fixed version for your release line: 2.1.9 or 3.1.5.","what":"CVE-2024-41131 is a high-severity memory corruption vulnerability in SixLabors ImageSharp, published on 22 Jul 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-41131 and fix it if it is affected.\n\nWhat it is: CVE-2024-41131 is a high-severity memory corruption vulnerability in SixLabors ImageSharp, published on 22 Jul 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-41131 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- SixLabors.ImageSharp (NuGet): affected all versions; fixed in 2.1.9\n- SixLabors.ImageSharp (NuGet): affected all versions; fixed in 2.1.9\n- SixLabors.ImageSharp (NuGet): affected from 3.0.0; fixed in 3.1.5\n- SixLabors.ImageSharp (NuGet): affected from 3.0.0; fixed in 3.1.5\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-41131/ (Markdown: https://insights.sbomify.com/CVE-2024-41131/index.md)","id":"CVE-2024-41131","markdown":"https://insights.sbomify.com/CVE-2024-41131/index.md","name":"CVE-2024-41131","record":{"aliases":["ECHO-a682-88b3-1f8b","GHSA-63p8-c4ww-9cg7"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"ImageSharp graphics library","requires_auth":"none","summary":"Attackers can cause a denial of service via out-of-bounds write in the GIF decoder of the ImageSharp library.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"imagesharp","vendor":"sixlabors"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"description":"ImageSharp is a 2D graphics API. An Out-of-bounds Write vulnerability has been found in the ImageSharp gif decoder, allowing attackers to cause a crash using a specially crafted gif. This can potentially lead to denial of service. All users are advised to upgrade to v3.1.5 or v2.1.9.","ecosystems":["NuGet"],"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 Write in SixLabors ImageSharp","id":"CVE-2024-41131","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"NuGet","product":null,"products":[],"type":"memory_corruption","year":"2024"},"n_packages":4,"n_references":5,"next":{"headline":"SixLabors ImageSharp Allows Excessive Memory Allocation in Gif Decoder","id":"CVE-2024-41132"},"packages":[{"ecosystem":"NuGet","fixed":["2.1.9"],"introduced":["0"],"last_affected":[],"package":"SixLabors.ImageSharp","purl":null,"source":"GHSA-63p8-c4ww-9cg7"},{"ecosystem":"NuGet","fixed":["2.1.9"],"introduced":["0"],"last_affected":[],"package":"SixLabors.ImageSharp","purl":"pkg:nuget/SixLabors.ImageSharp","source":"GHSA-63p8-c4ww-9cg7"},{"ecosystem":"NuGet","fixed":["3.1.5"],"introduced":["3.0.0"],"last_affected":[],"package":"SixLabors.ImageSharp","purl":null,"source":"GHSA-63p8-c4ww-9cg7"},{"ecosystem":"NuGet","fixed":["3.1.5"],"introduced":["3.0.0"],"last_affected":[],"package":"SixLabors.ImageSharp","purl":"pkg:nuget/SixLabors.ImageSharp","source":"GHSA-63p8-c4ww-9cg7"}],"prev":{"headline":"llama.cpp null pointer dereference in gguf_init_from_file","id":"CVE-2024-41130"},"products":["ImageSharp"],"published":"2024-07-22","related":[{"cvss_score":7.5,"headline":"ImageSharp: TIFF CCITT T4 encoder can write past its compressed output buffer","id":"CVE-2026-106110","kev_date_added":null,"published":"2026-10-06"},{"cvss_score":7.5,"headline":"ImageSharp: ICC LUT16 output channel count can write beyond Vector4","id":"CVE-2026-106112","kev_date_added":null,"published":"2026-10-06"},{"cvss_score":7.5,"headline":"ImageSharp: HistogramEqualization uses an unvalidated luminance as an unchecked histogram index","id":"CVE-2026-106113","kev_date_added":null,"published":"2026-10-06"},{"cvss_score":7.5,"headline":"ImageSharp: TIFF CCITT T6 encoder writes beyond an undersized output buffer","id":"CVE-2026-106115","kev_date_added":null,"published":"2026-10-06"},{"cvss_score":7.5,"headline":"ImageSharp: CCITT fax decompression (T4/Modified Huffman): unbounded WriteBits overflows strip buffer — heap OOB write in SixLabors.ImageSharp","id":"CVE-2026-106117","kev_date_added":null,"published":"2026-10-06"},{"cvss_score":7.5,"headline":"Out-of-bounds Write in SixLabors ImageSharp","id":"CVE-2025-27598","kev_date_added":null,"published":"2025-03-06"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"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":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-02","vendors":["SixLabors"]},"summary":"Attackers can cause a denial of service via out-of-bounds write in the GIF decoder of the ImageSharp library.","url":"https://insights.sbomify.com/CVE-2024-41131/"}