Every CVE Search/ Get API key

CVE-2013-6371

The hash functionality in json-c before 0.12 allows context-dependent attackers to cause a denial...

5.0 MediumFix available

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.

Exploit likelihood

3.11%Up 1.9 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 5.0

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.

Record
CVE-2013-6371
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:N/A:P
Weakness
CWE-310
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2013-6371
Updated
2026-11-02
EUVDEUVD-2013-6196 No score

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.

Record
EUVD-2013-6196
Updated
2026-11-03
GitHub AdvisoriesGHSA-qmhf-38fc-rg36 No score

The hash functionality in json-c before 0.12 allows context-dependent attackers to cause a denial...

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.

Record
GHSA-qmhf-38fc-rg36
Updated
2026-11-02
OSVBELL-CVE-2013-6371 5.0

CVE-2013-6371 does not affect BellSoft software

Record
BELL-CVE-2013-6371
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:N/A:P
Updated
2026-11-02
OSV No score

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.

Record
CVE-2013-6371
Updated
2026-11-02
Show 7 moreShow less
OSVDEBIAN-CVE-2013-6371 No score

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.

Record
DEBIAN-CVE-2013-6371
Updated
2026-11-02
OSVMGASA-2014-0175 No score

Updated json-c packages fix security vulnerabilities

Updated json-c packages fix security vulnerabilities:

Florian Weimer reported that the printbuf APIs used in the json-c library used ints for counting buffer lengths, which is inappropriate for 32bit architectures. These functions need to be changed to using size_t if possible for sizes, or to be hardened against negative values if not. This could be used to cause a denial of service in an application linked to the json-c library (CVE-2013-6370).

Florian Weimer reported that the hash function in the json-c library was weak, and that parsing smallish JSON strings showed quadratic timing behaviour. This could cause an application linked to the json-c library, and that processes some specially-crafted JSON data, to use excessive amounts of CPU (CVE-2013-6371).

Record
MGASA-2014-0175
Updated
2026-11-02
OSVopenSUSE-SU-2024:10013-1 No score

libjson-c-devel-0.12.1-1.3 on GA media

These are all security issues fixed in the libjson-c-devel-0.12.1-1.3 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10013-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:10498-1 No score

rsyslog-8.23.0-2.1 on GA media

These are all security issues fixed in the rsyslog-8.23.0-2.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10498-1
Updated
2026-11-02
OSVopenSUSE-SU-2026:11188-1 No score

json-c-devel-0.19-1.1 on GA media

These are all security issues fixed in the json-c-devel-0.19-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2026:11188-1
Updated
2026-11-02
OSVUBUNTU-CVE-2013-6371 No score

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.

Record
UBUNTU-CVE-2013-6371
Updated
2026-11-02
OSVUSN-2245-1 No score

json-c vulnerabilities

Florian Weimer discovered that json-c incorrectly handled buffer lengths. An attacker could use this issue with a specially-crafted large JSON document to cause json-c to crash, resulting in a denial of service. (CVE-2013-6370)

Florian Weimer discovered that json-c incorrectly handled hash arrays. An attacker could use this issue with a specially-crafted JSON document to cause json-c to consume CPU resources, resulting in a denial of service. (CVE-2013-6371)

Record
USN-2245-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
json-c
Debian:12
before 0.11-4
0.11-4
json-c
Debian:13
before 0.11-4
0.11-4
json-c
Debian:14
before 0.11-4
0.11-4
json-c
Mageia:3
From an advisory covering 2 CVEs
before 0.11-1.mga3
0.11-1.mga3
json-c
Mageia:4
From an advisory covering 2 CVEs
before 0.11-3.1.mga4
0.11-3.1.mga4
json-c
Red Hat:enterprise_linux:7::client
From an advisory covering 2 CVEs
before 0:0.11-4.el7_0
0:0.11-4.el7_0
json-c-debuginfo
Red Hat:enterprise_linux:7::client
From an advisory covering 2 CVEs
before 0:0.11-4.el7_0
0:0.11-4.el7_0
json-c-devel
Red Hat:enterprise_linux:7::client
From an advisory covering 2 CVEs
before 0:0.11-4.el7_0
0:0.11-4.el7_0
json-c-doc
Red Hat:enterprise_linux:7::client
From an advisory covering 2 CVEs
before 0:0.11-4.el7_0
0:0.11-4.el7_0
json-c
Red Hat:enterprise_linux:7::computenode
From an advisory covering 2 CVEs
before 0:0.11-4.el7_0
0:0.11-4.el7_0
Show 16 moreShow less
Affected packages
PackageAffectedFixed
json-c-debuginfo
Red Hat:enterprise_linux:7::computenode
From an advisory covering 2 CVEs
before 0:0.11-4.el7_0
0:0.11-4.el7_0
json-c-devel
Red Hat:enterprise_linux:7::computenode
From an advisory covering 2 CVEs
before 0:0.11-4.el7_0
0:0.11-4.el7_0
json-c-doc
Red Hat:enterprise_linux:7::computenode
From an advisory covering 2 CVEs
before 0:0.11-4.el7_0
0:0.11-4.el7_0
json-c
Red Hat:enterprise_linux:7::server
From an advisory covering 2 CVEs
before 0:0.11-4.el7_0
0:0.11-4.el7_0
json-c-debuginfo
Red Hat:enterprise_linux:7::server
From an advisory covering 2 CVEs
before 0:0.11-4.el7_0
0:0.11-4.el7_0
json-c-devel
Red Hat:enterprise_linux:7::server
From an advisory covering 2 CVEs
before 0:0.11-4.el7_0
0:0.11-4.el7_0
json-c-doc
Red Hat:enterprise_linux:7::server
From an advisory covering 2 CVEs
before 0:0.11-4.el7_0
0:0.11-4.el7_0
json-c
Red Hat:enterprise_linux:7::workstation
From an advisory covering 2 CVEs
before 0:0.11-4.el7_0
0:0.11-4.el7_0
json-c-debuginfo
Red Hat:enterprise_linux:7::workstation
From an advisory covering 2 CVEs
before 0:0.11-4.el7_0
0:0.11-4.el7_0
json-c-devel
Red Hat:enterprise_linux:7::workstation
From an advisory covering 2 CVEs
before 0:0.11-4.el7_0
0:0.11-4.el7_0
json-c-doc
Red Hat:enterprise_linux:7::workstation
From an advisory covering 2 CVEs
before 0:0.11-4.el7_0
0:0.11-4.el7_0
json-c
Ubuntu:14.04:LTS
before 0.11-3ubuntu1.2, plus listed versions
0.11-2ubuntu10.11-3ubuntu1
0.11-3ubuntu1.2
json-c
Ubuntu:14.04:LTS
From an advisory covering 2 CVEs
before 0.11-3ubuntu1.2, plus listed versions
0.11-2ubuntu10.11-3ubuntu1
0.11-3ubuntu1.2
json-c
openSUSE:Tumbleweed
From an advisory covering 2 CVEs
before 0.12.1-1.3
0.12.1-1.3
rsyslog
openSUSE:Tumbleweed
From an advisory covering 6 CVEs
before 8.23.0-2.1
8.23.0-2.1
json-c
openSUSE:Tumbleweed
From an advisory covering 4 CVEs
before 0.19-1.1
0.19-1.1

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2013-6371 is a medium vulnerability (CVSS 5.0) in Json-c, published April 8, 2014. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.11%, the 87th percentile. Fixed in json-c 0.11-4.

References

Show 28 moreShow less
MoveEnter Open