CVE-2012-0036
CVE-2012-0036 is a high-severity vulnerability in Curl with a CVSS 2.0 base score of 7.5. Its EPSS exploit-prediction score of 17% places it in the 97th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-89.
Key facts
- Severity: High (CVSS 2.0 base score 7.5)
- EPSS exploit prediction: 17% (97th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-89
- Affected product: Curl
- Published:
- Last modified:
Description
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.
Frequently asked questions
- 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.
- How severe is CVE-2012-0036?
- CVE-2012-0036 has a CVSS 2.0 base score of 7.5, rated high severity.
- Is CVE-2012-0036 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 17% (97th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2012-0036?
- CVE-2012-0036 primarily affects Curl. In total, 26 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2012-0036?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2012-0036 published?
- CVE-2012-0036 was published on 2012-04-13 and last updated on 2026-06-16.
References
- http://curl.haxx.se/curl-url-sanitize.patch
- http://curl.haxx.se/docs/adv_20120124.html
- http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c03360041
- http://lists.apple.com/archives/security-announce/2012/May/msg00001.html
- http://secunia.com/advisories/48256
- http://security.gentoo.org/glsa/glsa-201203-02.xml
- http://support.apple.com/kb/HT5281
- http://www.debian.org/security/2012/dsa-2398
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:058
- http://www.oracle.com/technetwork/topics/security/cpujul2015-2367936.html
- http://www.securityfocus.com/bid/51665
- http://www.securitytracker.com/id/1032924
- https://bugzilla.redhat.com/show_bug.cgi?id=773457
- https://github.com/bagder/curl/commit/75ca568fa1c19de4c5358fed246686de8467c238
- https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03760en_us
Affected products (26)
- cpe:2.3:a:curl:curl:7.20.0:*:*:*:*:*:*:*
- cpe:2.3:a:curl:curl:7.20.1:*:*:*:*:*:*:*
- cpe:2.3:a:curl:curl:7.21.0:*:*:*:*:*:*:*
- cpe:2.3:a:curl:curl:7.21.1:*:*:*:*:*:*:*
- cpe:2.3:a:curl:curl:7.21.2:*:*:*:*:*:*:*
- cpe:2.3:a:curl:curl:7.21.3:*:*:*:*:*:*:*
- cpe:2.3:a:curl:curl:7.21.4:*:*:*:*:*:*:*
- cpe:2.3:a:curl:curl:7.21.5:*:*:*:*:*:*:*
- cpe:2.3:a:curl:curl:7.21.6:*:*:*:*:*:*:*
- cpe:2.3:a:curl:curl:7.21.7:*:*:*:*:*:*:*
- cpe:2.3:a:curl:curl:7.22.0:*:*:*:*:*:*:*
- cpe:2.3:a:curl:curl:7.23.0:*:*:*:*:*:*:*
- cpe:2.3:a:curl:curl:7.23.1:*:*:*:*:*:*:*
- cpe:2.3:a:curl:libcurl:7.20.0:*:*:*:*:*:*:*
- cpe:2.3:a:curl:libcurl:7.20.1:*:*:*:*:*:*:*
- cpe:2.3:a:curl:libcurl:7.21.0:*:*:*:*:*:*:*
- cpe:2.3:a:curl:libcurl:7.21.1:*:*:*:*:*:*:*
- cpe:2.3:a:curl:libcurl:7.21.2:*:*:*:*:*:*:*
- cpe:2.3:a:curl:libcurl:7.21.3:*:*:*:*:*:*:*
- cpe:2.3:a:curl:libcurl:7.21.4:*:*:*:*:*:*:*
- cpe:2.3:a:curl:libcurl:7.21.5:*:*:*:*:*:*:*
- cpe:2.3:a:curl:libcurl:7.21.6:*:*:*:*:*:*:*
- cpe:2.3:a:curl:libcurl:7.21.7:*:*:*:*:*:*:*
- cpe:2.3:a:curl:libcurl:7.22.0:*:*:*:*:*:*:*
- cpe:2.3:a:curl:libcurl:7.23.0:*:*:*:*:*:*:*
- cpe:2.3:a:curl:libcurl:7.23.1:*:*:*:*:*:*:*
More vulnerabilities in Curl
- CVE-2005-3185 — High (CVSS 7.5): Stack-based buffer overflow in the ntlm_output function in http-ntlm.c for (1) wget 1.10, (2) curl 7.13.2, and (3)…
- CVE-2009-0037 — Medium (CVSS 6.8): The redirect implementation in curl and libcurl 5.11 through 7.19.3, when CURLOPT_FOLLOWLOCATION is enabled, accepts…
- CVE-2010-3842 — Medium (CVSS 5.8): Absolute path traversal vulnerability in curl 7.20.0 through 7.21.1, when the --remote-header-name or -J option is…
Other CWE-89 (SQL Injection) vulnerabilities
- CVE-2026-54350 — Critical (CVSS 10.0): Budibase is an open-source low-code platform. Prior to 3.39.12, an unauthenticated visitor of any published Budibase…
- CVE-2026-8054 — Critical (CVSS 10.0): Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in the Publish Audit API endpoints…
- CVE-2026-42287 — Critical (CVSS 10.0): Emlog is an open source website building system. Prior to version 2.6.11, direct SQL injection in article creation and…
- CVE-2026-3325 — Critical (CVSS 10.0): SQL injection (SQLi) in MegaCMS v12.0.0, specifically in the “id_territorio” parameter of the…
- CVE-2025-10878 — Critical (CVSS 10.0): A SQL injection vulnerability exists in the login functionality of Fikir Odalari AdminPando 1.0.1 before 2026-01-26.…
- CVE-2025-57792 — Critical (CVSS 10.0): Explorance Blue versions prior to 8.14.9 contain a SQL injection vulnerability caused by insufficient validation of…