Advisory Database
  • Advisories
  • Dependency Scanning
  1. nuget
  2. ›
  3. libpng
  4. ›
  5. CVE-2011-3048

CVE-2011-3048: Improper Restriction of Operations within the Bounds of a Memory Buffer

May 29, 2012 (updated December 29, 2017)

The png_set_text_2 function in pngset.c in libpng allows remote attackers to cause a denial of service (crash) or execute arbitrary code via a crafted text chunk in a PNG image file, which triggers a memory allocation failure that is not properly handled, leading to a heap-based buffer overflow.

References

  • nvd.nist.gov/vuln/detail/CVE-2011-3048

Code Behaviors & Features

Detect and mitigate CVE-2011-3048 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 starting from 1.0.0 up to 1.0.58, all versions starting from 1.2.0 up to 1.2.48, all versions starting from 1.4.0 up to 1.4.10, all versions starting from 1.5.0 up to 1.5.10

Fixed versions

  • 1.6.18.1

Solution

Upgrade to version 1.6.18.1 or above.

Impact 6.8 MEDIUM

AV:N/AC:M/Au:N/C:P/I:P/A:P

Learn more about CVSS

Weakness

  • CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer

Source file

nuget/libpng/CVE-2011-3048.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:15:25 +0000.