High
Security advisory
Integer overflow in the rwpng_read_image24_libpng function in rwpng.c in pngquant 2.7.0 allows remote attackers to have unspecified impact via a crafted PNG file, which triggers a buffer overflow.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2016-5735
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:11 UTC · Revision 1
Source evidence
Integer overflow in the rwpng_read_image24_libpng function in rwpng.c in pngquant 2.7.0 allows remote attackers to have unspecified impact via a crafted PNG file, which triggers a buffer overflow.
osv:CVE-2016-5735
Complete source record
{
"id": "f15790a921f5193b3b01ca533c0f5f0e461aa1099efef295e4adbf7466bf4172",
"url": "https://osv.dev/vulnerability/CVE-2016-5735",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2016-5735",
"summary": "Integer overflow in the rwpng_read_image24_libpng function in rwpng.c in pngquant 2.7.0 allows remote attackers to have unspecified impact via a crafted PNG file, which triggers a buffer overflow.",
"evidence": "osv:CVE-2016-5735",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2016-5735",
"aliases": [
"CVE-2016-5735"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/kornelski/pngquant",
"type": "GIT",
"events": [
{
"introduced": "cd14e0881a3e1f8157947e63ffd846c9f7a55c82"
},
{
"last_affected": "cd14e0881a3e1f8157947e63ffd846c9f7a55c82"
},
{
"fixed": "b7c217680cda02dddced245d237ebe8c383be285"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:pngquant:pngquant:2.7.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.7.0"
},
{
"last_affected": "2.7.0"
}
],
"source": "CPE_STRING"
},
{
"range": [
{
"fixed": "b7c217680cda02dddced245d237ebe8c383be285"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"2.7.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-5735.json",
"vanir_signatures": [
{
"id": "CVE-2016-5735-90d441ae",
"digest": {
"threshold": 0.9,
"line_hashes": [
"11749072273354818079652599568515810704",
"295321760208783322335535339872887592277",
"263241181405925274193218127026934768670",
"279570523230507015572632992992007345031",
"61102045982274863775149249678886770771",
"101195728603932320435831620322596778343",
"185264035726705698568741517661172567482",
"323461216799807688237550986647038251466",
"59479731129094185246169890485511112403",
"3248771318875236472868746566677569443"
]
},
"source": "https://github.com/kornelski/pngquant/commit/b7c217680cda02dddced245d237ebe8c383be285",
"target": {
"file": "rwpng.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
},
{
"id": "CVE-2016-5735-9ffba8c0",
"digest": {
"length": 4485,
"function_hash": "219203256382287797673606922366190072575"
},
"source": "https://github.com/kornelski/pngquant/commit/b7c217680cda02dddced245d237ebe8c383be285",
"target": {
"file": "rwpng.c",
"function": "rwpng_read_image24_libpng"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T13:17:57Z"
}
}
],
"modified": "2026-10-20T13:17:57.690604884Z",
"provider": "osv",
"references": [
"https://lists.debian.org/debian-lts-announce/2020/06/msg00028.html",
"https://github.com/pornel/pngquant/commit/b7c217680cda02dddced245d237ebe8c383be285"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2016-5735",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 387471,
"published_at": "2017-05-23T04:29:01.477+00:00"
}