SecurityContext

CVE-2016-5637: libbpg - Out of Bounds Read & Remote Code Execution

  • Cve: CVE-2016-5637
  • Name: libbpg - Out of Bounds Read & Remote Code Execution
  • Description: The restore_tqb_pixels function in libbpg 0.9.5 through 0.9.7 mishandles the transquant_bypass_enable_flag value, which allows remote attackers to execute arbitrary code or cause a denial of service (out-of-bounds write) via a crafted BPG image, related to a "type confusion" issue.
  • Impact: Attackers can execute arbitrary code or cause denial of service by exploiting this vulnerability with crafted images.
  • Remediation: Update to version 0.9.8 or later.
  • Vulnerability type: out_of_bounds_rw
  • Vulnerability impact: remote_code_execution, denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.02861
  • Epss percentile: 0.87108
  • Assignee: [email protected]
  • Published at: 2016-07-15T18:59:08Z
  • Age in days: 3784
  • Modified at: 2026-06-17T00:49:48Z
  • References total: 2
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2016-5637
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

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

References

UrlSourceTags
http://www.kb.cert.org/vuls/id/123799nvdThird Party Advisory, US Government Resource
http://www.securityfocus.com/bid/91726nvdThird Party Advisory, VDB Entry

Products

ProductAffectedPlatform boundSourcesUrl
libbpg_project:libbpg>= 0.9.5, <= 0.9.7nonvd/v1/products/libbpg_project/libbpg

Index

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

Exploitation

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