{"answers":{"affected":"1 open source package ship an affected version, including png. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-25646 exists.","fix":"Upgrade png to 0.1-9 or later.","what":"CVE-2026-25646 is a high-severity memory corruption vulnerability in Libpng Libpng, published on 10 Feb 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-25646 and fix it if it is affected.\n\nWhat it is: CVE-2026-25646 is a high-severity memory corruption vulnerability in Libpng Libpng, published on 10 Feb 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-25646 exists.\n\nAffected packages and fixed versions:\n- png (CRAN): affected from 0.1-3; fixed in 0.1-9\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-25646/ (Markdown: https://insights.sbomify.com/CVE-2026-25646/index.md)","id":"CVE-2026-25646","markdown":"https://insights.sbomify.com/CVE-2026-25646/index.md","name":"CVE-2026-25646","record":{"aliases":["ALPINE-CVE-2026-25646","ALSA-2026:3031","ALSA-2026:6439","ALSA-2026:6445","AZL-77409","AZL-77441","AZL-77457","AZL-77460","AZL-77463","AZL-77466","AZL-77468","AZL-77471","AZL-77474","AZL-77477","AZL-77480","BELL-CVE-2026-25646","CLEANSTART-2026-LU70983","CLSA-2026-1771839565","CLSA-2026-1771840259","CLSA-2026-1772033549","CLSA-2026-1772146691","CLSA-2026-1772449504","CLSA-2026-1772450608","CLSA-2026-1784715933","DEBIAN-CVE-2026-25646","DSA-6138-1","ECHO-6445-7d7c-0289","GHSA-g8hp-mq4h-rqm3","JLSEC-2026-11","MGASA-2026-0038","MGASA-2026-0096","MINI-f56v-rjc3-6p9r","OESA-2026-1476","RHSA-2026:3031","RHSA-2026:3968","RHSA-2026:3969","RHSA-2026:4221","RHSA-2026:4222","RHSA-2026:4756","RHSA-2026:6439","RHSA-2026:6445","RHSA-2026:6466","RHSA-2026:6467","RHSA-2026:6468","RHSA-2026:6469","RHSA-2026:7032","RHSA-2026:7033","RHSA-2026:7034","RHSA-2026:7035","RHSA-2026:7036","RLSA-2026:3031","RLSA-2026:6439","RLSA-2026:6445","ROOT-OS-ALPINE-315-CVE-2026-25646","RSEC-2026-1","SUSE-SU-2026:0583-1","SUSE-SU-2026:0597-1","SUSE-SU-2026:0598-1","SUSE-SU-2026:0599-1","SUSE-SU-2026:2878-1","SUSE-SU-2026:3039-1","UBUNTU-CVE-2026-25646","USN-8039-1","openSUSE-SU-2026:10188-1","openSUSE-SU-2026:11265-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"PNG image library","requires_auth":"none","summary":"A heap buffer overflow in libpng allows attackers to cause denial of service or potentially execute code via crafted PNG images.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"libpng","vendor":"libpng"}],"cvss":{"score":8.3,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"},{"id":"CWE-126","name":"Buffer Over-read"},{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"description":"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.55, an out-of-bounds read vulnerability exists in the png_set_quantize() API function. When the function is called with no histogram and the number of colors in the palette is more than twice the maximum supported by the user's display, certain palettes will cause the function to enter into an infinite loop that reads past the end of an internal heap-allocated buffer. The images that trigger this vulnerability are valid per the PNG specification. This vulnerability is fixed in 1.6.55.","ecosystems":["AlmaLinux:8","AlmaLinux:9","CRAN","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:9::appstream","Red Hat:rhel_aus:8.2::appstream","Red Hat:rhel_aus:8.4::appstream","Red Hat:rhel_aus:8.6::appstream","Red Hat:rhel_e4s:8.6::appstream","Red Hat:rhel_e4s:8.8::appstream","Red Hat:rhel_e4s:9.0::appstream","Red Hat:rhel_e4s:9.2::appstream","Red Hat:rhel_els:7","Red Hat:rhel_eus:9.4::appstream","Red Hat:rhel_eus:9.6::appstream","Red Hat:rhel_eus_long_life:8.4::appstream","Red Hat:rhel_tus:8.6::appstream","Red Hat:rhel_tus:8.8::appstream","Rocky Linux:8","Rocky Linux:9","SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS","SUSE:Linux Enterprise Module for Basesystem 15 SP7","SUSE:Linux Enterprise Server 12 SP5-LTSS","SUSE:Linux Enterprise Server 15 SP4-LTSS","SUSE:Linux Enterprise Server 15 SP5-LTSS","SUSE:Linux Enterprise Server 15 SP6-LTSS","SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15 SP4","SUSE:Linux Enterprise Server for SAP Applications 15 SP5","SUSE:Linux Enterprise Server for SAP Applications 15 SP6","openSUSE:Leap 15.6","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"LIBPNG has a heap buffer overflow in png_set_quantize","id":"CVE-2026-25646","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"libpng:libpng","products":["libpng:libpng"],"type":"memory_corruption","year":"2026"},"n_packages":91,"n_references":2,"next":{"headline":"Lute has a Stored Cross-Site Scripting (XSS) via Markdown hyperlink","id":"CVE-2026-25647"},"packages":[{"ecosystem":"CRAN","fixed":["0.1-9"],"introduced":["0.1-3"],"last_affected":[],"package":"png","purl":"pkg:cran/png","source":"RSEC-2026-1"},{"ecosystem":"AlmaLinux:8","fixed":["1.2.57-6.el8_10"],"introduced":["0"],"last_affected":[],"package":"libpng12","purl":"pkg:rpm/almalinux/libpng12","source":"ALSA-2026:6445"},{"ecosystem":"AlmaLinux:8","fixed":["1.5.30-8.el8_10"],"introduced":["0"],"last_affected":[],"package":"libpng15","purl":"pkg:rpm/almalinux/libpng15","source":"ALSA-2026:6439"},{"ecosystem":"AlmaLinux:9","fixed":["1.5.30-14.el9_7.1"],"introduced":["0"],"last_affected":[],"package":"libpng15","purl":"pkg:rpm/almalinux/libpng15","source":"ALSA-2026:3031"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.2.57-6.el8_10"],"introduced":["0"],"last_affected":[],"package":"libpng12","purl":"pkg:rpm/redhat/libpng12","source":"RHSA-2026:6445"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.2.57-6.el8_10"],"introduced":["0"],"last_affected":[],"package":"libpng12-debuginfo","purl":"pkg:rpm/redhat/libpng12-debuginfo","source":"RHSA-2026:6445"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.2.57-6.el8_10"],"introduced":["0"],"last_affected":[],"package":"libpng12-debugsource","purl":"pkg:rpm/redhat/libpng12-debugsource","source":"RHSA-2026:6445"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.5.30-8.el8_10"],"introduced":["0"],"last_affected":[],"package":"libpng15","purl":"pkg:rpm/redhat/libpng15","source":"RHSA-2026:6439"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.5.30-8.el8_10"],"introduced":["0"],"last_affected":[],"package":"libpng15-debuginfo","purl":"pkg:rpm/redhat/libpng15-debuginfo","source":"RHSA-2026:6439"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.5.30-8.el8_10"],"introduced":["0"],"last_affected":[],"package":"libpng15-debugsource","purl":"pkg:rpm/redhat/libpng15-debugsource","source":"RHSA-2026:6439"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.5.30-14.el9_7.1"],"introduced":["0"],"last_affected":[],"package":"libpng15","purl":"pkg:rpm/redhat/libpng15","source":"RHSA-2026:3031"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.5.30-14.el9_7.1"],"introduced":["0"],"last_affected":[],"package":"libpng15-debuginfo","purl":"pkg:rpm/redhat/libpng15-debuginfo","source":"RHSA-2026:3031"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.5.30-14.el9_7.1"],"introduced":["0"],"last_affected":[],"package":"libpng15-debugsource","purl":"pkg:rpm/redhat/libpng15-debugsource","source":"RHSA-2026:3031"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:1.2.57-5.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"libpng12","purl":"pkg:rpm/redhat/libpng12","source":"RHSA-2026:7035"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:1.5.30-7.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"libpng15","purl":"pkg:rpm/redhat/libpng15","source":"RHSA-2026:6466"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:1.5.30-7.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"libpng15-debuginfo","purl":"pkg:rpm/redhat/libpng15-debuginfo","source":"RHSA-2026:6466"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:1.5.30-7.el8_2.1"],"introduced":["0"],"last_affected":[],"package":"libpng15-debugsource","purl":"pkg:rpm/redhat/libpng15-debugsource","source":"RHSA-2026:6466"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:1.2.57-5.el8_4.1"],"introduced":["0"],"last_affected":[],"package":"libpng12","purl":"pkg:rpm/redhat/libpng12","source":"RHSA-2026:7036"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:1.5.30-7.el8_4.1"],"introduced":["0"],"last_affected":[],"package":"libpng15","purl":"pkg:rpm/redhat/libpng15","source":"RHSA-2026:6467"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:1.5.30-7.el8_4.1"],"introduced":["0"],"last_affected":[],"package":"libpng15-debuginfo","purl":"pkg:rpm/redhat/libpng15-debuginfo","source":"RHSA-2026:6467"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:1.5.30-7.el8_4.1"],"introduced":["0"],"last_affected":[],"package":"libpng15-debugsource","purl":"pkg:rpm/redhat/libpng15-debugsource","source":"RHSA-2026:6467"},{"ecosystem":"Red Hat:rhel_aus:8.6::appstream","fixed":["0:1.2.57-5.el8_6.1"],"introduced":["0"],"last_affected":[],"package":"libpng12","purl":"pkg:rpm/redhat/libpng12","source":"RHSA-2026:7033"},{"ecosystem":"Red Hat:rhel_aus:8.6::appstream","fixed":["0:1.5.30-7.el8_6.1"],"introduced":["0"],"last_affected":[],"package":"libpng15","purl":"pkg:rpm/redhat/libpng15","source":"RHSA-2026:6469"},{"ecosystem":"Red Hat:rhel_aus:8.6::appstream","fixed":["0:1.5.30-7.el8_6.1"],"introduced":["0"],"last_affected":[],"package":"libpng15-debuginfo","purl":"pkg:rpm/redhat/libpng15-debuginfo","source":"RHSA-2026:6469"},{"ecosystem":"Red Hat:rhel_aus:8.6::appstream","fixed":["0:1.5.30-7.el8_6.1"],"introduced":["0"],"last_affected":[],"package":"libpng15-debugsource","purl":"pkg:rpm/redhat/libpng15-debugsource","source":"RHSA-2026:6469"},{"ecosystem":"Red Hat:rhel_e4s:8.6::appstream","fixed":["0:1.2.57-5.el8_6.1"],"introduced":["0"],"last_affected":[],"package":"libpng12","purl":"pkg:rpm/redhat/libpng12","source":"RHSA-2026:7033"},{"ecosystem":"Red Hat:rhel_e4s:8.6::appstream","fixed":["0:1.5.30-7.el8_6.1"],"introduced":["0"],"last_affected":[],"package":"libpng15","purl":"pkg:rpm/redhat/libpng15","source":"RHSA-2026:6469"},{"ecosystem":"Red Hat:rhel_e4s:8.6::appstream","fixed":["0:1.5.30-7.el8_6.1"],"introduced":["0"],"last_affected":[],"package":"libpng15-debuginfo","purl":"pkg:rpm/redhat/libpng15-debuginfo","source":"RHSA-2026:6469"},{"ecosystem":"Red Hat:rhel_e4s:8.6::appstream","fixed":["0:1.5.30-7.el8_6.1"],"introduced":["0"],"last_affected":[],"package":"libpng15-debugsource","purl":"pkg:rpm/redhat/libpng15-debugsource","source":"RHSA-2026:6469"},{"ecosystem":"Red Hat:rhel_e4s:8.8::appstream","fixed":["0:1.2.57-5.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"libpng12","purl":"pkg:rpm/redhat/libpng12","source":"RHSA-2026:7034"},{"ecosystem":"Red Hat:rhel_e4s:8.8::appstream","fixed":["0:1.5.30-7.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"libpng15","purl":"pkg:rpm/redhat/libpng15","source":"RHSA-2026:6468"},{"ecosystem":"Red Hat:rhel_e4s:8.8::appstream","fixed":["0:1.5.30-7.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"libpng15-debuginfo","purl":"pkg:rpm/redhat/libpng15-debuginfo","source":"RHSA-2026:6468"},{"ecosystem":"Red Hat:rhel_e4s:8.8::appstream","fixed":["0:1.5.30-7.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"libpng15-debugsource","purl":"pkg:rpm/redhat/libpng15-debugsource","source":"RHSA-2026:6468"},{"ecosystem":"Red Hat:rhel_e4s:9.0::appstream","fixed":["0:1.5.30-14.el9_0.1"],"introduced":["0"],"last_affected":[],"package":"libpng15","purl":"pkg:rpm/redhat/libpng15","source":"RHSA-2026:4222"},{"ecosystem":"Red Hat:rhel_e4s:9.0::appstream","fixed":["0:1.5.30-14.el9_0.1"],"introduced":["0"],"last_affected":[],"package":"libpng15-debuginfo","purl":"pkg:rpm/redhat/libpng15-debuginfo","source":"RHSA-2026:4222"},{"ecosystem":"Red Hat:rhel_e4s:9.0::appstream","fixed":["0:1.5.30-14.el9_0.1"],"introduced":["0"],"last_affected":[],"package":"libpng15-debugsource","purl":"pkg:rpm/redhat/libpng15-debugsource","source":"RHSA-2026:4222"},{"ecosystem":"Red Hat:rhel_e4s:9.2::appstream","fixed":["0:1.5.30-14.el9_2.1"],"introduced":["0"],"last_affected":[],"package":"libpng15","purl":"pkg:rpm/redhat/libpng15","source":"RHSA-2026:4221"},{"ecosystem":"Red Hat:rhel_e4s:9.2::appstream","fixed":["0:1.5.30-14.el9_2.1"],"introduced":["0"],"last_affected":[],"package":"libpng15-debuginfo","purl":"pkg:rpm/redhat/libpng15-debuginfo","source":"RHSA-2026:4221"},{"ecosystem":"Red Hat:rhel_e4s:9.2::appstream","fixed":["0:1.5.30-14.el9_2.1"],"introduced":["0"],"last_affected":[],"package":"libpng15-debugsource","purl":"pkg:rpm/redhat/libpng15-debugsource","source":"RHSA-2026:4221"},{"ecosystem":"Red Hat:rhel_els:7","fixed":["2:1.5.13-8.el7_9.2"],"introduced":["0"],"last_affected":[],"package":"libpng","purl":"pkg:rpm/redhat/libpng","source":"RHSA-2026:4756"}],"prev":{"headline":"Requests has Insecure Temp File Reuse in its extract_zipped_paths() utility function","id":"CVE-2026-25645"},"products":["libpng"],"published":"2026-02-10","related":[{"cvss_score":9.8,"headline":"Denial of service in n/a","id":"CVE-2017-12652","kev_date_added":null,"published":"2019-07-10"},{"cvss_score":8.8,"headline":"Out-of-bounds write in libpng","id":"CVE-2018-14550","kev_date_added":null,"published":"2019-07-10"},{"cvss_score":7.6,"headline":"LIBPNG has ARM NEON Palette Expansion Out-of-Bounds Read on AArch64","id":"CVE-2026-33636","kev_date_added":null,"published":"2026-03-26"},{"cvss_score":7.5,"headline":"LIBPNG has use-after-free via pointer aliasing in `png_set_tRNS` and `png_set_PLTE`","id":"CVE-2026-33416","kev_date_added":null,"published":"2026-03-26"},{"cvss_score":7.5,"headline":"Null dereference in n/a","id":"CVE-2016-10087","kev_date_added":null,"published":"2017-01-30"},{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2011-3464","kev_date_added":null,"published":"2012-07-22"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"Apache-2.0","name":"R Consortium","prefix":"RSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-01","vendors":["pnggroup"]},"summary":"A heap buffer overflow in libpng allows attackers to cause denial of service or potentially execute code via crafted PNG images.","url":"https://insights.sbomify.com/CVE-2026-25646/"}