CVE-2013-2174 in Canonical Ubuntu Linux and 4 more products
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.
Affects 5 products from 4 vendors. Facts below cite their sources.
Remotely exploitable over the network.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Canonical | Ubuntu Linux | 10.04 12.04 12.10 13.04 |
| Haxx | Curl | 7.7 7.7.1 7.7.2 7.7.3 7.8 7.8.1+75 more7.9 7.9.1 7.9.2 7.9.3 7.9.4 7.9.5 7.9.6 7.9.7 7.9.8 7.10 7.10.1 7.10.2 7.10.3 7.10.4 7.10.5 7.10.6 7.10.7 7.10.8 7.11.0 7.11.1 7.11.2 7.12.0 7.12.1 7.12.2 7.12.3 7.13.0 7.13.1 7.13.2 7.14.0 7.14.1 7.15.0 7.15.1 7.15.2 7.15.3 7.15.4 7.15.5 7.16.0 7.16.1 7.16.2 7.16.3 7.16.4 7.17.0 7.17.1 7.18.0 7.18.1 7.18.2 7.19.0 7.19.1 7.19.2 7.19.3 7.19.4 7.19.5 7.19.6 7.19.7 7.20.0 7.20.1 7.21.0 7.21.1 7.21.2 7.21.3 7.21.4 7.21.5 7.21.6 7.21.7 7.22.0 7.23.0 7.23.1 7.24.0 7.25.0 7.26.0 7.27.0 7.28.0 7.28.1 7.29.0 7.30.0 |
| Haxx | Libcurl | 7.7 7.7.1 7.7.2 7.7.3 7.8 7.8.1+75 more7.9 7.9.1 7.9.2 7.9.3 7.9.4 7.9.5 7.9.6 7.9.7 7.9.8 7.10 7.10.1 7.10.2 7.10.3 7.10.4 7.10.5 7.10.6 7.10.7 7.10.8 7.11.0 7.11.1 7.11.2 7.12.0 7.12.1 7.12.2 7.12.3 7.13.0 7.13.1 7.13.2 7.14.0 7.14.1 7.15.0 7.15.1 7.15.2 7.15.3 7.15.4 7.15.5 7.16.0 7.16.1 7.16.2 7.16.3 7.16.4 7.17.0 7.17.1 7.18.0 7.18.1 7.18.2 7.19.0 7.19.1 7.19.2 7.19.3 7.19.4 7.19.5 7.19.6 7.19.7 7.20.0 7.20.1 7.21.0 7.21.1 7.21.2 7.21.3 7.21.4 7.21.5 7.21.6 7.21.7 7.22.0 7.23.0 7.23.1 7.24.0 7.25.0 7.26.0 7.27.0 7.28.0 7.28.1 7.29.0 7.30.0 |
| Opensuse | Opensuse | 11.4 |
| Redhat | Enterprise Linux | 5 6.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2013-2174 |
|---|---|
| BreachSpider ID | BS-2013-GLOBAL-094332-M |
| CVSS vector | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| Published | 2013-07-31 |
| Last modified | 2026-06-16 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-119: Improper Restriction of Operations within Memory Buffer
Parent class for buffer-related vulnerabilities where operations exceed buffer boundaries.
Related attack patterns (CAPEC)
CAPEC-8 Buffer Overflow in an API Call via CWE-119
CAPEC-9 Buffer Overflow in Local Command-Line Utilities via CWE-119
CAPEC-10 Buffer Overflow via Environment Variables via CWE-119
CAPEC-14 Client-side Injection-induced Buffer Overflow via CWE-119
CAPEC-24 Filter Failure through Buffer Overflow via CWE-119
Show all 12
CAPEC-42 MIME Conversion via CWE-119
CAPEC-44 Overflow Binary Resource File via CWE-119
CAPEC-45 Buffer Overflow via Symbolic Links via CWE-119
CAPEC-46 Overflow Variables and Tags via CWE-119
CAPEC-47 Buffer Overflow via Parameter Expansion via CWE-119
CAPEC-100 Overflow Buffers via CWE-119
CAPEC-123 Buffer Manipulation via CWE-119
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2013. A medium severity vulnerability affects Canonical systems (CVE-2013-2174). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: 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. CVSS vector: AV:N/AC:M/Au:N/C:P/I:P/A:P.
Questions
What is CVE-2013-2174?
This vulnerability was disclosed in 2013. A medium severity vulnerability affects Canonical systems (CVE-2013-2174). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2013-2174?
CVE-2013-2174 has CVSS 6.8 (Medium). Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P. EPSS: 9.8%.
Is CVE-2013-2174 actively exploited?
No confirmed active exploitation of CVE-2013-2174 as of 2026-09-25.
How do I remediate CVE-2013-2174?
Priority: MONITOR. Advisory: http://rhn.redhat.com/errata/RHSA-2013-0983.html PSIRT: [email protected]
What systems are affected by CVE-2013-2174?
CVE-2013-2174 affects Canonical Ubuntu Linux; Haxx Curl, Libcurl; Opensuse Opensuse; Redhat Enterprise Linux.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Ubuntu Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.