{"id":"CVE-2013-6371","aliases":["BELL-CVE-2013-6371","DEBIAN-CVE-2013-6371","EUVD-2013-6196","GHSA-qmhf-38fc-rg36","MGASA-2014-0175","RHSA-2014:0703","UBUNTU-CVE-2013-6371","USN-2245-1","openSUSE-SU-2024:10013-1","openSUSE-SU-2024:10498-1","openSUSE-SU-2026:11188-1"],"status":"published","title":"The hash functionality in json-c before 0.12 allows context-dependent attackers to cause a denial...","description":"The hash functionality in json-c before 0.12 allows context-dependent attackers to cause a denial of service (CPU consumption) via crafted JSON data, involving collisions.","severity":{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.0311,"percentile":0.87887,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-310"],"published":"2014-04-08T00:00:00Z","modified":"2026-09-01T20:03:19Z","fixes":[{"ecosystem":"Debian:12","package":"json-c","fixed_in":["0.11-4"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"json-c","fixed_in":["0.11-4"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"json-c","fixed_in":["0.11-4"],"sources":["osv"]},{"ecosystem":"Ubuntu:14.04:LTS","package":"json-c","fixed_in":["0.11-3ubuntu1.2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"json-c","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11-4"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"json-c","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11-4"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"json-c","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11-4"}]}]},{"source":"osv","ecosystem":"Mageia:3","package":"json-c","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11-1.mga3"}]}],"bundled":2},{"source":"osv","ecosystem":"Mageia:4","package":"json-c","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11-3.1.mga4"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::client","package":"json-c","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.11-4.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::client","package":"json-c-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.11-4.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::client","package":"json-c-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.11-4.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::client","package":"json-c-doc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.11-4.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"json-c","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.11-4.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"json-c-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.11-4.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"json-c-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.11-4.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"json-c-doc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.11-4.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"json-c","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.11-4.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"json-c-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.11-4.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"json-c-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.11-4.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"json-c-doc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.11-4.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"json-c","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.11-4.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"json-c-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.11-4.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"json-c-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.11-4.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"json-c-doc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.11-4.el7_0"}]}],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"json-c","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11-3ubuntu1.2"}]}],"versions":["0.11-2ubuntu1","0.11-3ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"json-c","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11-3ubuntu1.2"}]}],"versions":["0.11-2ubuntu1","0.11-3ubuntu1"],"bundled":2},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"json-c","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.1-1.3"}]}],"bundled":2},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"rsyslog","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.23.0-2.1"}]}],"bundled":6},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"json-c","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.19-1.1"}]}],"bundled":4}],"products":[{"vendor":"fedoraproject","product":"fedora"},{"vendor":"json-c","product":"json-c"}],"references":[{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2014:079","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred","Broken Link","advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1032311","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","report"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/92541","tags":["vdb-entry","x_refsource_XF","x_transferred","VDB Entry","advisory"]},{"url":"http://secunia.com/advisories/57791","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Permissions Required","Third Party Advisory","advisory","report"]},{"url":"http://www.securityfocus.com/bid/66715","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2014-April/131845.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","Third Party Advisory","advisory"]},{"url":"https://github.com/json-c/json-c/commit/64e36901a0614bf64a19bc3396469c66dcd0b015","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","fix","report"]},{"url":"http://www.oracle.com/technetwork/topics/security/bulletinoct2015-2511968.html","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-6371","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-qmhf-38fc-rg36"},{"url":"https://docs.bell-sw.com/security/cves/CVE-2013-6371","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2013-6371","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2014-0175.html","tags":["advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1032322","tags":["report"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=13179","tags":["report"]},{"url":"https://access.redhat.com/errata/RHSA-2014:0703","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2014/rhsa-2014_0703.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2013-6370","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2013-6370","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-6370","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2013-6371","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2013-6371","tags":["advisory","report"]},{"url":"https://ubuntu.com/security/CVE-2013-6371","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-2245-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2013-6370","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2013-6370","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2013-6371","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2011-3200","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2013-4758","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2014-3634","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2014-3683","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-11322","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-9146","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2013-6371","description":"The hash functionality in json-c before 0.12 allows context-dependent attackers to cause a denial of service (CPU consumption) via crafted JSON data, involving collisions.","status":"published","published":"2014-04-21T14:00:00Z","modified":"2024-08-06T17:39:01.065Z","updated_at":"2026-11-02T14:34:57.195423Z"}],"euvd":[{"id":"EUVD-2013-6196","description":"The hash functionality in json-c before 0.12 allows context-dependent attackers to cause a denial of service (CPU consumption) via crafted JSON data, involving collisions.","status":"published","published":"2014-04-21T14:00:00Z","modified":"2024-08-06T17:39:01Z","updated_at":"2026-11-03T01:56:26.306678Z"}],"ghsa":[{"id":"GHSA-qmhf-38fc-rg36","title":"The hash functionality in json-c before 0.12 allows context-dependent attackers to cause a denial...","description":"The hash functionality in json-c before 0.12 allows context-dependent attackers to cause a denial of service (CPU consumption) via crafted JSON data, involving collisions.","status":"published","published":"2022-05-17T01:30:29Z","modified":"2023-02-03T05:04:09Z","updated_at":"2026-11-02T14:53:29.869331Z"}],"nvd":[{"id":"CVE-2013-6371","description":"The hash functionality in json-c before 0.12 allows context-dependent attackers to cause a denial of service (CPU consumption) via crafted JSON data, involving collisions.","status":"published","published":"2014-04-22T13:06:26.71Z","modified":"2026-06-17T00:00:22.147Z","cvss":[{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-310"],"updated_at":"2026-11-02T14:02:50.049023Z"}],"osv":[{"id":"BELL-CVE-2013-6371","title":"CVE-2013-6371 does not affect BellSoft software","status":"withdrawn","published":"2014-04-22T13:06:00Z","modified":"2026-01-28T07:19:31.583087Z","cvss":[{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium"}],"updated_at":"2026-11-02T15:28:13.47097Z"},{"id":"CVE-2013-6371","description":"The hash functionality in json-c before 0.12 allows context-dependent attackers to cause a denial of service (CPU consumption) via crafted JSON data, involving collisions.","status":"published","published":"2014-04-22T13:06:26Z","modified":"2026-07-07T08:44:25.05802657Z","updated_at":"2026-11-02T15:43:59.361892Z"},{"id":"DEBIAN-CVE-2013-6371","description":"The hash functionality in json-c before 0.12 allows context-dependent attackers to cause a denial of service (CPU consumption) via crafted JSON data, involving collisions.","status":"published","published":"2014-04-22T13:06:26.71Z","modified":"2026-09-01T20:03:19.014899067Z","updated_at":"2026-11-02T15:45:25.819707Z"},{"id":"MGASA-2014-0175","title":"Updated json-c packages fix security vulnerabilities","description":"Updated json-c packages fix security vulnerabilities:\n\nFlorian Weimer reported that the printbuf APIs used in the json-c library used\nints for counting buffer lengths, which is inappropriate for 32bit\narchitectures.  These functions need to be changed to using size_t if possible\nfor sizes, or to be hardened against negative values if not.  This could be\nused to cause a denial of service in an application linked to the json-c\nlibrary (CVE-2013-6370).\n\nFlorian Weimer reported that the hash function in the json-c library was weak,\nand that parsing smallish JSON strings showed quadratic timing behaviour.\nThis could cause an application linked to the json-c library, and that\nprocesses some specially-crafted JSON data, to use excessive amounts of CPU\n(CVE-2013-6371).\n","status":"published","published":"2014-04-16T13:08:14Z","modified":"2026-04-16T06:23:53.851398424Z","updated_at":"2026-11-02T15:49:39.121227Z"},{"id":"openSUSE-SU-2024:10013-1","title":"libjson-c-devel-0.12.1-1.3 on GA media","description":"These are all security issues fixed in the libjson-c-devel-0.12.1-1.3 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T04:09:30.569264Z","updated_at":"2026-11-02T16:58:33.135986Z"},{"id":"openSUSE-SU-2024:10498-1","title":"rsyslog-8.23.0-2.1 on GA media","description":"These are all security issues fixed in the rsyslog-8.23.0-2.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2025-05-07T18:08:41.295667Z","updated_at":"2026-11-02T16:58:34.487567Z"},{"id":"openSUSE-SU-2026:11188-1","title":"json-c-devel-0.19-1.1 on GA media","description":"These are all security issues fixed in the json-c-devel-0.19-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2026-07-06T00:00:00Z","modified":"2026-07-07T08:30:06.377018387Z","updated_at":"2026-11-02T16:58:38.95195Z"},{"id":"RHSA-2014:0703","title":"Red Hat Security Advisory: json-c security update","status":"published","published":"2024-09-15T21:44:31Z","modified":"2026-06-26T10:24:11Z","updated_at":"2026-11-02T15:53:02.532052Z"},{"id":"UBUNTU-CVE-2013-6371","description":"The hash functionality in json-c before 0.12 allows context-dependent attackers to cause a denial of service (CPU consumption) via crafted JSON data, involving collisions.","status":"published","published":"2014-04-08T00:00:00Z","modified":"2026-04-22T09:24:18.999476Z","updated_at":"2026-11-02T15:54:07.421078Z"},{"id":"USN-2245-1","title":"json-c vulnerabilities","description":"Florian Weimer discovered that json-c incorrectly handled buffer lengths.\nAn attacker could use this issue with a specially-crafted large JSON\ndocument to cause json-c to crash, resulting in a denial of service.\n(CVE-2013-6370)\n\nFlorian Weimer discovered that json-c incorrectly handled hash arrays. An\nattacker could use this issue with a specially-crafted JSON document to\ncause json-c to consume CPU resources, resulting in a denial of service.\n(CVE-2013-6371)\n","status":"published","published":"2014-06-12T16:30:16Z","modified":"2026-04-22T08:53:51.041418Z","updated_at":"2026-11-02T16:58:09.227524Z"}]}}
