{"schemaVersion":3,"id":"CVE-2025-65018","aliases":["ALPINE-CVE-2025-65018","UBUNTU-CVE-2025-65018","DEBIAN-CVE-2025-65018","CGA-cqq7-35q5-59w6","CGA-wc6q-j4rp-v3hr"],"status":"published","duplicateOf":null,"title":null,"description":"LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files. From version 1.6.0 to before 1.6.51, there is a heap buffer overflow vulnerability in the libpng simplified API function png_image_finish_read when processing 16-bit interlaced PNGs with 8-bit output format. Attacker-crafted interlaced PNG files cause heap writes beyond allocated buffer bounds. This issue has been patched in version 1.6.51.","dates":{"published":"2025-11-24T23:50:18.294Z","modified":"2025-11-25T19:29:33.633Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.1,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.1,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":7.1,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","exploitability":4.6,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.1,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","exploitability":4.6,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.1,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","exploitability":4.6,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":7.1,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","exploitability":4.6,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":7.1,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","exploitability":4.6,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.1,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00259,"percentile":0.16517,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00259},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00259,"percentile":0.16517}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00259,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00259,"percentile":0.16517}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_PNGGROUP_LIBPNG","name":"Libpng","source":"github","url":"https://github.com/pnggroup/libpng/issues/656","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-122","name":"Heap-based Buffer Overflow","description":"A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/122.html"},{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"alpine","product":"libpng","name":"libpng","label":"libpng","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/libpng","purlType":"apk","versions":[{"text":"≥ 1.6.0, < 1.6.53-r0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.6.0, < 1.6.51-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.6.0, < 1.6.53-r0 | ≥ 1.6.0, < 1.6.51-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"libpng","name":"libpng","label":"libpng","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/libpng","purlType":"apk","versions":[{"text":"< 1.6.51-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.6.51-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"libpng","name":"libpng","label":"libpng","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/libpng","purlType":"apk","versions":[{"text":"< 1.6.51-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.6.51-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"libpng1.6","name":"libpng1.6","label":"libpng1.6","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/libpng1.6","purlType":"deb","versions":[{"text":"< 1.6.39-2+deb12u1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.6.48-1+deb13u1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.6.51-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.6.39-2+deb12u1 | < 1.6.48-1+deb13u1 | < 1.6.51-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libpng1.6","name":"libpng1.6","label":"libpng1.6","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libpng1.6","purlType":"deb","versions":[{"text":"< 1.6.20-2ubuntu0.1~esm2","noFixRecorded":false,"fixedIn":null},{"text":"< 1.6.34-1ubuntu0.18.04.2+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.6.37-2ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.6.37-3ubuntu0.1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.6.43-5ubuntu0.1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.6.50-1ubuntu0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.6.20-2ubuntu0.1~esm2 | < 1.6.34-1ubuntu0.18.04.2+esm1 | < 1.6.37-2ubuntu0.1~esm1 | < 1.6.37-3ubuntu0.1 | < 1.6.43-5ubuntu0.1 | < 1.6.50-1ubuntu0.1","eol":null,"hubHref":null},{"vendor":"libpng","product":"libpng","name":"libpng","label":"libpng","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.6.0, < 1.6.51","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.6.0, < 1.6.51","eol":null,"hubHref":"/vendor/libpng/libpng"},{"vendor":"pnggroup","product":"libpng","name":"libpng","label":"libpng","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.6.0, < 1.6.51","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.6.0, < 1.6.51","eol":null,"hubHref":"/vendor/pnggroup/libpng"}],"affectedCount":7,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/pnggroup/libpng/security/advisories/GHSA-7wv6-48j4-hj3g","label":"github.com/pnggroup/libpng/security/advisories/GHSA-7wv6-48j4-hj3g","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","Advisory","Exploit","Vendor Advisory"]},{"url":"https://github.com/pnggroup/libpng/issues/755","label":"github.com/pnggroup/libpng/issues/755","hostname":"github.com","tags":["X Refsource MISC","REPORT","Exploit","Issue Tracking"]},{"url":"https://github.com/pnggroup/libpng/pull/757","label":"github.com/pnggroup/libpng/pull/757","hostname":"github.com","tags":["X Refsource MISC","FIX","Issue Tracking"]},{"url":"https://github.com/pnggroup/libpng/commit/16b5e3823918840aae65c0a6da57c78a5a496a4d","label":"github.com/pnggroup/libpng/commit/16b5e3823918840aae65c0a6da57c78a5a496a4d","hostname":"github.com","tags":["X Refsource MISC","REPORT","FIX","Patch"]},{"url":"https://github.com/pnggroup/libpng/commit/218612ddd6b17944e21eda56caf8b4bf7779d1ea","label":"github.com/pnggroup/libpng/commit/218612ddd6b17944e21eda56caf8b4bf7779d1ea","hostname":"github.com","tags":["X Refsource MISC","REPORT","FIX","Patch"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2025-65018","label":"security.alpinelinux.org/vuln/CVE-2025-65018","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-65018","label":"ubuntu.com/security/CVE-2025-65018","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-65018","label":"www.cve.org/CVERecord?id=CVE-2025-65018","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://www.openwall.com/lists/oss-security/2025/11/22/1","label":"www.openwall.com/lists/oss-security/2025/11/22/1","hostname":"www.openwall.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-7924-1","label":"ubuntu.com/security/notices/USN-7924-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-65018","label":"security-tracker.debian.org/tracker/CVE-2025-65018","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/65xxx/CVE-2025-65018.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2025/65xxx/CVE-2025-65018.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-65018","label":"nvd.nist.gov/vuln/detail/CVE-2025-65018","hostname":"nvd.nist.gov","tags":["Advisory","Oval"]}],"lineage":{"upstream":[],"downstream":["DLA-4396-1","DSA-6076-1","MGASA-2025-0314","MGASA-2026-0024","OPENSUSE-SU-2025:15781-1","OPENSUSE-SU-2026:20017-1","RHSA-2026:0125","RHSA-2026:0210","RHSA-2026:0211","RHSA-2026:0212","RHSA-2026:0216","RHSA-2026:0234","RHSA-2026:0237","RHSA-2026:0238","RHSA-2026:0241","RHSA-2026:0313","RHSA-2026:0321","RHSA-2026:0322","RHSA-2026:0323","RHSA-2026:0847","RHSA-2026:0927","RHSA-2026:0928","RHSA-2026:0932","RHSA-2026:0933","RHSA-2026:6732","RHSA-2026:80330","SUSE-SU-2025:21217-1","SUSE-SU-2025:21220-1","SUSE-SU-2025:4436-1","SUSE-SU-2025:4494-1","SUSE-SU-2025:4533-1","SUSE-SU-2026:20030-1","SUSE-SU-2026:20073-1","SUSE-SU-2026:23063-1","SUSE-SU-2026:23514-1"],"duplicates":[],"related":["CGA-R4FX-7W98-W4HH","OPENSUSE-SU-2025:15781-1","OPENSUSE-SU-2026:20017-1","SUSE-SU-2025:21217-1","SUSE-SU-2025:21220-1","SUSE-SU-2025:4436-1","SUSE-SU-2025:4494-1","SUSE-SU-2025:4533-1","SUSE-SU-2026:20030-1","SUSE-SU-2026:20073-1","SUSE-SU-2026:23063-1","SUSE-SU-2026:23514-1","USN-7924-1"]},"timeline":[{"kind":"published","date":"2025-11-24T23:50:18.294Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-11-25T19:29:33.633Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":38,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T07:24:08.415Z","stale":false,"partial":false}}