{"id":"ALPINE-CVE-2020-12762","details":"json-c through 0.14 has an integer overflow and out-of-bounds write via a large JSON file, as demonstrated by printbuf_memappend.","modified":"2026-08-20T10:18:02.551515365Z","published":"2020-05-09T18:15:11.283Z","upstream":["CVE-2020-12762"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2020-12762"}],"affected":[{"package":{"name":"json-c","ecosystem":"Alpine:v3.10","purl":"pkg:apk/alpine/json-c?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.13.1-r1"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2020-12762.json"}},{"package":{"name":"json-c","ecosystem":"Alpine:v3.11","purl":"pkg:apk/alpine/json-c?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.13.1-r1"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2020-12762.json"}},{"package":{"name":"json-c","ecosystem":"Alpine:v3.12","purl":"pkg:apk/alpine/json-c?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.14-r1"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2020-12762.json"}},{"package":{"name":"json-c","ecosystem":"Alpine:v3.13","purl":"pkg:apk/alpine/json-c?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.14-r1"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2020-12762.json"}},{"package":{"name":"json-c","ecosystem":"Alpine:v3.14","purl":"pkg:apk/alpine/json-c?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.14-r1"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2020-12762.json"}},{"package":{"name":"json-c","ecosystem":"Alpine:v3.15","purl":"pkg:apk/alpine/json-c?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.14-r1"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2020-12762.json"}},{"package":{"name":"json-c","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/json-c?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.14-r1"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2020-12762.json"}},{"package":{"name":"json-c","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/json-c?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.14-r1"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2020-12762.json"}},{"package":{"name":"json-c","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/json-c?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.14-r1"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2020-12762.json"}},{"package":{"name":"json-c","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/json-c?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.14-r1"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2020-12762.json"}},{"package":{"name":"json-c","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/json-c?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.14-r1"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2020-12762.json"}},{"package":{"name":"json-c","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/json-c?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.14-r1"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2020-12762.json"}},{"package":{"name":"json-c","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/json-c?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.14-r1"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2020-12762.json"}},{"package":{"name":"json-c","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/json-c?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.14-r1"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2020-12762.json"}},{"package":{"name":"json-c","ecosystem":"Alpine:v3.24","purl":"pkg:apk/alpine/json-c?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.14-r1"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2020-12762.json"}},{"package":{"name":"json-c","ecosystem":"Alpine:v3.9","purl":"pkg:apk/alpine/json-c?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.13.1-r1"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2020-12762.json"}},{"package":{"name":"libfastjson","ecosystem":"Alpine:v3.15","purl":"pkg:apk/alpine/libfastjson?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2304.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2020-12762.json"}},{"package":{"name":"libfastjson","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/libfastjson?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2304.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2020-12762.json"}},{"package":{"name":"libfastjson","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/libfastjson?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2304.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2020-12762.json"}},{"package":{"name":"libfastjson","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/libfastjson?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2304.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2020-12762.json"}},{"package":{"name":"libfastjson","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/libfastjson?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2304.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2020-12762.json"}},{"package":{"name":"libfastjson","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/libfastjson?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2304.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2020-12762.json"}},{"package":{"name":"libfastjson","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/libfastjson?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2304.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2020-12762.json"}},{"package":{"name":"libfastjson","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/libfastjson?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2304.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2020-12762.json"}},{"package":{"name":"libfastjson","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/libfastjson?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2304.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2020-12762.json"}},{"package":{"name":"libfastjson","ecosystem":"Alpine:v3.24","purl":"pkg:apk/alpine/libfastjson?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2304.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2020-12762.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}