Skip to content
Fencer Intel
medium 6.8

CVE-2013-2174 json

Heap-based buffer overflow in the curl_easy_unescape function in lib/escape.c in cURL and libcurl 7.7 through 7.30.0 allows remote attacker…

published 2013-07-31 13 y ago modified 2026-06-16 4 mo ago also EUVD-2013-2133

cvss
6.8
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
9.8%
EPSS 9.8% chance of exploitation in 30 days, percentile 95%
public exploits
0
none known

Summary

Heap-based buffer overflow in the curl_easy_unescape function in lib/escape.c in cURL and libcurl 7.7 through 7.30.0 allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted string ending in a "%" (percent) character.

Patch / fix

  • haxx curl 7.31.0
  • haxx libcurl 7.31.0
  • curl Debian 14, Debian 13, Debian 12 7.31.0-1

debian advisories DEBIAN-CVE-2013-2174

  • curl RHEL 5 7.15.5-17.el5_9
  • curl RHEL 6 7.19.7-37.el6_4
  • libcurl RHEL 6 7.19.7-37.el6_4

red hat advisories RHSA-2013:0983

  • curl openSUSE Tumbleweed 7.51.0-1.1

opensuse advisories openSUSE-SU-2024:10303-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2013-2174 updated cvss 6.8

curl: Loop counter error, leading to heap-based buffer overflow when decoding certain URLs

  • Red Hat Enterprise Linux (v. 5 server) curl 7.15.5-17.el5_9 Red Hat Enterprise Linux Desktop (v. 6) curl 7.19.7-37.el6_4, libcurl 7.19.7-37.el6_4 Red Hat Enterprise Linux Desktop Optional (v. 6) curl 7.19.7-37.el6_4, libcurl 7.19.7-37.el6_4 Red Hat Enterprise Linux HPC Node (v. 6) curl 7.19.7-37.el6_4, libcurl 7.19.7-37.el6_4 Red Hat Enterprise Linux HPC Node Optional (v. 6) curl 7.19.7-37.el6_4, libcurl 7.19.7-37.el6_4 Red Hat Enterprise Linux Server (v. 6) curl 7.19.7-37.el6_4, libcurl 7.19.7-37.el6_4
    +1 more products
    Red Hat Enterprise Linux Workstation (v. 6) curl 7.19.7-37.el6_4, libcurl 7.19.7-37.el6_4
    fixed: vendor fix RHSA-2013:0983

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

9.81% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • github.com https://github.com/bagder/curl/commit/192c4f788d48f82c03e9cef40013f34370e90737 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 2.0 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Improve affected version range and add fix versions.