{"id":"CVE-2021-3939","aliases":["EUVD-2021-27152","GHSA-jxh7-q7rm-43ww","UBUNTU-CVE-2021-3939","USN-5149-1"],"status":"published","title":"Free of static data in accountsservice","description":"Ubuntu-specific modifications to accountsservice (in patch file debian/patches/0010-set-language.patch) caused the fallback_locale variable, pointing to static storage, to be freed, in the user_change_language_authorized_cb function. This is reachable via the SetLanguage dbus function. This is fixed in versions 0.6.55-0ubuntu12~20.04.5, 0.6.55-0ubuntu13.3, 0.6.55-0ubuntu14.1.","severity":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.0037,"percentile":0.31364,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-590","CWE-763"],"published":"2021-11-16T17:56:06Z","modified":"2026-06-17T04:06:01Z","fixes":[{"ecosystem":"Ubuntu:20.04:LTS","package":"accountsservice","fixed_in":["0.6.55-0ubuntu12~20.04.5"],"sources":["osv"]},{"ecosystem":"Ubuntu:22.04:LTS","package":"accountsservice","fixed_in":["0.6.55-3ubuntu2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"accountsservice","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.55-0ubuntu12~20.04.5"}]}],"versions":["0.6.55-0ubuntu10","0.6.55-0ubuntu11","0.6.55-0ubuntu12~20.04.1","0.6.55-0ubuntu12~20.04.2","0.6.55-0ubuntu12~20.04.4"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"accountsservice","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.55-3ubuntu2"}]}],"versions":["0.6.55-0ubuntu14","0.6.55-3ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"accountsservice","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.55-0ubuntu12~20.04.5"}]}],"versions":["0.6.55-0ubuntu10","0.6.55-0ubuntu11","0.6.55-0ubuntu12~20.04.1","0.6.55-0ubuntu12~20.04.2","0.6.55-0ubuntu12~20.04.4"]}],"products":[{"vendor":"canonical","product":"accountsservice"},{"vendor":"canonical","product":"ubuntu_linux"},{"vendor":"ubuntu","product":"accountsservice"}],"references":[{"url":"https://ubuntu.com/security/notices/USN-5149-1","tags":["x_transferred","Vendor Advisory","advisory"]},{"url":"https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1950149","tags":["x_transferred","Broken Link"]},{"url":"http://packetstormsecurity.com/files/172848/Ubuntu-accountsservice-Double-Free-Memory-Corruption.html","tags":["x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3939"},{"url":"https://github.com/advisories/GHSA-jxh7-q7rm-43ww"},{"url":"https://ubuntu.com/security/CVE-2021-3939","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-3939","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-3939","title":"Free of static data in accountsservice","description":"Ubuntu-specific modifications to accountsservice (in patch file debian/patches/0010-set-language.patch) caused the fallback_locale variable, pointing to static storage, to be freed, in the user_change_language_authorized_cb function. This is reachable via the SetLanguage dbus function. This is fixed in versions 0.6.55-0ubuntu12~20.04.5, 0.6.55-0ubuntu13.3, 0.6.55-0ubuntu14.1.","status":"published","published":"2021-11-17T03:15:10.949Z","modified":"2024-09-16T18:02:58.362Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-590"],"updated_at":"2026-11-02T14:33:04.020035Z"}],"euvd":[{"id":"EUVD-2021-27152","description":"Ubuntu-specific modifications to accountsservice (in patch file debian/patches/0010-set-language.patch) caused the fallback_locale variable, pointing to static storage, to be freed, in the user_change_language_authorized_cb function. This is reachable via the SetLanguage dbus function. This is fixed in versions 0.6.55-0ubuntu12~20.04.5, 0.6.55-0ubuntu13.3, 0.6.55-0ubuntu14.1.","status":"published","published":"2021-11-17T03:15:10Z","modified":"2024-09-16T18:02:58Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-03T00:55:36.293033Z"}],"ghsa":[{"id":"GHSA-jxh7-q7rm-43ww","title":"Ubuntu-specific modifications to accountsservice (in patch file debian/patches/0010-set-language...","description":"Ubuntu-specific modifications to accountsservice (in patch file debian/patches/0010-set-language.patch) caused the fallback_locale variable, pointing to static storage, to be freed, in the user_change_language_authorized_cb function. This is reachable via the SetLanguage dbus function. This is fixed in versions 0.6.55-0ubuntu12~20.04.5, 0.6.55-0ubuntu13.3, 0.6.55-0ubuntu14.1.","status":"published","published":"2022-05-24T19:20:45Z","modified":"2023-06-21T05:01:17Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-590","CWE-763"],"updated_at":"2026-11-02T14:54:38.89081Z"}],"nvd":[{"id":"CVE-2021-3939","description":"Ubuntu-specific modifications to accountsservice (in patch file debian/patches/0010-set-language.patch) caused the fallback_locale variable, pointing to static storage, to be freed, in the user_change_language_authorized_cb function. This is reachable via the SetLanguage dbus function. This is fixed in versions 0.6.55-0ubuntu12~20.04.5, 0.6.55-0ubuntu13.3, 0.6.55-0ubuntu14.1.","status":"published","published":"2021-11-17T04:15:06.977Z","modified":"2026-06-17T04:06:01.293Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"high","assessor":"secondary"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":7.2,"vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-590","CWE-763"],"updated_at":"2026-11-02T14:07:01.428028Z"}],"osv":[{"id":"UBUNTU-CVE-2021-3939","description":"Ubuntu-specific modifications to accountsservice (in patch file debian/patches/0010-set-language.patch) caused the fallback_locale variable, pointing to static storage, to be freed, in the user_change_language_authorized_cb function. This is reachable via the SetLanguage dbus function. This is fixed in versions 0.6.55-0ubuntu12~20.04.5, 0.6.55-0ubuntu13.3, 0.6.55-0ubuntu14.1.","status":"published","published":"2021-11-16T18:00:00Z","modified":"2026-04-22T13:00:01.808708Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:28.526929Z"},{"id":"USN-5149-1","title":"accountsservice vulnerability","description":"Kevin Backhouse discovered that AccountsService incorrectly handled memory\nwhen performing certain language setting operations. A local attacker could\nuse this issue to escalate privileges.\n","status":"published","published":"2021-11-16T17:56:06Z","modified":"2026-04-22T10:18:17.939858Z","updated_at":"2026-11-02T16:58:15.683829Z"}]}}
