SixLabors ImageSharp Allows Excessive Memory Allocation in Gif Decoder
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 the Gif decoder. The vulnerability is triggered when ImageSharp attempts to process image files that are designed to exploit this flaw. All users are advised to upgrade to v3.1.5 or v2.1.9.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-41132
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 05:44 UTC · Revision 1
Source evidence
SixLabors ImageSharp Allows Excessive Memory Allocation in Gif Decoder
core-osv · Original sourcePublished 22 Jul 2024, 14:28 UTC
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 the Gif decoder. The vulnerability is triggered when ImageSharp attempts to process image files that are designed to exploit this flaw. All users are advised to upgrade to v3.1.5 or v2.1.9.
osv:CVE-2024-41132
Complete source record
{
"id": "50fe285221a1e44595be630c90b3d0faa2057fe0599e7a6e3b1d7dce00ebc227",
"url": "https://osv.dev/vulnerability/CVE-2024-41132",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "SixLabors ImageSharp Allows Excessive Memory Allocation in Gif Decoder",
"summary": "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 the Gif decoder. The vulnerability is triggered when ImageSharp attempts to process image files that are designed to exploit this flaw. All users are advised to upgrade to v3.1.5 or v2.1.9.",
"evidence": "osv:CVE-2024-41132",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2024-41132",
"aliases": [
"CVE-2024-41132",
"GHSA-qxrv-gp6x-rc23"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/sixlabors/imagesharp",
"type": "GIT",
"events": [
{
"introduced": "136cc143bba2fca255328751dd4580e4f8d413c3"
},
{
"fixed": "9816ca45016c5d3859986f3c600e8934bc450a56"
},
{
"introduced": "07fd93692adfcb7c61670d343954e686672fd6a6"
},
{
"fixed": "65bd9b5ccdecf4441321b661635c1469dc7b08e4"
},
{
"fixed": "59de13c8cc47f2b402e2c43aa7024511d029d515"
},
{
"fixed": "b496109051cc39feee1f6cde48fca6481de17f9a"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:sixlabors:imagesharp:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.1.0"
},
{
"fixed": "2.1.9"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:sixlabors:imagesharp:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.1.0"
},
{
"fixed": "3.1.5"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "59de13c8cc47f2b402e2c43aa7024511d029d515"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "9816ca45016c5d3859986f3c600e8934bc450a56"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "b496109051cc39feee1f6cde48fca6481de17f9a"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v2.1.8",
"v3.1.4",
"v2.1.7",
"v3.1.3",
"v3.1.2",
"v3.1.1",
"v3.1.0",
"v2.1.6",
"v2.1.5",
"v2.1.4",
"v2.1.3",
"v2.1.2",
"v2.1.1",
"v2.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-41132.json"
}
}
],
"modified": "2026-10-28T02:30:26.472015690Z",
"provider": "osv",
"references": [
"https://docs.sixlabors.com/articles/imagesharp.web/processingcommands.html#securing-processing-commands",
"https://docs.sixlabors.com/articles/imagesharp/security.html",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41132.json",
"https://github.com/SixLabors/ImageSharp/security/advisories/GHSA-qxrv-gp6x-rc23",
"https://nvd.nist.gov/vuln/detail/CVE-2024-41132",
"https://github.com/SixLabors/ImageSharp/commit/59de13c8cc47f2b402e2c43aa7024511d029d515",
"https://github.com/SixLabors/ImageSharp/commit/9816ca45016c5d3859986f3c600e8934bc450a56",
"https://github.com/SixLabors/ImageSharp/commit/b496109051cc39feee1f6cde48fca6481de17f9a",
"https://github.com/SixLabors/ImageSharp/pull/2759",
"https://github.com/SixLabors/ImageSharp/pull/2764",
"https://github.com/SixLabors/ImageSharp/pull/2770"
],
"provider_metadata": {
"cwe_ids": [
"CWE-789"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41132.json"
}
},
"related_cves": [
{
"value": "CVE-2024-41132",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 492800,
"published_at": "2024-07-22T14:28:25.348+00:00"
}