{"api_version":"1","generated_at":"2026-05-02T09:31:29+00:00","cve":"CVE-2021-3939","urls":{"html":"https://cve.report/CVE-2021-3939","api":"https://cve.report/api/cve/CVE-2021-3939.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-3939","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-3939"},"summary":{"title":"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.","state":"PUBLIC","assigner":"security@ubuntu.com","published_at":"2021-11-17 04:15:00","updated_at":"2023-06-12 07:16:00"},"problem_types":["CWE-763"],"metrics":[],"references":[{"url":"https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1950149","name":"https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1950149","refsource":"MISC","tags":[],"title":"Error: Page not found","mime":"text/html","httpstatus":"404","archivestatus":"404"},{"url":"http://packetstormsecurity.com/files/172848/Ubuntu-accountsservice-Double-Free-Memory-Corruption.html","name":"http://packetstormsecurity.com/files/172848/Ubuntu-accountsservice-Double-Free-Memory-Corruption.html","refsource":"MISC","tags":[],"title":"Ubuntu accountsservice Double-Free Memory Corruption ≈ Packet Storm","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://ubuntu.com/security/notices/USN-5149-1","name":"https://ubuntu.com/security/notices/USN-5149-1","refsource":"MISC","tags":[],"title":"USN-5149-1: AccountsService vulnerability | Ubuntu security notices | Ubuntu","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-3939","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3939","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"LEGACY","value":"Kevin Backhouse","lang":""}],"nvd_cpes":[{"cve_year":"2021","cve_id":"3939","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"canonical","cpe5":"accountsservice","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"3939","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"20.04","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"lts","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"3939","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"21.04","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"3939","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"21.10","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-3939","qid":"198573","title":"Ubuntu Security Notification for AccountsService Vulnerability (USN-5149-1)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security@ubuntu.com","DATE_PUBLIC":"2021-11-16T19:08:00.000Z","ID":"CVE-2021-3939","STATE":"PUBLIC","TITLE":"Free of static data in accountsservice"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"accountsservice","version":{"version_data":[{"version_affected":"<","version_name":"0.6.55-0ubuntu12~20.04","version_value":"0.6.55-0ubuntu12~20.04.5"},{"version_affected":"<","version_name":"0.6.55-0ubuntu13","version_value":"0.6.55-0ubuntu13.3"},{"version_affected":"<","version_name":"0.6.55-0ubuntu14","version_value":"0.6.55-0ubuntu14.1"}]}}]},"vendor_name":"Ubuntu"}]}},"credit":[{"lang":"eng","value":"Kevin Backhouse"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-590 Free of Memory not on the Heap"}]}]},"references":{"reference_data":[{"refsource":"MISC","url":"https://ubuntu.com/security/notices/USN-5149-1","name":"https://ubuntu.com/security/notices/USN-5149-1"},{"refsource":"MISC","url":"https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1950149","name":"https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1950149"},{"refsource":"MISC","name":"http://packetstormsecurity.com/files/172848/Ubuntu-accountsservice-Double-Free-Memory-Corruption.html","url":"http://packetstormsecurity.com/files/172848/Ubuntu-accountsservice-Double-Free-Memory-Corruption.html"}]},"source":{"advisory":"USN-5149-1","defect":["https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1950149"],"discovery":"EXTERNAL"}},"nvd":{"publishedDate":"2021-11-17 04:15:00","lastModifiedDate":"2023-06-12 07:16:00","problem_types":["CWE-763"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:C/I:C/A:C","accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE","baseScore":7.2},"severity":"HIGH","exploitabilityScore":3.9,"impactScore":10,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:canonical:accountsservice:*:*:*:*:*:*:*:*","versionStartIncluding":"0.6.55-0ubuntu12\\~20.04","versionEndExcluding":"0.6.55-0ubuntu12\\~20.05","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:canonical:accountsservice:*:*:*:*:*:*:*:*","versionStartIncluding":"0.6.55-0ubuntu13","versionEndExcluding":"0.6.55-0ubuntu13.3","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:canonical:accountsservice:*:*:*:*:*:*:*:*","versionStartIncluding":"0.6.55-0ubuntu14","versionEndExcluding":"0.6.55-0ubuntu14.1","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:canonical:ubuntu_linux:21.04:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:canonical:ubuntu_linux:21.10:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"3939","Ordinal":"220624","Title":"CVE-2021-3939","CVE":"CVE-2021-3939","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"3939","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"3939","Ordinal":"2","NoteData":"2021-11-16","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"3939","Ordinal":"3","NoteData":"2021-11-16","Type":"Other","Title":"Modified"}]}}}