SecurityContext

CVE-2008-5101: OptiPNG - Buffer Overflow

  • Cve: CVE-2008-5101
  • Name: OptiPNG - Buffer Overflow
  • Description: Buffer overflow in the BMP reader in OptiPNG 0.6 and 0.6.1 allows user-assisted attackers to execute arbitrary code via a crafted BMP image, related to an "array overflow."
  • Impact: Attackers can execute arbitrary code on the affected system, potentially leading to full system compromise.
  • Remediation: Update to the latest version of OptiPNG that addresses this vulnerability or apply available patches.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: remote_code_execution
  • Requirement type: user_interaction
  • Requirements: Attacker needs user to open a malicious BMP image
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.3
  • Cvss vector: CVSS:2.0/AV:N/AC:M/Au:N/C:C/I:C/A:C
  • Epss score: 0.0399
  • Epss percentile: 0.90772
  • Assignee: [email protected]
  • Published at: 2008-11-17T18:18:47Z
  • Age in days: 6581
  • Modified at: 2026-06-16T22:59:15Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 12
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2008-5101
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

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

Public exploits

UrlSourceAdded date
http://prdownloads.sourceforge.net/optipng/optipng-0.6.1.1.diff?downloadnvd2008-11-17

References

Same in every row:

  • Source: nvd
UrlTags
http://optipng.sourceforge.net/Patch
http://sourceforge.net/project/shownotes.php?release_id=639631&group_id=151404Patch
http://secunia.com/advisories/32651Vendor Advisory
http://prdownloads.sourceforge.net/optipng/optipng-0.6.1.1.diff?downloadExploit
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505399
http://lists.opensuse.org/opensuse-security-announce/2009-03/msg00001.html
http://openwall.com/lists/oss-security/2008/11/12/1
http://secunia.com/advisories/34259
http://security.gentoo.org/glsa/glsa-200812-01.xml
http://www.securityfocus.com/bid/32248

Products

ProductAffectedPlatform boundSourcesUrl
optipng:optipng= 0.6.1, = 0.6nonvd/v1/products/optipng/optipng

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2008-11-17
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts