Home / Ubuntu / accountsservice / CVE-2021-3939
CVE-2021-3939: is it exploited, and which versions of Ubuntu accountsservice are affected and fixed?
CVE-2021-3939 is a free of Memory not on the Heap vulnerability in Ubuntu accountsservice. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:38 UTC). Affected: accountsservice from 0.6.55-0ubuntu12~20.04 before 0.6.55-0ubuntu12~20.04.5, accountsservice from 0.6.55-0ubuntu13 before 0.6.55-0ubuntu13.3 and accountsservice from 0.6.55-0ubuntu14 before 0.6.55-0ubuntu14.1 (CVE record by canonical). Fixed in 0.6.55-0ubuntu12~20.04.5, 0.6.55-0ubuntu13.3 and 0.6.55-0ubuntu14.1 (CVE record by canonical). Severity: High (7.8, CVSS 3.1, from canonical).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:53 UTC.
What is CVE-2021-3939?
Free of static data in accountsservice
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.
From the CVE record by canonical, last updated September 16, 2024, 18:02 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Ubuntu | accountsservice | from 0.6.55-0ubuntu12~20.04 before 0.6.55-0ubuntu12~20.04.5 from 0.6.55-0ubuntu13 before 0.6.55-0ubuntu13.3 from 0.6.55-0ubuntu14 before 0.6.55-0ubuntu14.1 | 0.6.55-0ubuntu12~20.04.5, 0.6.55-0ubuntu13.3, 0.6.55-0ubuntu14.1 |
As the CVE record by canonical states it, last updated September 16, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| canonical | accountsservice | from 0.6.55-0ubuntu12\~20.04 before 0.6.55-0ubuntu12\~20.05 | application |
| canonical | accountsservice | from 0.6.55-0ubuntu13 before 0.6.55-0ubuntu13.3 | application |
| canonical | accountsservice | from 0.6.55-0ubuntu14 before 0.6.55-0ubuntu14.1 | application |
| canonical | ubuntu linux | 20.04 | operating system |
| canonical | ubuntu linux | 21.04 | operating system |
| canonical | ubuntu linux | 21.10 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 04:06 UTC.
How severe is CVE-2021-3939?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H | canonical |
| High 7.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 7.2 | CVSS 2.0 | AV:L/AC:L/Au:N/C:C/I:C/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-3939 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.37% probability of exploitation activity in the next 30 days, percentile 33.0 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://ubuntu.com/security/notices/USN-5149-1
- https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1950149
- http://packetstormsecurity.com/files/172848/Ubuntu-accountsservice-Double-Free-Memory-Corruption.html
Who found and reported it?
- Kevin Backhouse (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- November 9, 2021
- Published
- November 17, 2021, 03:15 UTC
- CVE record updated
- September 16, 2024, 18:02 UTC by canonical
- NVD
- Modified, last modified June 17, 2026, 04:06 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:53 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Questions about CVE-2021-3939
Is CVE-2021-3939 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 0.37% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Ubuntu accountsservice are affected by CVE-2021-3939?
accountsservice from 0.6.55-0ubuntu12~20.04 before 0.6.55-0ubuntu12~20.04.5, accountsservice from 0.6.55-0ubuntu13 before 0.6.55-0ubuntu13.3 and accountsservice from 0.6.55-0ubuntu14 before 0.6.55-0ubuntu14.1, per the CVE record by canonical. The tables above give every range the sources list.
Which version fixes CVE-2021-3939?
0.6.55-0ubuntu12~20.04.5, 0.6.55-0ubuntu13.3 and 0.6.55-0ubuntu14.1, per the CVE record by canonical. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-3939?
High (7.8, CVSS 3.1, from canonical). The severity table above shows each score with its source.
Where is the official record of CVE-2021-3939?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.