{"id":"CVE-2012-2944","aliases":["DEBIAN-CVE-2012-2944","DSA-2484-1","EUVD-2012-2923","GHSA-4c72-hpc9-gqmj","openSUSE-SU-2024:10009-1"],"status":"published","title":"Buffer overflow in the addchar function in common/parseconf.c in upsd in Network UPS Tools (NUT)...","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.","severity":{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.06173,"percentile":0.93538,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-119"],"published":"2012-06-01T20:00:00Z","modified":"2026-10-23T17:47:24Z","fixes":[{"ecosystem":"Debian:12","package":"nut","fixed_in":["2.6.4-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"nut","fixed_in":["2.6.4-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"nut","fixed_in":["2.6.4-1"],"sources":["osv"]},{"ecosystem":"Debian:6.0","package":"nut","fixed_in":["2.4.3-1.1squeeze2"],"sources":["osv"]},{"ecosystem":"openSUSE:Tumbleweed","package":"nut","fixed_in":["2.7.3-2.7"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"nut","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.4-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"nut","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.4-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"nut","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.4-1"}]}]},{"source":"osv","ecosystem":"Debian:6.0","package":"nut","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.3-1.1squeeze2"}]}],"versions":["2.4.3-1.1squeeze1"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"nut","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.3-2.7"}]}]}],"products":[{"vendor":"networkupstools","product":"nut"}],"references":[{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/75980","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"http://www.debian.org/security/2012/dsa-2484","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory"]},{"url":"http://alioth.debian.org/tracker/?func=detail\u0026aid=313636","tags":["x_refsource_CONFIRM","x_transferred","Exploit","evidence"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2012:087","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/50389","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://trac.networkupstools.org/projects/nut/changeset/3633","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"https://hermes.opensuse.org/messages/15514634","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","web"]},{"url":"http://secunia.com/advisories/49348","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://networkupstools.org/docs/user-manual.chunked/apis01.html","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://www.securityfocus.com/bid/53743","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"http://www.osvdb.org/82409","tags":["vdb-entry","x_refsource_OSVDB","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-2944"},{"url":"https://github.com/advisories/GHSA-4c72-hpc9-gqmj"},{"url":"https://security-tracker.debian.org/tracker/CVE-2012-2944","tags":["advisory"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2012-2944","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2012-2944","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.","status":"published","published":"2012-06-01T20:00:00Z","modified":"2024-08-06T19:50:04.942Z","updated_at":"2026-11-02T14:34:49.937255Z"}],"euvd":[{"id":"EUVD-2012-2923","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.","status":"published","published":"2012-06-01T20:00:00Z","modified":"2024-08-06T19:50:04Z","updated_at":"2026-11-03T01:56:12.847129Z"}],"ghsa":[{"id":"GHSA-4c72-hpc9-gqmj","title":"Buffer overflow in the addchar function in common/parseconf.c in upsd in Network UPS Tools (NUT)...","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.","status":"published","published":"2022-05-14T04:00:00Z","modified":"2023-02-03T05:01:02Z","cwes":["CWE-119"],"updated_at":"2026-11-02T14:52:53.87765Z"}],"nvd":[{"id":"CVE-2012-2944","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.","status":"published","published":"2012-06-01T20:55:08.857Z","modified":"2026-06-16T23:42:24.207Z","cvss":[{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:02:14.336529Z"}],"osv":[{"id":"CVE-2012-2944","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.","status":"published","published":"2012-06-01T20:55:08Z","modified":"2026-04-10T03:44:16.641111Z","updated_at":"2026-11-02T15:43:58.537032Z"},{"id":"DEBIAN-CVE-2012-2944","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.","status":"published","published":"2012-06-01T20:55:08.857Z","modified":"2026-10-23T17:47:24.478029752Z","updated_at":"2026-11-02T15:45:24.92418Z"},{"id":"DSA-2484-1","title":"nut - denial of service","status":"published","published":"2012-06-02T00:00:00Z","modified":"2026-03-09T01:20:27.379113Z","updated_at":"2026-11-02T15:46:15.489951Z"},{"id":"openSUSE-SU-2024:10009-1","title":"libupsclient1-2.7.3-2.7 on GA media","description":"These are all security issues fixed in the libupsclient1-2.7.3-2.7 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T02:37:24.535138Z","updated_at":"2026-11-02T16:58:33.135986Z"}]}}
