{"id":"CVE-2025-66293","published":"2025-12-03T20:33:57Z","modified":"2025-12-04T01:31:47Z","title":"LIBPNG has an out-of-bounds read in png_image_read_composite","vendor":"pnggroup","product":"libpng","tier":"tail","description":{"text":"LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files. Prior to 1.6.52, an out-of-bounds read vulnerability in libpng's simplified API allows reading up to 1012 bytes beyond the png_sRGB_base[512] array when processing valid palette PNG images with partial transparency and gamma correction. The PNG files that trigger this vulnerability are valid per the PNG specification; the bug is in libpng's internal state management. Upgrade to libpng 1.6.52 or later.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0038,"percentile":0.32673,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://github.com/pnggroup/libpng/security/advisories/GHSA-9mpm-9pxh-mg4f","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/pnggroup/libpng/issues/764","tags":["x_refsource_MISC"]},{"url":"https://github.com/pnggroup/libpng/commit/788a624d7387a758ffd5c7ab010f1870dea753a1","tags":["x_refsource_MISC"]},{"url":"https://github.com/pnggroup/libpng/commit/a05a48b756de63e3234ea6b3b938b8f5f862484a","tags":["x_refsource_MISC"]},{"url":"http://www.openwall.com/lists/oss-security/2025/12/03/6","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2025/12/03/7","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2025/12/03/8","tags":[]}],"priority":{"score":11.5,"factors":[{"name":"EPSS percentile","points":6.53},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"pnggroup","affectedVersions":[{"vendor":"pnggroup","product":"libpng","versions":["< 1.6.52"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-12-03T20:52:13.771582Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-201132","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-pnggroup-libpng-cve-2025-64505","parents":[{"from":"CVE-2025-64505","to":"CVE-2025-66293","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pngrtran.c"],"commits":["https://github.com/pnggroup/libpng/commit/6a528eb5fd0dd7f6de1c39d30de0e41473431c37","https://github.com/pnggroup/libpng/commit/788a624d7387a758ffd5c7ab010f1870dea753a1","https://github.com/pnggroup/libpng/commit/a05a48b756de63e3234ea6b3b938b8f5f862484a"],"basis":"rarely changed file"}]},{"from":"CVE-2025-64720","to":"CVE-2025-66293","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pngrtran.c"],"commits":["https://github.com/pnggroup/libpng/commit/08da33b4c88cfcd36e5a706558a8d7e0e4773643","https://github.com/pnggroup/libpng/commit/788a624d7387a758ffd5c7ab010f1870dea753a1","https://github.com/pnggroup/libpng/commit/a05a48b756de63e3234ea6b3b938b8f5f862484a"],"basis":"shared function","functions":["png_init_read_transformations"]}]},{"from":"CVE-2025-65018","to":"CVE-2025-66293","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pngread.c"],"commits":["https://github.com/pnggroup/libpng/commit/16b5e3823918840aae65c0a6da57c78a5a496a4d","https://github.com/pnggroup/libpng/commit/218612ddd6b17944e21eda56caf8b4bf7779d1ea","https://github.com/pnggroup/libpng/commit/788a624d7387a758ffd5c7ab010f1870dea753a1","https://github.com/pnggroup/libpng/commit/a05a48b756de63e3234ea6b3b938b8f5f862484a"],"basis":"rarely changed file"}]}],"children":[{"from":"CVE-2025-66293","to":"CVE-2026-22695","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pngread.c"],"commits":["https://github.com/pnggroup/libpng/commit/788a624d7387a758ffd5c7ab010f1870dea753a1","https://github.com/pnggroup/libpng/commit/a05a48b756de63e3234ea6b3b938b8f5f862484a","https://github.com/pnggroup/libpng/commit/218612ddd6b17944e21eda56caf8b4bf7779d1ea","https://github.com/pnggroup/libpng/commit/e4f7ad4ea2a471776c81dda4846b7691925d9786"],"basis":"rarely changed file"}]}]}}