{"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-27929 in the wild and no public exploit code.","fix":"Upgrade SixLabors.ImageSharp to a fixed version for your release line: 2.1.7 or 3.1.3.","what":"CVE-2024-27929 is a high-severity use after free vulnerability in SixLabors ImageSharp, published on 5 Mar 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-27929 and fix it if it is affected.\n\nWhat it is: CVE-2024-27929 is a high-severity use after free vulnerability in SixLabors ImageSharp, published on 5 Mar 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2024-27929 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.7\n- SixLabors.ImageSharp (NuGet): affected all versions; fixed in 2.1.7\n- SixLabors.ImageSharp (NuGet): affected from 3.0.0; fixed in 3.1.3\n- SixLabors.ImageSharp (NuGet): affected from 3.0.0; fixed in 3.1.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/CVE-2024-27929/ (Markdown: https://insights.sbomify.com/CVE-2024-27929/index.md)","id":"CVE-2024-27929","markdown":"https://insights.sbomify.com/CVE-2024-27929/index.md","name":"CVE-2024-27929","record":{"aliases":["ECHO-4d13-a9eb-08c2","GHSA-65x7-c272-7g7r"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"ImageSharp graphics library","requires_auth":"none","summary":"A heap-use-after-free flaw in SixLabors.ImageSharp allows attackers to disclose information via specially crafted PNG images.","user_interaction":"required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"imagesharp","vendor":"sixlabors"}],"cvss":{"score":7.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"description":"ImageSharp is a managed, cross-platform, 2D graphics library. A heap-use-after-free flaw was found in ImageSharp's InitializeImage() function of PngDecoderCore.cs file. This vulnerability is triggered when an attacker passes a specially crafted PNG image file to ImageSharp for conversion, potentially leading to information disclosure. This issue has been patched in versions 3.1.3 and 2.1.7.","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":"Use After Free in SixLabors.ImageSharp","id":"CVE-2024-27929","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"NuGet","product":null,"products":[],"type":"use_after_free","year":"2024"},"n_packages":4,"n_references":1,"next":{"headline":"Sensitive fields access through dropdowns in GLPI","id":"CVE-2024-27930"},"packages":[{"ecosystem":"NuGet","fixed":["2.1.7"],"introduced":["0"],"last_affected":[],"package":"SixLabors.ImageSharp","purl":null,"source":"GHSA-65x7-c272-7g7r"},{"ecosystem":"NuGet","fixed":["2.1.7"],"introduced":["0"],"last_affected":[],"package":"SixLabors.ImageSharp","purl":"pkg:nuget/SixLabors.ImageSharp","source":"GHSA-65x7-c272-7g7r"},{"ecosystem":"NuGet","fixed":["3.1.3"],"introduced":["3.0.0"],"last_affected":[],"package":"SixLabors.ImageSharp","purl":null,"source":"GHSA-65x7-c272-7g7r"},{"ecosystem":"NuGet","fixed":["3.1.3"],"introduced":["3.0.0"],"last_affected":[],"package":"SixLabors.ImageSharp","purl":"pkg:nuget/SixLabors.ImageSharp","source":"GHSA-65x7-c272-7g7r"}],"prev":{"headline":"Vantage6: 2FA can be circumvented with hacked email access","id":"CVE-2024-27928"},"products":["ImageSharp"],"published":"2024-03-05","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":"A heap-use-after-free flaw in SixLabors.ImageSharp allows attackers to disclose information via specially crafted PNG images.","url":"https://insights.sbomify.com/CVE-2024-27929/"}