CVE-2012-2944 Memory corruption in n/a

High 7.5 Published Updated

Remote attackers can execute arbitrary code or cause denial of service in Network UPS Tools via a buffer overflow in the upsd daemon.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2012-2944?

CVE-2012-2944 is a high-severity memory corruption vulnerability in n/a, published on 1 Jun 2012. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-119

Which versions are affected by CVE-2012-2944?

It affects 1 product.

Linux distribution packages (1)
nut openSUSE:TumbleweedAll versions2.7.3-2.7

Products include Networkupstools Nut.

How do I fix CVE-2012-2944?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2012-2944 being exploited?

There is no known exploitation of CVE-2012-2944 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2012-2944, DSA-2484-1, GHSA-4c72-hpc9-gqmj, openSUSE-SU-2024:10009-1.

Is CVE-2012-2944 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free