{"id":"CVE-2021-44847","aliases":["DEBIAN-CVE-2021-44847","EUVD-2021-31650","GHSA-62pr-4hg6-fwph","MGASA-2021-0596","UBUNTU-CVE-2021-44847","openSUSE-SU-2021:1640-1","openSUSE-SU-2024:11846-1"],"status":"published","title":"A stack-based buffer overflow in handle_request function in DHT.c in toxcore 0.1.9 through 0.1.11...","description":"A stack-based buffer overflow in handle_request function in DHT.c in toxcore 0.1.9 through 0.1.11 and 0.2.0 through 0.2.12 (caused by an improper length calculation during the handling of received network packets) allows remote attackers to crash the process or potentially execute arbitrary code via a network packet.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.04135,"percentile":0.90916,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-682","CWE-787"],"published":"2021-12-13T00:53:26Z","modified":"2026-10-23T18:04:00Z","fixes":[{"ecosystem":"Debian:12","package":"libtoxcore","fixed_in":["0.2.13-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"libtoxcore","fixed_in":["0.2.13-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"libtoxcore","fixed_in":["0.2.13-1"],"sources":["osv"]},{"ecosystem":"Mageia:8","package":"toxcore","fixed_in":["0.2.12-1.1.mga8"],"sources":["osv"]},{"ecosystem":"Ubuntu:22.04:LTS","package":"libtoxcore","fixed_in":["0.2.13-1"],"sources":["osv"]},{"ecosystem":"SUSE:Package Hub 15 SP1","package":"c-toxcore","fixed_in":["0.2.13-bp153.2.3.1"],"sources":["osv"]},{"ecosystem":"SUSE:Package Hub 15 SP2","package":"c-toxcore","fixed_in":["0.2.13-bp153.2.3.1"],"sources":["osv"]},{"ecosystem":"SUSE:Package Hub 15 SP3","package":"c-toxcore","fixed_in":["0.2.13-bp153.2.3.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 15.2","package":"c-toxcore","fixed_in":["0.2.13-bp153.2.3.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 15.3","package":"c-toxcore","fixed_in":["0.2.13-bp153.2.3.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Tumbleweed","package":"qtox","fixed_in":["1.17.4-1.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"libtoxcore","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.2.13-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"libtoxcore","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.2.13-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"libtoxcore","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.2.13-1"}]}]},{"source":"osv","ecosystem":"Mageia:8","package":"toxcore","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.2.12-1.1.mga8"}]}]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"libtoxcore","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.2.10-1build2"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"libtoxcore","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.2.13-1"}]}],"versions":["0.2.12-1","0.2.12-1build1"]},{"source":"osv","ecosystem":"SUSE:Package Hub 15 SP1","package":"c-toxcore","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.2.13-bp153.2.3.1"}]}]},{"source":"osv","ecosystem":"SUSE:Package Hub 15 SP2","package":"c-toxcore","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.2.13-bp153.2.3.1"}]}]},{"source":"osv","ecosystem":"SUSE:Package Hub 15 SP3","package":"c-toxcore","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.2.13-bp153.2.3.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Leap 15.2","package":"c-toxcore","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.2.13-bp153.2.3.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Leap 15.3","package":"c-toxcore","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.2.13-bp153.2.3.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"qtox","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.17.4-1.1"}]}]}],"products":[{"vendor":"fedoraproject","product":"fedora"},{"vendor":"toktok","product":"toxcore"}],"references":[{"url":"https://github.com/TokTok/c-toxcore/pull/1718","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory","fix","report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S7EBS3NIRYJ7V3PTNINP3PJSVUHGZTGA/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZLTKINSPO5T65LB3ZASDPCREKUE22RYE/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-44847"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/S7EBS3NIRYJ7V3PTNINP3PJSVUHGZTGA/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZLTKINSPO5T65LB3ZASDPCREKUE22RYE/"},{"url":"https://github.com/advisories/GHSA-62pr-4hg6-fwph"},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-44847","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2021-0596.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=29821","tags":["report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/S7EBS3NIRYJ7V3PTNINP3PJSVUHGZTGA/","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2021-44847","tags":["report"]},{"url":"https://blog.tox.chat/2021/12/stack-based-buffer-overflow-vulnerability-in-udp-packet-handling-in-toxcore-cve-2021-44847/","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-44847","tags":["report"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/MUGBIA3IOPBRCHCVWXL5KMYQ6TB5Z5XI/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1193667","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2021-44847","tags":["web"]},{"url":"","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2021-44847","description":"A stack-based buffer overflow in handle_request function in DHT.c in toxcore 0.1.9 through 0.1.11 and 0.2.0 through 0.2.12 (caused by an improper length calculation during the handling of received network packets) allows remote attackers to crash the process or potentially execute arbitrary code via a network packet.","status":"published","published":"2021-12-13T00:53:26Z","modified":"2024-08-04T04:32:12.863Z","updated_at":"2026-11-02T14:33:00.819444Z"}],"euvd":[{"id":"EUVD-2021-31650","description":"A stack-based buffer overflow in handle_request function in DHT.c in toxcore 0.1.9 through 0.1.11 and 0.2.0 through 0.2.12 (caused by an improper length calculation during the handling of received network packets) allows remote attackers to crash the process or potentially execute arbitrary code via a network packet.","status":"published","published":"2021-12-13T00:53:26Z","modified":"2024-08-04T04:32:12Z","updated_at":"2026-11-03T03:08:28.560815Z"}],"ghsa":[{"id":"GHSA-62pr-4hg6-fwph","title":"A stack-based buffer overflow in handle_request function in DHT.c in toxcore 0.1.9 through 0.1.11...","description":"A stack-based buffer overflow in handle_request function in DHT.c in toxcore 0.1.9 through 0.1.11 and 0.2.0 through 0.2.12 (caused by an improper length calculation during the handling of received network packets) allows remote attackers to crash the process or potentially execute arbitrary code via a network packet.","status":"published","published":"2021-12-14T00:01:16Z","modified":"2023-08-08T15:31:24Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:54:44.111289Z"}],"nvd":[{"id":"CVE-2021-44847","description":"A stack-based buffer overflow in handle_request function in DHT.c in toxcore 0.1.9 through 0.1.11 and 0.2.0 through 0.2.12 (caused by an improper length calculation during the handling of received network packets) allows remote attackers to crash the process or potentially execute arbitrary code via a network packet.","status":"published","published":"2021-12-13T01:15:07.73Z","modified":"2026-06-17T04:12:53.087Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"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-682"],"updated_at":"2026-11-02T14:07:02.189991Z"}],"osv":[{"id":"CVE-2021-44847","description":"A stack-based buffer overflow in handle_request function in DHT.c in toxcore 0.1.9 through 0.1.11 and 0.2.0 through 0.2.12 (caused by an improper length calculation during the handling of received network packets) allows remote attackers to crash the process or potentially execute arbitrary code via a network packet.","status":"published","published":"2021-12-13T01:15:07.73Z","modified":"2026-10-20T10:55:06.809222515Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:21.877444Z"},{"id":"DEBIAN-CVE-2021-44847","description":"A stack-based buffer overflow in handle_request function in DHT.c in toxcore 0.1.9 through 0.1.11 and 0.2.0 through 0.2.12 (caused by an improper length calculation during the handling of received network packets) allows remote attackers to crash the process or potentially execute arbitrary code via a network packet.","status":"published","published":"2021-12-13T01:15:07.73Z","modified":"2026-10-23T18:04:00.590801681Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:35.799676Z"},{"id":"UBUNTU-CVE-2021-44847","description":"A stack-based buffer overflow in handle_request function in DHT.c in toxcore 0.1.9 through 0.1.11 and 0.2.0 through 0.2.12 (caused by an improper length calculation during the handling of received network packets) allows remote attackers to crash the process or potentially execute arbitrary code via a network packet.","status":"published","published":"2021-12-13T01:15:00Z","modified":"2026-04-22T13:03:29.898177Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:54:30.277322Z"},{"id":"MGASA-2021-0596","title":"Updated toxcore packages fix security vulnerability","description":"stack-based buffer overflow in handle_request() in DHT.c (CVE-2021-44847)\n","status":"published","published":"2021-12-30T16:41:51Z","modified":"2026-04-16T04:44:40.47483258Z","updated_at":"2026-11-02T15:49:41.849028Z"},{"id":"openSUSE-SU-2021:1640-1","title":"Security update for c-toxcore","description":"c-toxcore was updated fo fix a securiy issue:\n\n- CVE-2021-44847: Fixed a buffer overflow in handle_request in DHT.c which could lead to remote DoS and potential code execution (boo#1193667)\n","status":"published","published":"2021-12-30T15:02:04Z","modified":"2026-02-04T04:14:21.678106Z","updated_at":"2026-11-02T16:58:32.266854Z"},{"id":"openSUSE-SU-2024:11846-1","title":"qtox-1.17.4-1.1 on GA media","description":"These are all security issues fixed in the qtox-1.17.4-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T02:44:18.040025Z","updated_at":"2026-11-02T16:58:35.485255Z"}]}}
