CVE-2012-0036 in the critical feed json
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 re…
published 2012-04-13 14 y ago modified 2026-06-16 4 mo ago also EUVD-2012-0076
- cvss
- 7.5
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 16.1%
- EPSS 16.1% chance of exploitation in 30 days, percentile 96%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- haxx curl 7.24.0
- haxx libcurl 7.24.0
- curl Debian 14, Debian 13, Debian 12 7.24.0-1
debian advisories DEBIAN-CVE-2012-0036
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-2012-0036 updated cvss 5.8
curl: URL sanitization vulnerability
-
Red Hat Enterprise Linux 4 curl Red Hat Enterprise Linux 5 curl Red Hat Enterprise Linux 6 curl, libcurlnot affected: vulnerable code not present
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
16.12% chance of exploitation in the next 30 days, higher than 96% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
- github.com /bagder/curl/commit/75ca568fa1c19de4c5358fed246686de8467c238
-
curl.haxx.se
/curl-url-sanitize.patch
patch
-
h20000.www2.hp.com
/bizsupport/TechSupport/Document.jsp?objectID=c03360041
vendor-advisory
-
debian.org
/security/2012/dsa-2398
vendor-advisory
-
security.gentoo.org
/glsa/glsa-201203-02.xml
vendor-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2012:058
vendor-advisory
-
lists.apple.com
/archives/security-announce/2012/May/msg00001.html
vendor-advisory
-
curl.haxx.se
/docs/adv_20120124.html
vendor-advisory
- oracle.com /technetwork/topics/security/cpujul2015-2367936.html
- h20566.www2.hpe.com /hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03760en_us
-
securitytracker.com
/id/1032924
vdb-entry
-
securityfocus.com
/bid/51665
vdb-entry
-
secunia.com
/advisories/48256
third-party-advisory
- bugzilla.redhat.com /show_bug.cgi?id=773457
- support.apple.com /kb/HT5281
Sources
- CVE List CVE-2012-0036
- NVD CVE-2012-0036
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.