{"answers":{"affected":"It affects 5 products.","exploited":"There is no known exploitation of CVE-2020-12762 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2020-12762 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 9 May 2020. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2020-12762 and fix it if it is affected.\n\nWhat it is: CVE-2020-12762 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 9 May 2020. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2020-12762 in the wild and no public exploit code.\n\nAffected product: Canonical Ubuntu Linux. 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-2020-12762/ (Markdown: https://insights.sbomify.com/CVE-2020-12762/index.md)","id":"CVE-2020-12762","markdown":"https://insights.sbomify.com/CVE-2020-12762/index.md","name":"CVE-2020-12762","record":{"aliases":["ALPINE-CVE-2020-12762","ALSA-2021:4382","ALSA-2023:6431","ALSA-2023:6976","AZL-6506","CLSA-2025-1751141300","CLSA-2025-1751892313","CLSA-2026-1791551522","DEBIAN-CVE-2020-12762","DLA-2228-1","DLA-2228-2","DLA-2301-1","DLA-3461-1","DLA-4258-1","DSA-4741-1","GHSA-3797-gmjf-45gm","MGASA-2020-0240","MGASA-2023-0159","OESA-2023-1186","RHSA-2021:4382","RHSA-2023:6431","RHSA-2023:6976","RHSA-2024:0411","RHSA-2024:0573","RHSA-2024:1086","RHSA-2024:1154","RLSA-2021:4382","RLSA-2023:6431","RLSA-2023:6976","SUSE-SU-2022:0184-1","SUSE-SU-2022:0184-2","SUSE-SU-2022:3001-1","SUSE-SU-2023:2135-1","SUSE-SU-2024:1775-1","SUSE-SU-2024:1846-1","UBUNTU-CVE-2020-12762","USN-4360-1","USN-4360-4","openSUSE-SU-2022:0184-1","openSUSE-SU-2024:12911-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"JSON parsing library","requires_auth":"none","summary":"An attacker can trigger an integer overflow and out-of-bounds write in json-c by providing a large JSON file, potentially leading to code execution or denial of service.","user_interaction":"required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"ubuntu_linux","vendor":"canonical"},{"product":"debian_linux","vendor":"debian"},{"product":"fedora","vendor":"fedoraproject"},{"product":"json-c","vendor":"json-c"},{"product":"sinec_ins","vendor":"siemens"}],"cvss":{"score":7.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"},{"id":"CWE-787","name":"Out-of-bounds Write"}],"description":"json-c through 0.14 has an integer overflow and out-of-bounds write via a large JSON file, as demonstrated by printbuf_memappend.","ecosystems":["AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:8::baseos","Red Hat:enterprise_linux:8::crb","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::crb","Red Hat:rhel_eus:8.6::appstream","Red Hat:rhel_eus:8.8::appstream","Red Hat:rhel_eus:9.0::appstream","Red Hat:rhel_eus:9.2::appstream","Rocky Linux:8","Rocky Linux:9","SUSE:Enterprise Storage 6","SUSE:Enterprise Storage 7","SUSE:Enterprise Storage 7.1","SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","SUSE:Linux Enterprise High Performance Computing 15-ESPOS","SUSE:Linux Enterprise High Performance Computing 15-LTSS","SUSE:Linux Enterprise Micro 5.0","SUSE:Linux Enterprise Micro 5.1","SUSE:Linux Enterprise Module for Basesystem 15 SP3","SUSE:Linux Enterprise Module for Basesystem 15 SP4","SUSE:Linux Enterprise Real Time 15 SP2","SUSE:Linux Enterprise Server 12 SP2-BCL","SUSE:Linux Enterprise Server 12 SP3-BCL","SUSE:Linux Enterprise Server 12 SP4-LTSS","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server 15 SP1-BCL","SUSE:Linux Enterprise Server 15 SP1-LTSS","SUSE:Linux Enterprise Server 15 SP2-BCL","SUSE:Linux Enterprise Server 15 SP2-LTSS","SUSE:Linux Enterprise Server 15 SP3-LTSS","SUSE:Linux Enterprise Server 15-LTSS","SUSE:Linux Enterprise Server for SAP Applications 12 SP4","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15","SUSE:Linux Enterprise Server for SAP Applications 15 SP1","SUSE:Linux Enterprise Server for SAP Applications 15 SP2","SUSE:Linux Enterprise Server for SAP Applications 15 SP3","SUSE:Linux Enterprise Software Development Kit 12 SP5","SUSE:Manager Proxy 4.1","SUSE:Manager Retail Branch Server 4.1","SUSE:Manager Server 4.1","SUSE:OpenStack Cloud 9","SUSE:OpenStack Cloud Crowbar 9","openSUSE:Leap 15.3","openSUSE:Leap 15.4"],"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":"Integer overflow in n/a","id":"CVE-2020-12762","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"canonical:ubuntu_linux","products":["canonical:ubuntu_linux","debian:debian_linux","fedoraproject:fedora"],"type":"integer_overflow","year":"2020"},"n_packages":80,"n_references":15,"next":{"headline":"Memory corruption in n/a","id":"CVE-2020-12763"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["0.13.1-2.el8"],"introduced":["0"],"last_affected":[],"package":"json-c-devel","purl":"pkg:rpm/almalinux/json-c-devel","source":"ALSA-2021:4382"},{"ecosystem":"AlmaLinux:8","fixed":["0.13.1-2.el8"],"introduced":["0"],"last_affected":[],"package":"json-c-doc","purl":"pkg:rpm/almalinux/json-c-doc","source":"ALSA-2021:4382"},{"ecosystem":"AlmaLinux:8","fixed":["0.99.9-2.el8"],"introduced":["0"],"last_affected":[],"package":"libfastjson","purl":"pkg:rpm/almalinux/libfastjson","source":"ALSA-2023:6976"},{"ecosystem":"AlmaLinux:9","fixed":["0.99.9-5.el9"],"introduced":["0"],"last_affected":[],"package":"libfastjson","purl":"pkg:rpm/almalinux/libfastjson","source":"ALSA-2023:6431"},{"ecosystem":"AlmaLinux:9","fixed":["0.99.9-5.el9"],"introduced":["0"],"last_affected":[],"package":"libfastjson-devel","purl":"pkg:rpm/almalinux/libfastjson-devel","source":"ALSA-2023:6431"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.13.1-2.el8"],"introduced":["0"],"last_affected":[],"package":"json-c-debuginfo","purl":"pkg:rpm/redhat/json-c-debuginfo","source":"RHSA-2021:4382"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.13.1-2.el8"],"introduced":["0"],"last_affected":[],"package":"json-c-debugsource","purl":"pkg:rpm/redhat/json-c-debugsource","source":"RHSA-2021:4382"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.13.1-2.el8"],"introduced":["0"],"last_affected":[],"package":"json-c-devel","purl":"pkg:rpm/redhat/json-c-devel","source":"RHSA-2021:4382"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.99.9-2.el8"],"introduced":["0"],"last_affected":[],"package":"libfastjson","purl":"pkg:rpm/redhat/libfastjson","source":"RHSA-2023:6976"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.99.9-2.el8"],"introduced":["0"],"last_affected":[],"package":"libfastjson-debuginfo","purl":"pkg:rpm/redhat/libfastjson-debuginfo","source":"RHSA-2023:6976"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.99.9-2.el8"],"introduced":["0"],"last_affected":[],"package":"libfastjson-debugsource","purl":"pkg:rpm/redhat/libfastjson-debugsource","source":"RHSA-2023:6976"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:0.13.1-2.el8"],"introduced":["0"],"last_affected":[],"package":"json-c","purl":"pkg:rpm/redhat/json-c","source":"RHSA-2021:4382"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:0.13.1-2.el8"],"introduced":["0"],"last_affected":[],"package":"json-c-debuginfo","purl":"pkg:rpm/redhat/json-c-debuginfo","source":"RHSA-2021:4382"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:0.13.1-2.el8"],"introduced":["0"],"last_affected":[],"package":"json-c-debugsource","purl":"pkg:rpm/redhat/json-c-debugsource","source":"RHSA-2021:4382"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:0.13.1-2.el8"],"introduced":["0"],"last_affected":[],"package":"json-c-doc","purl":"pkg:rpm/redhat/json-c-doc","source":"RHSA-2021:4382"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:0.99.9-5.el9"],"introduced":["0"],"last_affected":[],"package":"libfastjson","purl":"pkg:rpm/redhat/libfastjson","source":"RHSA-2023:6431"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:0.99.9-5.el9"],"introduced":["0"],"last_affected":[],"package":"libfastjson-debuginfo","purl":"pkg:rpm/redhat/libfastjson-debuginfo","source":"RHSA-2023:6431"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:0.99.9-5.el9"],"introduced":["0"],"last_affected":[],"package":"libfastjson-debugsource","purl":"pkg:rpm/redhat/libfastjson-debugsource","source":"RHSA-2023:6431"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:0.99.9-5.el9"],"introduced":["0"],"last_affected":[],"package":"libfastjson-debuginfo","purl":"pkg:rpm/redhat/libfastjson-debuginfo","source":"RHSA-2023:6431"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:0.99.9-5.el9"],"introduced":["0"],"last_affected":[],"package":"libfastjson-debugsource","purl":"pkg:rpm/redhat/libfastjson-debugsource","source":"RHSA-2023:6431"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:0.99.9-5.el9"],"introduced":["0"],"last_affected":[],"package":"libfastjson-devel","purl":"pkg:rpm/redhat/libfastjson-devel","source":"RHSA-2023:6431"},{"ecosystem":"Red Hat:rhel_eus:8.6::appstream","fixed":["0:0.99.9-1.el8_6.1"],"introduced":["0"],"last_affected":[],"package":"libfastjson","purl":"pkg:rpm/redhat/libfastjson","source":"RHSA-2024:0411"},{"ecosystem":"Red Hat:rhel_eus:8.6::appstream","fixed":["0:0.99.9-1.el8_6.1"],"introduced":["0"],"last_affected":[],"package":"libfastjson-debuginfo","purl":"pkg:rpm/redhat/libfastjson-debuginfo","source":"RHSA-2024:0411"},{"ecosystem":"Red Hat:rhel_eus:8.6::appstream","fixed":["0:0.99.9-1.el8_6.1"],"introduced":["0"],"last_affected":[],"package":"libfastjson-debugsource","purl":"pkg:rpm/redhat/libfastjson-debugsource","source":"RHSA-2024:0411"},{"ecosystem":"Red Hat:rhel_eus:8.8::appstream","fixed":["0:0.99.9-1.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"libfastjson","purl":"pkg:rpm/redhat/libfastjson","source":"RHSA-2024:0573"},{"ecosystem":"Red Hat:rhel_eus:8.8::appstream","fixed":["0:0.99.9-1.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"libfastjson-debuginfo","purl":"pkg:rpm/redhat/libfastjson-debuginfo","source":"RHSA-2024:0573"},{"ecosystem":"Red Hat:rhel_eus:8.8::appstream","fixed":["0:0.99.9-1.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"libfastjson-debugsource","purl":"pkg:rpm/redhat/libfastjson-debugsource","source":"RHSA-2024:0573"},{"ecosystem":"Red Hat:rhel_eus:9.0::appstream","fixed":["0:0.99.9-3.el9_0.1"],"introduced":["0"],"last_affected":[],"package":"libfastjson","purl":"pkg:rpm/redhat/libfastjson","source":"RHSA-2024:1154"},{"ecosystem":"Red Hat:rhel_eus:9.0::appstream","fixed":["0:0.99.9-3.el9_0.1"],"introduced":["0"],"last_affected":[],"package":"libfastjson-debuginfo","purl":"pkg:rpm/redhat/libfastjson-debuginfo","source":"RHSA-2024:1154"},{"ecosystem":"Red Hat:rhel_eus:9.0::appstream","fixed":["0:0.99.9-3.el9_0.1"],"introduced":["0"],"last_affected":[],"package":"libfastjson-debugsource","purl":"pkg:rpm/redhat/libfastjson-debugsource","source":"RHSA-2024:1154"},{"ecosystem":"Red Hat:rhel_eus:9.2::appstream","fixed":["0:0.99.9-3.el9_2.1"],"introduced":["0"],"last_affected":[],"package":"libfastjson","purl":"pkg:rpm/redhat/libfastjson","source":"RHSA-2024:1086"},{"ecosystem":"Red Hat:rhel_eus:9.2::appstream","fixed":["0:0.99.9-3.el9_2.1"],"introduced":["0"],"last_affected":[],"package":"libfastjson-debuginfo","purl":"pkg:rpm/redhat/libfastjson-debuginfo","source":"RHSA-2024:1086"},{"ecosystem":"Red Hat:rhel_eus:9.2::appstream","fixed":["0:0.99.9-3.el9_2.1"],"introduced":["0"],"last_affected":[],"package":"libfastjson-debugsource","purl":"pkg:rpm/redhat/libfastjson-debugsource","source":"RHSA-2024:1086"},{"ecosystem":"Rocky Linux:8","fixed":["0:0.13.1-2.el8"],"introduced":["0"],"last_affected":[],"package":"json-c","purl":"pkg:rpm/rocky-linux/json-c?distro=rocky-linux-8-5-legacy\u0026epoch=0","source":"RLSA-2021:4382"},{"ecosystem":"Rocky Linux:8","fixed":["0:0.99.9-2.el8"],"introduced":["0"],"last_affected":[],"package":"libfastjson","purl":"pkg:rpm/rocky-linux/libfastjson?distro=rocky-linux-8\u0026epoch=0","source":"RLSA-2023:6976"},{"ecosystem":"Rocky Linux:9","fixed":["0:0.99.9-5.el9"],"introduced":["0"],"last_affected":[],"package":"libfastjson","purl":"pkg:rpm/rocky-linux/libfastjson?distro=rocky-linux-9\u0026epoch=0","source":"RLSA-2023:6431"},{"ecosystem":"SUSE:Enterprise Storage 6","fixed":["0.13-3.3.1"],"introduced":["0"],"last_affected":[],"package":"json-c","purl":"pkg:rpm/suse/json-c\u0026distro=SUSE%20Enterprise%20Storage%206","source":"SUSE-SU-2022:0184-1"},{"ecosystem":"SUSE:Enterprise Storage 7","fixed":["0.13-3.3.1"],"introduced":["0"],"last_affected":[],"package":"json-c","purl":"pkg:rpm/suse/json-c\u0026distro=SUSE%20Enterprise%20Storage%207","source":"SUSE-SU-2022:0184-1"},{"ecosystem":"SUSE:Enterprise Storage 7.1","fixed":["0.99.8-150000.3.3.1"],"introduced":["0"],"last_affected":[],"package":"libfastjson","purl":"pkg:rpm/suse/libfastjson\u0026distro=SUSE%20Enterprise%20Storage%207.1","source":"SUSE-SU-2024:1775-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","fixed":["0.13-3.3.1"],"introduced":["0"],"last_affected":[],"package":"json-c","purl":"pkg:rpm/suse/json-c\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-ESPOS","source":"SUSE-SU-2022:0184-1"}],"prev":{"headline":"Integer overflow in n/a","id":"CVE-2020-12761"},"products":["n/a"],"published":"2020-05-09","related":[{"cvss_score":9.8,"headline":"SaltStack Salt Authentication Bypass","id":"CVE-2020-11651","kev_date_added":"2021-11-03","published":"2020-04-30"},{"cvss_score":9.8,"headline":"OpenSMTPD Remote Code Execution","id":"CVE-2020-7247","kev_date_added":"2022-03-25","published":"2020-01-29"},{"cvss_score":9.8,"headline":"Exim Out-of-bounds Write","id":"CVE-2019-16928","kev_date_added":"2022-03-03","published":"2019-09-27"},{"cvss_score":9.8,"headline":"Exim Buffer Overflow","id":"CVE-2018-6789","kev_date_added":"2021-11-03","published":"2018-02-08"},{"cvss_score":9.8,"headline":"Oracle Java SE and Java SE Embedded Remote Code Execution","id":"CVE-2015-2590","kev_date_added":"2022-03-03","published":"2015-07-16"},{"cvss_score":9.8,"headline":"Oracle JRE Remote Code Execution","id":"CVE-2013-0422","kev_date_added":"2022-05-25","published":"2013-01-10"},{"cvss_score":9.8,"headline":"Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution","id":"CVE-2011-3544","kev_date_added":"2022-03-03","published":"2011-10-19"}],"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":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"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":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-14","vendors":["n/a"]},"summary":"An attacker can trigger an integer overflow and out-of-bounds write in json-c by providing a large JSON file, potentially leading to code execution or denial of service.","url":"https://insights.sbomify.com/CVE-2020-12762/"}