{"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-32035 in the wild and no public exploit code.","fix":"Upgrade SixLabors.ImageSharp to a fixed version for your release line: 2.1.8 or 3.1.4.","what":"CVE-2024-32035 is a medium-severity denial of service vulnerability in SixLabors ImageSharp, published on 15 Apr 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-32035 and fix it if it is affected.\n\nWhat it is: CVE-2024-32035 is a medium-severity denial of service vulnerability in SixLabors ImageSharp, published on 15 Apr 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-32035 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.8\n- SixLabors.ImageSharp (NuGet): affected all versions; fixed in 2.1.8\n- SixLabors.ImageSharp (NuGet): affected from 3.0.0; fixed in 3.1.4\n- SixLabors.ImageSharp (NuGet): affected from 3.0.0; fixed in 3.1.4\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-32035/ (Markdown: https://insights.sbomify.com/CVE-2024-32035/index.md)","id":"CVE-2024-32035","markdown":"https://insights.sbomify.com/CVE-2024-32035/index.md","name":"CVE-2024-32035","record":{"aliases":["ECHO-208b-d6b3-dfb9","GHSA-g85r-6x2q-45w7"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"ImageSharp library","requires_auth":"none","summary":"Attackers can cause denial of service by exhausting memory via specially crafted image files processed by the ImageSharp library.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"imagesharp","vendor":"sixlabors"}],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"},{"id":"CWE-789","name":"Memory Allocation with Excessive Size Value"}],"description":"ImageSharp is a 2D graphics API. A vulnerability discovered in the ImageSharp library, where the processing of specially crafted files can lead to excessive memory usage in image decoders. The vulnerability is triggered when ImageSharp attempts to process image files that are designed to exploit this flaw.  This flaw can be exploited to cause a denial of service (DoS) by depleting process memory, thereby affecting applications and services that rely on ImageSharp for image processing tasks. Users and administrators are advised to update to the latest version of ImageSharp that addresses this vulnerability to mitigate the risk of exploitation. The problem has been patched in v3.1.4 and v2.1.8.","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":"Memory Allocation with Excessive Size Value in SixLabors.ImageSharp","id":"CVE-2024-32035","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"NuGet","product":null,"products":[],"type":"denial_of_service","year":"2024"},"n_packages":4,"n_references":5,"next":{"headline":"SixLabors.ImageSharp vulnerable to data leakage","id":"CVE-2024-32036"},"packages":[{"ecosystem":"NuGet","fixed":["2.1.8"],"introduced":["0"],"last_affected":[],"package":"SixLabors.ImageSharp","purl":null,"source":"GHSA-g85r-6x2q-45w7"},{"ecosystem":"NuGet","fixed":["2.1.8"],"introduced":["0"],"last_affected":[],"package":"SixLabors.ImageSharp","purl":"pkg:nuget/SixLabors.ImageSharp","source":"GHSA-g85r-6x2q-45w7"},{"ecosystem":"NuGet","fixed":["3.1.4"],"introduced":["3.0.0"],"last_affected":[],"package":"SixLabors.ImageSharp","purl":null,"source":"GHSA-g85r-6x2q-45w7"},{"ecosystem":"NuGet","fixed":["3.1.4"],"introduced":["3.0.0"],"last_affected":[],"package":"SixLabors.ImageSharp","purl":"pkg:nuget/SixLabors.ImageSharp","source":"GHSA-g85r-6x2q-45w7"}],"prev":{"headline":"Cross-site scripting (XSS) in the decidim admin activity log","id":"CVE-2024-32034"},"products":["ImageSharp"],"published":"2024-04-15","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"},{"cvss_score":7.5,"headline":"Out-of-bounds Write in SixLabors ImageSharp","id":"CVE-2024-41131","kev_date_added":null,"published":"2024-07-22"}],"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-02","vendors":["SixLabors"]},"summary":"Attackers can cause denial of service by exhausting memory via specially crafted image files processed by the ImageSharp library.","url":"https://insights.sbomify.com/CVE-2024-32035/"}