---
title: "CVE-2012-2944\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-2012-2944?format=md
keywords: index, follow
---

# CVE-2012-2944

Publication date 30 May 2012

Last updated 24 July 2024

---

Ubuntu priority

**Medium**

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

Toggle side navigation

## Description

Buffer overflow in the addchar function in common/parseconf.c in upsd in
Network UPS Tools (NUT) before 2.6.4 allows remote attackers to execute
arbitrary code or cause a denial of service (electric-power outage) via a
long string containing non-printable characters.

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

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| nut | 12.04 LTS precise | Fixed 2.6.3-1ubuntu1.1 |
| 11.10 oneiric | Fixed 2.6.1-2ubuntu2.1 |
| 11.04 natty | Fixed 2.6.0-1ubuntu3.1 |
| 10.04 LTS lucid | Fixed 2.4.3-1ubuntu3.2 |
| 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-2012-2944?format=md#patch-details)

## Notes

---

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

per upstream, only 2.4 and higher are 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 |
| --- | --- |
| nut | * Upstream:   <http://trac.networkupstools.org/projects/nut/changeset/3633> |

## References

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

### Related Ubuntu Security Notices (USN)

+ [USN-1456-1](https://usn.ubuntu.com/USN-1456-1)
+ Nut vulnerability
+ 31 May 2012

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2012-2944>
