Home / Curl / Curl / CVE-2012-0036
CVE-2012-0036: is it exploited, and which versions of Curl are affected and fixed?
CVE-2012-0036 is a SQL injection vulnerability in Curl. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:08 UTC). Affected: curl 7.20.0, curl 7.20.1, curl 7.21.0 and 23 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (7.5, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:08 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:49 UTC.
What is CVE-2012-0036?
curl and libcurl 7.2x before 7.24.0 do not properly consider special characters during extraction of a pathname from a URL, which allows remote attackers to conduct data-injection attacks via a crafted URL, as demonstrated by a CRLF injection attack on the (1) IMAP, (2) POP3, or (3) SMTP protocol.
From the CVE record by redhat, last updated August 6, 2024, 18:09 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| curl | curl | 7.20.0 | application |
| curl | curl | 7.20.1 | application |
| curl | curl | 7.21.0 | application |
| curl | curl | 7.21.1 | application |
| curl | curl | 7.21.2 | application |
| curl | curl | 7.21.3 | application |
| curl | curl | 7.21.4 | application |
| curl | curl | 7.21.5 | application |
| curl | curl | 7.21.6 | application |
| curl | curl | 7.21.7 | application |
| curl | curl | 7.22.0 | application |
| curl | curl | 7.23.0 | application |
| curl | curl | 7.23.1 | application |
| curl | libcurl | 7.20.0 | application |
| curl | libcurl | 7.20.1 | application |
| curl | libcurl | 7.21.0 | application |
| curl | libcurl | 7.21.1 | application |
| curl | libcurl | 7.21.2 | application |
| curl | libcurl | 7.21.3 | application |
| curl | libcurl | 7.21.4 | application |
| curl | libcurl | 7.21.5 | application |
| curl | libcurl | 7.21.6 | application |
| curl | libcurl | 7.21.7 | application |
| curl | libcurl | 7.22.0 | application |
| curl | libcurl | 7.23.0 | application |
NVD analysis (status Modified), last modified June 16, 2026, 23:36 UTC.
How severe is CVE-2012-0036?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2012-0036 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 15.6% probability of exploitation activity in the next 30 days, percentile 96.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
Where are the vendor advisories and references?
- http://www.oracle.com/technetwork/topics/security/cpujul2015-2367936.html x_refsource_CONFIRM
- HPSBMU02786 vendor-advisory, x_refsource_HP
- https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03760en_us x_refsource_CONFIRM
- 1032924 vdb-entry, x_refsource_SECTRACK
- DSA-2398 vendor-advisory, x_refsource_DEBIAN
- GLSA-201203-02 vendor-advisory, x_refsource_GENTOO
- 51665 vdb-entry, x_refsource_BID
- 48256 third-party-advisory, x_refsource_SECUNIA
- http://curl.haxx.se/docs/adv_20120124.html x_refsource_CONFIRM
- http://curl.haxx.se/curl-url-sanitize.patch x_refsource_CONFIRM
- MDVSA-2012:058 vendor-advisory, x_refsource_MANDRIVA
- https://bugzilla.redhat.com/show_bug.cgi?id=773457 x_refsource_CONFIRM
- http://support.apple.com/kb/HT5281 x_refsource_CONFIRM
- https://github.com/bagder/curl/commit/75ca568fa1c19de4c5358fed246686de8467c238 x_refsource_CONFIRM
- APPLE-SA-2012-05-09-1 vendor-advisory, x_refsource_APPLE
When was it published, and where is the official record?
- Reserved
- December 7, 2011
- Published
- April 13, 2012, 20:00 UTC
- CVE record updated
- August 6, 2024, 18:09 UTC by redhat
- NVD
- Modified, last modified June 16, 2026, 23:36 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:49 UTC; KEV December 3, 2026, 07:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Curl?
- Oct 20, 2026CVE-2026-107929 curl: exposure of Data Element to Wrong Session
- Oct 20, 2026CVE-2026-107928 curl: buffer Over-read
- Oct 20, 2026CVE-2026-94266 curl: credentials insufficiently protected
- Oct 20, 2026CVE-2026-94265 curl: information disclosure
- Oct 20, 2026CVE-2026-92391 curl: uncontrolled recursion
- Oct 20, 2026CVE-2026-92390 curl: external Control of File Name or Path
- Oct 20, 2026CVE-2026-92389 curl: information disclosure
- Oct 20, 2026CVE-2026-92388 curl: use after free
Questions about CVE-2012-0036
Is CVE-2012-0036 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:08 UTC. FIRST's EPSS gives it a 15.6% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Curl are affected by CVE-2012-0036?
curl 7.20.0, curl 7.20.1, curl 7.21.0, curl 7.21.1, curl 7.21.2, curl 7.21.3 and 20 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2012-0036?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2012-0036?
High (7.5, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2012-0036?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.