{"id":"CVE-2021-3939","aliases":["CVE-2021-3939"],"related":[],"kind":"vulnerability","state":"published","title":"Free of static data in accountsservice","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Unas modificaciones específicas de Ubuntu a accountsservice (en el archivo de parche debian/patches/0010-set-language.patch) causaron la liberación de la variable fallback_locale, que apunta al almacenamiento estático, en la función user_change_language_authorized_cb. Esto es accesible por medio de la función dbus SetLanguage. Esto es corregido en las versiones 0.6.55-0ubuntu12~20.04.5, 0.6.55-0ubuntu13.3, 0.6.55-0ubuntu14.1","source":"nvd"}],"published":"2021-11-17T03:15:10.949Z","modified":"2026-06-17T04:06:01.293Z","severity":{"scorer":"canonical","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"canonical","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","score":7.2,"rating":"HIGH"}],"cwes":["CWE-590","CWE-763"],"affected":[{"ranges":[{"type":"custom","introduced":"0.6.55-0ubuntu12~20.04","fixed":"0.6.55-0ubuntu12~20.04.5","status":"affected"},{"type":"custom","introduced":"0.6.55-0ubuntu13","fixed":"0.6.55-0ubuntu13.3","status":"affected"},{"type":"custom","introduced":"0.6.55-0ubuntu14","fixed":"0.6.55-0ubuntu14.1","status":"affected"}],"vendor":"Ubuntu","product":"accountsservice","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"0.6.55-0ubuntu12\\~20.04","fixed":"0.6.55-0ubuntu12\\~20.05"},{"status":"affected","introduced":"0.6.55-0ubuntu13","fixed":"0.6.55-0ubuntu13.3"},{"status":"affected","introduced":"0.6.55-0ubuntu14","fixed":"0.6.55-0ubuntu14.1"}],"vendor":"canonical","product":"accountsservice","cpe":"cpe:2.3:a:canonical:accountsservice:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"20.04"},{"status":"affected","version":"21.04"},{"status":"affected","version":"21.10"}],"vendor":"canonical","product":"ubuntu_linux","cpe":"cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:*","source":"nvd"}],"references":[{"url":"https://ubuntu.com/security/notices/USN-5149-1","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1950149","tags":["broken-link","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://packetstormsecurity.com/files/172848/Ubuntu-accountsservice-Double-Free-Memory-Corruption.html","tags":["x-transferred"],"sources":["cvelist","nvd"]}],"credits":["Kevin Backhouse"],"assigner":"canonical","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-3939","url":"https://www.cve.org/CVERecord?id=CVE-2021-3939","licence":"CVE Terms of Use","modified":"2024-09-16T18:02:58.362Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-3939","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3939","licence":"Public domain","modified":"2026-06-17T04:06:01.293Z"}],"updatedAt":"2026-11-25T22:58:05.600Z","epss":{"score":0.0037,"percentile":0.32996,"date":"2026-12-01T12:00:22.000Z"}}