Advisory Database
  • Advisories
  • Dependency Scanning
  1. nuget
  2. ›
  3. SixLabors.ImageSharp
  4. ›
  5. CVE-2024-41132

CVE-2024-41132: SixLabors ImageSharp has Excessive Memory Allocation in Gif Decoder

July 22, 2024 (updated September 11, 2024)

What kind of vulnerability is it? Who is impacted?

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.

References

  • docs.sixlabors.com/articles/imagesharp.web/processingcommands.html
  • docs.sixlabors.com/articles/imagesharp/security.html
  • github.com/SixLabors/ImageSharp
  • github.com/SixLabors/ImageSharp/commit/59de13c8cc47f2b402e2c43aa7024511d029d515
  • github.com/SixLabors/ImageSharp/commit/9816ca45016c5d3859986f3c600e8934bc450a56
  • github.com/SixLabors/ImageSharp/commit/b496109051cc39feee1f6cde48fca6481de17f9a
  • github.com/SixLabors/ImageSharp/pull/2759
  • github.com/SixLabors/ImageSharp/pull/2764
  • github.com/SixLabors/ImageSharp/pull/2770
  • github.com/SixLabors/ImageSharp/security/advisories/GHSA-qxrv-gp6x-rc23
  • github.com/advisories/GHSA-qxrv-gp6x-rc23
  • nvd.nist.gov/vuln/detail/CVE-2024-41132

Code Behaviors & Features

Detect and mitigate CVE-2024-41132 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.1.9, all versions starting from 3.0.0 before 3.1.5

Fixed versions

  • 2.1.9
  • 3.1.5

Solution

Upgrade to versions 2.1.9, 3.1.5 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-770: Allocation of Resources Without Limits or Throttling
  • CWE-789: Memory Allocation with Excessive Size Value

Source file

nuget/SixLabors.ImageSharp/CVE-2024-41132.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 00:15:01 +0000.