{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2017-12652 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2017-12652 is a critical denial of service vulnerability in Libpng Libpng, published on 10 Jul 2019. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2017-12652 and fix it if it is affected.\n\nWhat it is: CVE-2017-12652 is a critical denial of service vulnerability in Libpng Libpng, published on 10 Jul 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2017-12652 in the wild and no public exploit code.\n\nAffected product: Libpng Libpng. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2017-12652/ (Markdown: https://insights.sbomify.com/CVE-2017-12652/index.md)","id":"CVE-2017-12652","markdown":"https://insights.sbomify.com/CVE-2017-12652/index.md","name":"CVE-2017-12652","record":{"aliases":["AZL-43468","AZL-43573","AZL-44469","AZL-44973","AZL-45045","AZL-45102","DEBIAN-CVE-2017-12652","GHSA-94xg-qm4r-9r7c","RHSA-2020:3901","SUSE-SU-2020:0911-1","SUSE-SU-2023:3799-1","UBUNTU-CVE-2017-12652"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"PNG image library","requires_auth":"none","summary":"An attacker can cause a denial of service by providing a crafted PNG file that bypasses chunk length checks in libpng.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"libpng","vendor":"libpng"},{"product":"active_iq_unified_manager","vendor":"netapp"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"libpng before 1.6.32 does not properly check the length of chunks against the user limit.","ecosystems":["Red Hat:enterprise_linux:7::client","Red Hat:enterprise_linux:7::computenode","Red Hat:enterprise_linux:7::server","Red Hat:enterprise_linux:7::workstation","SUSE:Linux Enterprise Server 12 SP4","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 12 SP4","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Software Development Kit 12 SP4","SUSE:Linux Enterprise Software Development Kit 12 SP5"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Denial of service in n/a","id":"CVE-2017-12652","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"libpng:libpng","products":["libpng:libpng","netapp:active_iq_unified_manager"],"type":"denial_of_service","year":"2017"},"n_packages":24,"n_references":6,"next":{"headline":"Privilege escalation in n/a","id":"CVE-2017-12653"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["2:1.5.13-8.el7"],"introduced":["0"],"last_affected":[],"package":"libpng","purl":"pkg:rpm/redhat/libpng","source":"RHSA-2020:3901"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["2:1.5.13-8.el7"],"introduced":["0"],"last_affected":[],"package":"libpng-debuginfo","purl":"pkg:rpm/redhat/libpng-debuginfo","source":"RHSA-2020:3901"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["2:1.5.13-8.el7"],"introduced":["0"],"last_affected":[],"package":"libpng-devel","purl":"pkg:rpm/redhat/libpng-devel","source":"RHSA-2020:3901"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["2:1.5.13-8.el7"],"introduced":["0"],"last_affected":[],"package":"libpng-static","purl":"pkg:rpm/redhat/libpng-static","source":"RHSA-2020:3901"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["2:1.5.13-8.el7"],"introduced":["0"],"last_affected":[],"package":"libpng","purl":"pkg:rpm/redhat/libpng","source":"RHSA-2020:3901"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["2:1.5.13-8.el7"],"introduced":["0"],"last_affected":[],"package":"libpng-debuginfo","purl":"pkg:rpm/redhat/libpng-debuginfo","source":"RHSA-2020:3901"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["2:1.5.13-8.el7"],"introduced":["0"],"last_affected":[],"package":"libpng-devel","purl":"pkg:rpm/redhat/libpng-devel","source":"RHSA-2020:3901"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["2:1.5.13-8.el7"],"introduced":["0"],"last_affected":[],"package":"libpng-static","purl":"pkg:rpm/redhat/libpng-static","source":"RHSA-2020:3901"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["2:1.5.13-8.el7"],"introduced":["0"],"last_affected":[],"package":"libpng","purl":"pkg:rpm/redhat/libpng","source":"RHSA-2020:3901"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["2:1.5.13-8.el7"],"introduced":["0"],"last_affected":[],"package":"libpng-debuginfo","purl":"pkg:rpm/redhat/libpng-debuginfo","source":"RHSA-2020:3901"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["2:1.5.13-8.el7"],"introduced":["0"],"last_affected":[],"package":"libpng-devel","purl":"pkg:rpm/redhat/libpng-devel","source":"RHSA-2020:3901"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["2:1.5.13-8.el7"],"introduced":["0"],"last_affected":[],"package":"libpng-static","purl":"pkg:rpm/redhat/libpng-static","source":"RHSA-2020:3901"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["2:1.5.13-8.el7"],"introduced":["0"],"last_affected":[],"package":"libpng","purl":"pkg:rpm/redhat/libpng","source":"RHSA-2020:3901"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["2:1.5.13-8.el7"],"introduced":["0"],"last_affected":[],"package":"libpng-debuginfo","purl":"pkg:rpm/redhat/libpng-debuginfo","source":"RHSA-2020:3901"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["2:1.5.13-8.el7"],"introduced":["0"],"last_affected":[],"package":"libpng-devel","purl":"pkg:rpm/redhat/libpng-devel","source":"RHSA-2020:3901"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["2:1.5.13-8.el7"],"introduced":["0"],"last_affected":[],"package":"libpng-static","purl":"pkg:rpm/redhat/libpng-static","source":"RHSA-2020:3901"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP4","fixed":["1.2.50-20.3.2"],"introduced":["0"],"last_affected":[],"package":"libpng12","purl":"pkg:rpm/suse/libpng12\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4","source":"SUSE-SU-2020:0911-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["1.2.50-20.3.2"],"introduced":["0"],"last_affected":[],"package":"libpng12","purl":"pkg:rpm/suse/libpng12\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2020:0911-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["1.5.22-10.4.1"],"introduced":["0"],"last_affected":[],"package":"libpng15","purl":"pkg:rpm/suse/libpng15\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2023:3799-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP4","fixed":["1.2.50-20.3.2"],"introduced":["0"],"last_affected":[],"package":"libpng12","purl":"pkg:rpm/suse/libpng12\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4","source":"SUSE-SU-2020:0911-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["1.2.50-20.3.2"],"introduced":["0"],"last_affected":[],"package":"libpng12","purl":"pkg:rpm/suse/libpng12\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2020:0911-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["1.5.22-10.4.1"],"introduced":["0"],"last_affected":[],"package":"libpng15","purl":"pkg:rpm/suse/libpng15\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2023:3799-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP4","fixed":["1.2.50-20.3.2"],"introduced":["0"],"last_affected":[],"package":"libpng12","purl":"pkg:rpm/suse/libpng12\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP4","source":"SUSE-SU-2020:0911-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","fixed":["1.2.50-20.3.2"],"introduced":["0"],"last_affected":[],"package":"libpng12","purl":"pkg:rpm/suse/libpng12\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5","source":"SUSE-SU-2020:0911-1"}],"prev":{"headline":"Cross-site request forgery in n/a","id":"CVE-2017-12651"},"products":["n/a"],"published":"2019-07-10","related":[{"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":8.3,"headline":"LIBPNG has a heap buffer overflow in png_set_quantize","id":"CVE-2026-25646","kev_date_added":null,"published":"2026-02-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":"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":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"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":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-06-09","vendors":["n/a"]},"summary":"An attacker can cause a denial of service by providing a crafted PNG file that bypasses chunk length checks in libpng.","url":"https://insights.sbomify.com/CVE-2017-12652/"}