---
title: "CVE-2013-0249\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2013-0249?format=md
keywords: index, follow
---

# CVE-2013-0249

Publication date 8 February 2013

Last updated 24 July 2024

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

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

[Read the notes from the security team](https://ubuntu.com/security/CVE-2013-0249?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| curl | 12.10 quantal | Fixed 7.27.0-1ubuntu1.1 |
| 12.04 LTS precise | Not affected |
| 11.10 oneiric | Not affected |
| 10.04 LTS lucid | Not affected |
| 8.04 LTS hardy | Not affected |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2013-0249?format=md#patch-details)

## Notes

---

### [jdstrand](https://launchpad.net/~jdstrand)

per upstream, curl < 7.26.0 is not affected

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| curl | * Upstream:   <http://curl.haxx.se/curl-sasl.patch> |

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-0249)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2013-0249)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2013-0249)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2013-0249)

### Related Ubuntu Security Notices (USN)

+ [USN-1721-1](https://usn.ubuntu.com/USN-1721-1)
+ curl vulnerability
+ 12 February 2013

### Other references

* <http://curl.haxx.se/docs/adv_20130206.html>
* <http://blog.volema.com/curl-rce.html>
* <https://www.cve.org/CVERecord?id=CVE-2013-0249>
