{"id":"USN-4360-2","aliases":[],"status":"published","title":"json-c regression","description":"USN-4360-1 fixed a vulnerability in json-c. The security fix introduced\na memory leak in some scenarios. This update reverts the security fix\npending further investigation.\n\nWe apologize for the inconvenience.\n\nOriginal advisory details:\n\n It was discovered that json-c incorrectly handled certain JSON files.\n An attacker could possibly use this issue to execute arbitrary code.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2020-05-15T18:42:45Z","modified":"2026-04-22T10:05:02Z","fixes":[{"ecosystem":"Ubuntu:16.04:LTS","package":"json-c","fixed_in":["0.11-4ubuntu2.5"],"sources":["osv"]},{"ecosystem":"Ubuntu:18.04:LTS","package":"json-c","fixed_in":["0.12.1-1.3ubuntu0.2"],"sources":["osv"]},{"ecosystem":"Ubuntu:20.04:LTS","package":"json-c","fixed_in":["0.13.1+dfsg-7ubuntu0.2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"json-c","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11-4ubuntu2.5"}]}],"versions":["0.11-4ubuntu2","0.11-4ubuntu2.1","0.11-4ubuntu2.2"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"json-c","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.1-1.3ubuntu0.2"}]}],"versions":["0.12.1-1.2","0.12.1-1.3","0.12.1-1.3ubuntu0.1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"json-c","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.13.1+dfsg-7ubuntu0.2"}]}],"versions":["0.13.1+dfsg-4","0.13.1+dfsg-6","0.13.1+dfsg-7","0.13.1+dfsg-7ubuntu0.1"]}],"references":[{"url":"https://ubuntu.com/security/notices/USN-4360-2","tags":["advisory"]},{"url":"https://launchpad.net/bugs/1878723","tags":["report"]}],"sources":{"osv":[{"id":"USN-4360-2","title":"json-c regression","description":"USN-4360-1 fixed a vulnerability in json-c. The security fix introduced\na memory leak in some scenarios. This update reverts the security fix\npending further investigation.\n\nWe apologize for the inconvenience.\n\nOriginal advisory details:\n\n It was discovered that json-c incorrectly handled certain JSON files.\n An attacker could possibly use this issue to execute arbitrary code.\n","status":"published","published":"2020-05-15T18:42:45Z","modified":"2026-04-22T10:05:02.608974Z","updated_at":"2026-11-02T16:58:14.547547Z"}]}}
