json-c through 0.14 has an integer overflow and out-of-bounds write via a large JSON file, as demonstrated by printbuf_memappend.
https://www.debian.org/security/2020/dsa-4741
https://usn.ubuntu.com/4360-4/
https://usn.ubuntu.com/4360-1/
https://security.netapp.com/advisory/ntap-20210521-0001/
https://security.gentoo.org/glsa/202006-13
https://lists.debian.org/debian-lts-announce/2023/06/msg00023.html
https://lists.debian.org/debian-lts-announce/2020/07/msg00031.html
https://lists.debian.org/debian-lts-announce/2020/05/msg00034.html
https://lists.debian.org/debian-lts-announce/2020/05/msg00032.html
https://github.com/rsyslog/libfastjson/issues/161
https://github.com/json-c/json-c/pull/592
https://cert-portal.siemens.com/productcert/pdf/ssa-637483.pdf