{"id":"UBUNTU-CVE-2021-3939","details":"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.","modified":"2026-04-22T13:00:01.808708Z","published":"2021-11-16T18:00:00Z","related":["USN-5149-1"],"upstream":["CVE-2021-3939"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-3939"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5149-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-3939"}],"affected":[{"package":{"name":"accountsservice","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/accountsservice@0.6.55-0ubuntu12~20.04.5?arch=source&distro=focal"},"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"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"accountsservice","binary_version":"0.6.55-0ubuntu12~20.04.5"},{"binary_name":"gir1.2-accountsservice-1.0","binary_version":"0.6.55-0ubuntu12~20.04.5"},{"binary_name":"libaccountsservice0","binary_version":"0.6.55-0ubuntu12~20.04.5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3939.json"}},{"package":{"name":"accountsservice","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/accountsservice@0.6.55-3ubuntu2?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.55-3ubuntu2"}]}],"versions":["0.6.55-0ubuntu14","0.6.55-3ubuntu1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"accountsservice","binary_version":"0.6.55-3ubuntu2"},{"binary_name":"gir1.2-accountsservice-1.0","binary_version":"0.6.55-3ubuntu2"},{"binary_version":"0.6.55-3ubuntu2","binary_name":"libaccountsservice0"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3939.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H"},{"type":"Ubuntu","score":"high"}]}