Search

Find a vulnerability

Search criteria

    16 vulnerabilities found for accountsservice by Canonical

    CVE-2026-61898 (GCVE-0-2026-61898)

    Vulnerability from nvd – Published: 2026-08-20 14:32 – Updated: 2026-08-26 19:50
    VLAI
    Title
    accountsservice: shell injection via attacker-controlled ~/.pam_environment in Ubuntu language helper scripts
    Summary
    The Ubuntu-specific language helper scripts (save-to-pam-env, update-langlist) shipped with accountsservice before 23.13.9-8ubuntu7 treat the user-controlled LANGUAGE entry in ~/.pam_environment as trusted input. The value is interpolated unescaped into a GNU sed replacement expression, allowing an attacker to inject a sed 'e' flag and arbitrary shell commands that execute with the privileges of the AccountsService helper process (real UID 0) via the SetLanguage D-Bus method.
    SSVC
    Exploitation: none Automatable: no Technical Impact: total
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-08-26 19:43 UTC
    CWE
    • CWE-78 - Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
    Assigner
    canonical CNA under the mitre root
    CNA scorecard B 82/100 over 62 records in the last 180 days details
    References
    Impacted products
    Vendor Product Version
    Canonical accountsservice Affected: 22.07.5-2ubuntu1 , < 22.07.5-2ubuntu1.6 (dpkg)
    Affected: 23.13.9-2ubuntu6 , < 23.13.9-2ubuntu6.1 (dpkg)
    Affected: 23.13.9-8ubuntu5 , < 23.13.9-8ubuntu5.2 (dpkg)
    Affected: 23.13.9-8ubuntu6 , < 23.13.9-8ubuntu7 (dpkg)
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-61898",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "total"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-08-26T19:43:44.504304Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-08-26T19:50:34.552Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "packageName": "accountsservice",
              "platforms": [
                "Ubuntu 14.04 LTS",
                "Ubuntu 16.04 LTS",
                "Ubuntu 18.04 LTS",
                "Ubuntu 20.04 LTS",
                "Ubuntu 22.04 LTS",
                "Ubuntu 24.04 LTS",
                "Ubuntu 26.04 LTS",
                "Ubuntu 26.10"
              ],
              "product": "accountsservice",
              "vendor": "Canonical",
              "versions": [
                {
                  "lessThan": "22.07.5-2ubuntu1.6",
                  "status": "affected",
                  "version": "22.07.5-2ubuntu1",
                  "versionType": "dpkg"
                },
                {
                  "lessThan": "23.13.9-2ubuntu6.1",
                  "status": "affected",
                  "version": "23.13.9-2ubuntu6",
                  "versionType": "dpkg"
                },
                {
                  "lessThan": "23.13.9-8ubuntu5.2",
                  "status": "affected",
                  "version": "23.13.9-8ubuntu5",
                  "versionType": "dpkg"
                },
                {
                  "lessThan": "23.13.9-8ubuntu7",
                  "status": "affected",
                  "version": "23.13.9-8ubuntu6",
                  "versionType": "dpkg"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Deutsche Telekom Security GmbH Red Team"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "The Ubuntu-specific language helper scripts (save-to-pam-env, update-langlist) shipped with accountsservice before 23.13.9-8ubuntu7 treat the user-controlled LANGUAGE entry in ~/.pam_environment as trusted input. The value is interpolated unescaped into a GNU sed replacement expression, allowing an attacker to inject a sed \u0027e\u0027 flag and arbitrary shell commands that execute with the privileges of the AccountsService helper process (real UID 0) via the SetLanguage D-Bus method."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "baseScore": 7.8,
                "baseSeverity": "HIGH",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-78",
                  "description": "CWE-78: Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-08-20T14:32:59.924Z",
            "orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
            "shortName": "canonical"
          },
          "references": [
            {
              "name": "Launchpad Bug #2157985",
              "tags": [
                "issue-tracking"
              ],
              "url": "https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/2157985"
            },
            {
              "name": "Ubuntu CVE Tracker",
              "tags": [
                "vendor-advisory"
              ],
              "url": "https://ubuntu.com/security/CVE-2026-61898"
            }
          ],
          "title": "accountsservice: shell injection via attacker-controlled ~/.pam_environment in Ubuntu language helper scripts"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
        "assignerShortName": "canonical",
        "cveId": "CVE-2026-61898",
        "datePublished": "2026-08-20T14:32:59.924Z",
        "dateReserved": "2026-07-11T18:43:51.251Z",
        "dateUpdated": "2026-08-26T19:50:34.552Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-61897 (GCVE-0-2026-61897)

    Vulnerability from nvd – Published: 2026-08-20 14:32 – Updated: 2026-08-26 19:50
    VLAI
    Title
    accountsservice: incomplete privilege drop when running Ubuntu-specific language helper scripts
    Summary
    An Ubuntu-specific patch to AccountsService before 23.13.9-8ubuntu7 only partially drops privileges before launching language helper scripts. It changes the effective UID/GID to the target user but leaves the real UID as 0 (root). A shell spawned by a helper script inherits ruid=0 and may reset its effective UID to root, enabling local privilege escalation.
    SSVC
    Exploitation: none Automatable: no Technical Impact: total
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-08-26 19:43 UTC
    CWE
    • CWE-273 - Improper Check for Dropped Privileges
    Assigner
    canonical CNA under the mitre root
    CNA scorecard B 82/100 over 62 records in the last 180 days details
    References
    Impacted products
    Vendor Product Version
    Canonical accountsservice Affected: 22.07.5-2ubuntu1 , < 22.07.5-2ubuntu1.6 (dpkg)
    Affected: 23.13.9-2ubuntu6 , < 23.13.9-2ubuntu6.1 (dpkg)
    Affected: 23.13.9-8ubuntu5 , < 23.13.9-8ubuntu5.2 (dpkg)
    Affected: 23.13.9-8ubuntu6 , < 23.13.9-8ubuntu7 (dpkg)
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-61897",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "total"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-08-26T19:43:37.600246Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-08-26T19:50:49.398Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "packageName": "accountsservice",
              "platforms": [
                "Ubuntu 14.04 LTS",
                "Ubuntu 16.04 LTS",
                "Ubuntu 18.04 LTS",
                "Ubuntu 20.04 LTS",
                "Ubuntu 22.04 LTS",
                "Ubuntu 24.04 LTS",
                "Ubuntu 26.04 LTS",
                "Ubuntu 26.10"
              ],
              "product": "accountsservice",
              "vendor": "Canonical",
              "versions": [
                {
                  "lessThan": "22.07.5-2ubuntu1.6",
                  "status": "affected",
                  "version": "22.07.5-2ubuntu1",
                  "versionType": "dpkg"
                },
                {
                  "lessThan": "23.13.9-2ubuntu6.1",
                  "status": "affected",
                  "version": "23.13.9-2ubuntu6",
                  "versionType": "dpkg"
                },
                {
                  "lessThan": "23.13.9-8ubuntu5.2",
                  "status": "affected",
                  "version": "23.13.9-8ubuntu5",
                  "versionType": "dpkg"
                },
                {
                  "lessThan": "23.13.9-8ubuntu7",
                  "status": "affected",
                  "version": "23.13.9-8ubuntu6",
                  "versionType": "dpkg"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Deutsche Telekom Security GmbH Red Team"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "An Ubuntu-specific patch to AccountsService before 23.13.9-8ubuntu7 only partially drops privileges before launching language helper scripts. It changes the effective UID/GID to the target user but leaves the real UID as 0 (root). A shell spawned by a helper script inherits ruid=0 and may reset its effective UID to root, enabling local privilege escalation."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "baseScore": 7.8,
                "baseSeverity": "HIGH",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-273",
                  "description": "CWE-273: Improper Check for Dropped Privileges",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-08-20T14:32:53.827Z",
            "orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
            "shortName": "canonical"
          },
          "references": [
            {
              "name": "Launchpad Bug #2157985",
              "tags": [
                "issue-tracking"
              ],
              "url": "https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/2157985"
            },
            {
              "name": "Ubuntu CVE Tracker",
              "tags": [
                "vendor-advisory"
              ],
              "url": "https://ubuntu.com/security/CVE-2026-61897"
            }
          ],
          "title": "accountsservice: incomplete privilege drop when running Ubuntu-specific language helper scripts"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
        "assignerShortName": "canonical",
        "cveId": "CVE-2026-61897",
        "datePublished": "2026-08-20T14:32:53.827Z",
        "dateReserved": "2026-07-11T18:43:51.251Z",
        "dateUpdated": "2026-08-26T19:50:49.398Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2022-1804 (GCVE-0-2022-1804)

    Vulnerability from nvd – Published: 2025-03-25 12:28 – Updated: 2025-03-25 12:58
    VLAI
    Title
    Accountsservice incorrectly drops privileges
    Summary
    accountsservice no longer drops permissions when writting .pam_environment
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2025-03-25 12:58 UTC
    CWE
    • CWE-269 - Improper Privilege Management
    Assigner
    canonical CNA under the mitre root
    CNA scorecard B 82/100 over 62 records in the last 180 days details
    Impacted products
    Vendor Product Version
    Ubuntu Linux Affected: 0.6.55-3ubuntu1 , < 22.07.5-2ubuntu1.3 (semver)
    Create a notification for this product.
    Date Public
    2022-05-23 23:00
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2022-1804",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2025-03-25T12:58:36.536196Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2025-03-25T12:58:47.368Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "packageName": "accountsservice",
              "platforms": [
                "Linux"
              ],
              "product": "Linux",
              "repo": "https://gitlab.freedesktop.org/accountsservice/accountsservice",
              "vendor": "Ubuntu",
              "versions": [
                {
                  "lessThan": "22.07.5-2ubuntu1.3",
                  "status": "affected",
                  "version": "0.6.55-3ubuntu1",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Gunnar Hjalmarsson"
            },
            {
              "lang": "en",
              "type": "analyst",
              "value": "Marc Deslauriers"
            },
            {
              "lang": "en",
              "type": "coordinator",
              "value": "Seth Arnold"
            }
          ],
          "datePublic": "2022-05-23T23:00:00.000Z",
          "descriptions": [
            {
              "lang": "en",
              "value": "accountsservice no longer drops permissions when writting .pam_environment"
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 5.5,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "NONE",
                "integrityImpact": "NONE",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
                "version": "3.1"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-269",
                  "description": "CWE-269 Improper Privilege Management",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2025-03-25T12:28:08.041Z",
            "orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
            "shortName": "canonical"
          },
          "references": [
            {
              "tags": [
                "issue-tracking"
              ],
              "url": "https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1974250"
            },
            {
              "tags": [
                "release-notes"
              ],
              "url": "https://ubuntu.com/security/notices/USN-5439-1"
            }
          ],
          "source": {
            "discovery": "UNKNOWN"
          },
          "title": "Accountsservice incorrectly drops privileges"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
        "assignerShortName": "canonical",
        "cveId": "CVE-2022-1804",
        "datePublished": "2025-03-25T12:28:08.041Z",
        "dateReserved": "2022-05-19T23:57:52.655Z",
        "dateUpdated": "2025-03-25T12:58:47.368Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }

    CVE-2023-3297 (GCVE-0-2023-3297)

    Vulnerability from nvd – Published: 2023-09-01 20:49 – Updated: 2024-09-30 20:19
    VLAI
    Summary
    In Ubuntu's accountsservice an unprivileged local attacker can trigger a use-after-free vulnerability in accountsservice by sending a D-Bus message to the accounts-daemon process.
    SSVC
    Exploitation: poc Automatable: no Technical Impact: total
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2024-09-30 20:18 UTC
    CWE
    Assigner
    canonical CNA under the mitre root
    CNA scorecard B 82/100 over 62 records in the last 180 days details
    Impacted products
    Vendor Product Version
    Canonical Ltd. AccountService Unaffected: 23.13.9-2ubuntu2
    Create a notification for this product.
    Date Public
    2023-06-28 12:00
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "providerMetadata": {
              "dateUpdated": "2024-08-02T06:48:08.431Z",
              "orgId": "af854a3a-2127-422b-91ae-364da2661108",
              "shortName": "CVE"
            },
            "references": [
              {
                "tags": [
                  "vendor-advisory",
                  "x_transferred"
                ],
                "url": "https://ubuntu.com/security/notices/USN-6190-1"
              },
              {
                "tags": [
                  "third-party-advisory",
                  "technical-description",
                  "x_transferred"
                ],
                "url": "https://securitylab.github.com/advisories/GHSL-2023-139_accountsservice/"
              },
              {
                "tags": [
                  "issue-tracking",
                  "x_transferred"
                ],
                "url": "https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/2024182"
              },
              {
                "tags": [
                  "issue-tracking",
                  "x_transferred"
                ],
                "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-3297"
              }
            ],
            "title": "CVE Program Container"
          },
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2023-3297",
                    "options": [
                      {
                        "Exploitation": "poc"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "total"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2024-09-30T20:18:59.559897Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2024-09-30T20:19:08.943Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://launchpad.net/ubuntu/+source/accountsservice",
              "packageName": "accountservice",
              "platforms": [
                "Linux"
              ],
              "product": "AccountService",
              "vendor": "Canonical Ltd.",
              "versions": [
                {
                  "status": "unaffected",
                  "version": "23.13.9-2ubuntu2"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Kevin Backhouse"
            }
          ],
          "datePublic": "2023-06-28T12:00:00.000Z",
          "descriptions": [
            {
              "lang": "en",
              "value": "In Ubuntu\u0027s accountsservice an unprivileged local attacker can trigger a use-after-free vulnerability in accountsservice by sending a D-Bus message to the accounts-daemon process."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "HIGH",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 8.1,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "CHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H",
                "version": "3.1"
              },
              "format": "CVSS"
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-416",
                  "description": "CWE-416",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2023-09-01T20:49:43.576Z",
            "orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
            "shortName": "canonical"
          },
          "references": [
            {
              "tags": [
                "vendor-advisory"
              ],
              "url": "https://ubuntu.com/security/notices/USN-6190-1"
            },
            {
              "tags": [
                "third-party-advisory",
                "technical-description"
              ],
              "url": "https://securitylab.github.com/advisories/GHSL-2023-139_accountsservice/"
            },
            {
              "tags": [
                "issue-tracking"
              ],
              "url": "https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/2024182"
            },
            {
              "tags": [
                "issue-tracking"
              ],
              "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-3297"
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
        "assignerShortName": "canonical",
        "cveId": "CVE-2023-3297",
        "datePublished": "2023-09-01T20:49:43.576Z",
        "dateReserved": "2023-06-16T14:50:30.269Z",
        "dateUpdated": "2024-09-30T20:19:08.943Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }

    CVE-2021-3939 (GCVE-0-2021-3939)

    Vulnerability from nvd – Published: 2021-11-17 03:15 – Updated: 2024-09-16 18:02
    VLAI
    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.
    CWE
    • CWE-590 - Free of Memory not on the Heap
    Assigner
    canonical CNA under the mitre root
    CNA scorecard B 82/100 over 62 records in the last 180 days details
    Impacted products
    Vendor Product Version
    Ubuntu accountsservice Affected: 0.6.55-0ubuntu12~20.04 , < 0.6.55-0ubuntu12~20.04.5 (custom)
    Affected: 0.6.55-0ubuntu13 , < 0.6.55-0ubuntu13.3 (custom)
    Affected: 0.6.55-0ubuntu14 , < 0.6.55-0ubuntu14.1 (custom)
    Create a notification for this product.
    Date Public
    2021-11-16 00:00
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "providerMetadata": {
              "dateUpdated": "2024-08-03T17:09:09.693Z",
              "orgId": "af854a3a-2127-422b-91ae-364da2661108",
              "shortName": "CVE"
            },
            "references": [
              {
                "tags": [
                  "x_transferred"
                ],
                "url": "https://ubuntu.com/security/notices/USN-5149-1"
              },
              {
                "tags": [
                  "x_transferred"
                ],
                "url": "https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1950149"
              },
              {
                "tags": [
                  "x_transferred"
                ],
                "url": "http://packetstormsecurity.com/files/172848/Ubuntu-accountsservice-Double-Free-Memory-Corruption.html"
              }
            ],
            "title": "CVE Program Container"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "accountsservice",
              "vendor": "Ubuntu",
              "versions": [
                {
                  "lessThan": "0.6.55-0ubuntu12~20.04.5",
                  "status": "affected",
                  "version": "0.6.55-0ubuntu12~20.04",
                  "versionType": "custom"
                },
                {
                  "lessThan": "0.6.55-0ubuntu13.3",
                  "status": "affected",
                  "version": "0.6.55-0ubuntu13",
                  "versionType": "custom"
                },
                {
                  "lessThan": "0.6.55-0ubuntu14.1",
                  "status": "affected",
                  "version": "0.6.55-0ubuntu14",
                  "versionType": "custom"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "value": "Kevin Backhouse"
            }
          ],
          "datePublic": "2021-11-16T00:00:00.000Z",
          "descriptions": [
            {
              "lang": "en",
              "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."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "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"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-590",
                  "description": "CWE-590 Free of Memory not on the Heap",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2023-06-12T00:00:00.000Z",
            "orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
            "shortName": "canonical"
          },
          "references": [
            {
              "url": "https://ubuntu.com/security/notices/USN-5149-1"
            },
            {
              "url": "https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1950149"
            },
            {
              "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"
          },
          "title": "Free of static data in accountsservice",
          "x_generator": {
            "engine": "Vulnogram 0.0.9"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
        "assignerShortName": "canonical",
        "cveId": "CVE-2021-3939",
        "datePublished": "2021-11-17T03:15:10.949Z",
        "dateReserved": "2021-11-09T00:00:00.000Z",
        "dateUpdated": "2024-09-16T18:02:58.362Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }

    CVE-2011-4406 (GCVE-0-2011-4406)

    Vulnerability from nvd – Published: 2014-04-16 18:00 – Updated: 2024-08-07 00:09
    VLAI
    Summary
    The Ubuntu AccountsService package before 0.6.14-1git1ubuntu1.1 does not properly drop privileges when changing language settings, which allows local users to modify arbitrary files via unspecified vectors.
    Severity
    No CVSS data available.
    CWE
    • n/a
    Assigner
    canonical CNA under the mitre root
    CNA scorecard B 82/100 over 62 records in the last 180 days details
    References
    Date Public
    2012-01-31 00:00
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "providerMetadata": {
              "dateUpdated": "2024-08-07T00:09:18.393Z",
              "orgId": "af854a3a-2127-422b-91ae-364da2661108",
              "shortName": "CVE"
            },
            "references": [
              {
                "tags": [
                  "x_refsource_CONFIRM",
                  "x_transferred"
                ],
                "url": "http://people.canonical.com/~ubuntu-security/cve/2011/CVE-2011-4406.html"
              },
              {
                "tags": [
                  "x_refsource_CONFIRM",
                  "x_transferred"
                ],
                "url": "http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/oneiric/accountsservice/oneiric-updates/revision/21"
              },
              {
                "name": "USN-1351-1",
                "tags": [
                  "vendor-advisory",
                  "x_refsource_UBUNTU",
                  "x_transferred"
                ],
                "url": "http://www.ubuntu.com/usn/USN-1351-1"
              }
            ],
            "title": "CVE Program Container"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "n/a",
              "vendor": "n/a",
              "versions": [
                {
                  "status": "affected",
                  "version": "n/a"
                }
              ]
            }
          ],
          "datePublic": "2012-01-31T00:00:00.000Z",
          "descriptions": [
            {
              "lang": "en",
              "value": "The Ubuntu AccountsService package before 0.6.14-1git1ubuntu1.1 does not properly drop privileges when changing language settings, which allows local users to modify arbitrary files via unspecified vectors."
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "description": "n/a",
                  "lang": "en",
                  "type": "text"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2014-04-16T17:57:00.000Z",
            "orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
            "shortName": "canonical"
          },
          "references": [
            {
              "tags": [
                "x_refsource_CONFIRM"
              ],
              "url": "http://people.canonical.com/~ubuntu-security/cve/2011/CVE-2011-4406.html"
            },
            {
              "tags": [
                "x_refsource_CONFIRM"
              ],
              "url": "http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/oneiric/accountsservice/oneiric-updates/revision/21"
            },
            {
              "name": "USN-1351-1",
              "tags": [
                "vendor-advisory",
                "x_refsource_UBUNTU"
              ],
              "url": "http://www.ubuntu.com/usn/USN-1351-1"
            }
          ],
          "x_legacyV4Record": {
            "CVE_data_meta": {
              "ASSIGNER": "security@ubuntu.com",
              "ID": "CVE-2011-4406",
              "STATE": "PUBLIC"
            },
            "affects": {
              "vendor": {
                "vendor_data": [
                  {
                    "product": {
                      "product_data": [
                        {
                          "product_name": "n/a",
                          "version": {
                            "version_data": [
                              {
                                "version_value": "n/a"
                              }
                            ]
                          }
                        }
                      ]
                    },
                    "vendor_name": "n/a"
                  }
                ]
              }
            },
            "data_format": "MITRE",
            "data_type": "CVE",
            "data_version": "4.0",
            "description": {
              "description_data": [
                {
                  "lang": "eng",
                  "value": "The Ubuntu AccountsService package before 0.6.14-1git1ubuntu1.1 does not properly drop privileges when changing language settings, which allows local users to modify arbitrary files via unspecified vectors."
                }
              ]
            },
            "problemtype": {
              "problemtype_data": [
                {
                  "description": [
                    {
                      "lang": "eng",
                      "value": "n/a"
                    }
                  ]
                }
              ]
            },
            "references": {
              "reference_data": [
                {
                  "name": "http://people.canonical.com/~ubuntu-security/cve/2011/CVE-2011-4406.html",
                  "refsource": "CONFIRM",
                  "url": "http://people.canonical.com/~ubuntu-security/cve/2011/CVE-2011-4406.html"
                },
                {
                  "name": "http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/oneiric/accountsservice/oneiric-updates/revision/21",
                  "refsource": "CONFIRM",
                  "url": "http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/oneiric/accountsservice/oneiric-updates/revision/21"
                },
                {
                  "name": "USN-1351-1",
                  "refsource": "UBUNTU",
                  "url": "http://www.ubuntu.com/usn/USN-1351-1"
                }
              ]
            }
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
        "assignerShortName": "canonical",
        "cveId": "CVE-2011-4406",
        "datePublished": "2014-04-16T18:00:00.000Z",
        "dateReserved": "2011-11-07T00:00:00.000Z",
        "dateUpdated": "2024-08-07T00:09:18.393Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }

    CVE-2026-61898 (GCVE-0-2026-61898)

    Vulnerability from cvelistv5 – Published: 2026-08-20 14:32 – Updated: 2026-08-26 19:50
    VLAI
    Title
    accountsservice: shell injection via attacker-controlled ~/.pam_environment in Ubuntu language helper scripts
    Summary
    The Ubuntu-specific language helper scripts (save-to-pam-env, update-langlist) shipped with accountsservice before 23.13.9-8ubuntu7 treat the user-controlled LANGUAGE entry in ~/.pam_environment as trusted input. The value is interpolated unescaped into a GNU sed replacement expression, allowing an attacker to inject a sed 'e' flag and arbitrary shell commands that execute with the privileges of the AccountsService helper process (real UID 0) via the SetLanguage D-Bus method.
    SSVC
    Exploitation: none Automatable: no Technical Impact: total
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-08-26 19:43 UTC
    CWE
    • CWE-78 - Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
    Assigner
    canonical CNA under the mitre root
    CNA scorecard B 82/100 over 62 records in the last 180 days details
    References
    Impacted products
    Vendor Product Version
    Canonical accountsservice Affected: 22.07.5-2ubuntu1 , < 22.07.5-2ubuntu1.6 (dpkg)
    Affected: 23.13.9-2ubuntu6 , < 23.13.9-2ubuntu6.1 (dpkg)
    Affected: 23.13.9-8ubuntu5 , < 23.13.9-8ubuntu5.2 (dpkg)
    Affected: 23.13.9-8ubuntu6 , < 23.13.9-8ubuntu7 (dpkg)
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-61898",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "total"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-08-26T19:43:44.504304Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-08-26T19:50:34.552Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "packageName": "accountsservice",
              "platforms": [
                "Ubuntu 14.04 LTS",
                "Ubuntu 16.04 LTS",
                "Ubuntu 18.04 LTS",
                "Ubuntu 20.04 LTS",
                "Ubuntu 22.04 LTS",
                "Ubuntu 24.04 LTS",
                "Ubuntu 26.04 LTS",
                "Ubuntu 26.10"
              ],
              "product": "accountsservice",
              "vendor": "Canonical",
              "versions": [
                {
                  "lessThan": "22.07.5-2ubuntu1.6",
                  "status": "affected",
                  "version": "22.07.5-2ubuntu1",
                  "versionType": "dpkg"
                },
                {
                  "lessThan": "23.13.9-2ubuntu6.1",
                  "status": "affected",
                  "version": "23.13.9-2ubuntu6",
                  "versionType": "dpkg"
                },
                {
                  "lessThan": "23.13.9-8ubuntu5.2",
                  "status": "affected",
                  "version": "23.13.9-8ubuntu5",
                  "versionType": "dpkg"
                },
                {
                  "lessThan": "23.13.9-8ubuntu7",
                  "status": "affected",
                  "version": "23.13.9-8ubuntu6",
                  "versionType": "dpkg"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Deutsche Telekom Security GmbH Red Team"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "The Ubuntu-specific language helper scripts (save-to-pam-env, update-langlist) shipped with accountsservice before 23.13.9-8ubuntu7 treat the user-controlled LANGUAGE entry in ~/.pam_environment as trusted input. The value is interpolated unescaped into a GNU sed replacement expression, allowing an attacker to inject a sed \u0027e\u0027 flag and arbitrary shell commands that execute with the privileges of the AccountsService helper process (real UID 0) via the SetLanguage D-Bus method."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "baseScore": 7.8,
                "baseSeverity": "HIGH",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-78",
                  "description": "CWE-78: Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-08-20T14:32:59.924Z",
            "orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
            "shortName": "canonical"
          },
          "references": [
            {
              "name": "Launchpad Bug #2157985",
              "tags": [
                "issue-tracking"
              ],
              "url": "https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/2157985"
            },
            {
              "name": "Ubuntu CVE Tracker",
              "tags": [
                "vendor-advisory"
              ],
              "url": "https://ubuntu.com/security/CVE-2026-61898"
            }
          ],
          "title": "accountsservice: shell injection via attacker-controlled ~/.pam_environment in Ubuntu language helper scripts"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
        "assignerShortName": "canonical",
        "cveId": "CVE-2026-61898",
        "datePublished": "2026-08-20T14:32:59.924Z",
        "dateReserved": "2026-07-11T18:43:51.251Z",
        "dateUpdated": "2026-08-26T19:50:34.552Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-61897 (GCVE-0-2026-61897)

    Vulnerability from cvelistv5 – Published: 2026-08-20 14:32 – Updated: 2026-08-26 19:50
    VLAI
    Title
    accountsservice: incomplete privilege drop when running Ubuntu-specific language helper scripts
    Summary
    An Ubuntu-specific patch to AccountsService before 23.13.9-8ubuntu7 only partially drops privileges before launching language helper scripts. It changes the effective UID/GID to the target user but leaves the real UID as 0 (root). A shell spawned by a helper script inherits ruid=0 and may reset its effective UID to root, enabling local privilege escalation.
    SSVC
    Exploitation: none Automatable: no Technical Impact: total
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-08-26 19:43 UTC
    CWE
    • CWE-273 - Improper Check for Dropped Privileges
    Assigner
    canonical CNA under the mitre root
    CNA scorecard B 82/100 over 62 records in the last 180 days details
    References
    Impacted products
    Vendor Product Version
    Canonical accountsservice Affected: 22.07.5-2ubuntu1 , < 22.07.5-2ubuntu1.6 (dpkg)
    Affected: 23.13.9-2ubuntu6 , < 23.13.9-2ubuntu6.1 (dpkg)
    Affected: 23.13.9-8ubuntu5 , < 23.13.9-8ubuntu5.2 (dpkg)
    Affected: 23.13.9-8ubuntu6 , < 23.13.9-8ubuntu7 (dpkg)
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-61897",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "total"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-08-26T19:43:37.600246Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-08-26T19:50:49.398Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "packageName": "accountsservice",
              "platforms": [
                "Ubuntu 14.04 LTS",
                "Ubuntu 16.04 LTS",
                "Ubuntu 18.04 LTS",
                "Ubuntu 20.04 LTS",
                "Ubuntu 22.04 LTS",
                "Ubuntu 24.04 LTS",
                "Ubuntu 26.04 LTS",
                "Ubuntu 26.10"
              ],
              "product": "accountsservice",
              "vendor": "Canonical",
              "versions": [
                {
                  "lessThan": "22.07.5-2ubuntu1.6",
                  "status": "affected",
                  "version": "22.07.5-2ubuntu1",
                  "versionType": "dpkg"
                },
                {
                  "lessThan": "23.13.9-2ubuntu6.1",
                  "status": "affected",
                  "version": "23.13.9-2ubuntu6",
                  "versionType": "dpkg"
                },
                {
                  "lessThan": "23.13.9-8ubuntu5.2",
                  "status": "affected",
                  "version": "23.13.9-8ubuntu5",
                  "versionType": "dpkg"
                },
                {
                  "lessThan": "23.13.9-8ubuntu7",
                  "status": "affected",
                  "version": "23.13.9-8ubuntu6",
                  "versionType": "dpkg"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Deutsche Telekom Security GmbH Red Team"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "An Ubuntu-specific patch to AccountsService before 23.13.9-8ubuntu7 only partially drops privileges before launching language helper scripts. It changes the effective UID/GID to the target user but leaves the real UID as 0 (root). A shell spawned by a helper script inherits ruid=0 and may reset its effective UID to root, enabling local privilege escalation."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "baseScore": 7.8,
                "baseSeverity": "HIGH",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-273",
                  "description": "CWE-273: Improper Check for Dropped Privileges",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-08-20T14:32:53.827Z",
            "orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
            "shortName": "canonical"
          },
          "references": [
            {
              "name": "Launchpad Bug #2157985",
              "tags": [
                "issue-tracking"
              ],
              "url": "https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/2157985"
            },
            {
              "name": "Ubuntu CVE Tracker",
              "tags": [
                "vendor-advisory"
              ],
              "url": "https://ubuntu.com/security/CVE-2026-61897"
            }
          ],
          "title": "accountsservice: incomplete privilege drop when running Ubuntu-specific language helper scripts"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
        "assignerShortName": "canonical",
        "cveId": "CVE-2026-61897",
        "datePublished": "2026-08-20T14:32:53.827Z",
        "dateReserved": "2026-07-11T18:43:51.251Z",
        "dateUpdated": "2026-08-26T19:50:49.398Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2022-1804 (GCVE-0-2022-1804)

    Vulnerability from cvelistv5 – Published: 2025-03-25 12:28 – Updated: 2025-03-25 12:58
    VLAI
    Title
    Accountsservice incorrectly drops privileges
    Summary
    accountsservice no longer drops permissions when writting .pam_environment
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2025-03-25 12:58 UTC
    CWE
    • CWE-269 - Improper Privilege Management
    Assigner
    canonical CNA under the mitre root
    CNA scorecard B 82/100 over 62 records in the last 180 days details
    Impacted products
    Vendor Product Version
    Ubuntu Linux Affected: 0.6.55-3ubuntu1 , < 22.07.5-2ubuntu1.3 (semver)
    Create a notification for this product.
    Date Public
    2022-05-23 23:00
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2022-1804",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2025-03-25T12:58:36.536196Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2025-03-25T12:58:47.368Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "packageName": "accountsservice",
              "platforms": [
                "Linux"
              ],
              "product": "Linux",
              "repo": "https://gitlab.freedesktop.org/accountsservice/accountsservice",
              "vendor": "Ubuntu",
              "versions": [
                {
                  "lessThan": "22.07.5-2ubuntu1.3",
                  "status": "affected",
                  "version": "0.6.55-3ubuntu1",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Gunnar Hjalmarsson"
            },
            {
              "lang": "en",
              "type": "analyst",
              "value": "Marc Deslauriers"
            },
            {
              "lang": "en",
              "type": "coordinator",
              "value": "Seth Arnold"
            }
          ],
          "datePublic": "2022-05-23T23:00:00.000Z",
          "descriptions": [
            {
              "lang": "en",
              "value": "accountsservice no longer drops permissions when writting .pam_environment"
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 5.5,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "NONE",
                "integrityImpact": "NONE",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
                "version": "3.1"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-269",
                  "description": "CWE-269 Improper Privilege Management",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2025-03-25T12:28:08.041Z",
            "orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
            "shortName": "canonical"
          },
          "references": [
            {
              "tags": [
                "issue-tracking"
              ],
              "url": "https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1974250"
            },
            {
              "tags": [
                "release-notes"
              ],
              "url": "https://ubuntu.com/security/notices/USN-5439-1"
            }
          ],
          "source": {
            "discovery": "UNKNOWN"
          },
          "title": "Accountsservice incorrectly drops privileges"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
        "assignerShortName": "canonical",
        "cveId": "CVE-2022-1804",
        "datePublished": "2025-03-25T12:28:08.041Z",
        "dateReserved": "2022-05-19T23:57:52.655Z",
        "dateUpdated": "2025-03-25T12:58:47.368Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }

    CVE-2023-3297 (GCVE-0-2023-3297)

    Vulnerability from cvelistv5 – Published: 2023-09-01 20:49 – Updated: 2024-09-30 20:19
    VLAI
    Summary
    In Ubuntu's accountsservice an unprivileged local attacker can trigger a use-after-free vulnerability in accountsservice by sending a D-Bus message to the accounts-daemon process.
    SSVC
    Exploitation: poc Automatable: no Technical Impact: total
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2024-09-30 20:18 UTC
    CWE
    Assigner
    canonical CNA under the mitre root
    CNA scorecard B 82/100 over 62 records in the last 180 days details
    Impacted products
    Vendor Product Version
    Canonical Ltd. AccountService Unaffected: 23.13.9-2ubuntu2
    Create a notification for this product.
    Date Public
    2023-06-28 12:00
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "providerMetadata": {
              "dateUpdated": "2024-08-02T06:48:08.431Z",
              "orgId": "af854a3a-2127-422b-91ae-364da2661108",
              "shortName": "CVE"
            },
            "references": [
              {
                "tags": [
                  "vendor-advisory",
                  "x_transferred"
                ],
                "url": "https://ubuntu.com/security/notices/USN-6190-1"
              },
              {
                "tags": [
                  "third-party-advisory",
                  "technical-description",
                  "x_transferred"
                ],
                "url": "https://securitylab.github.com/advisories/GHSL-2023-139_accountsservice/"
              },
              {
                "tags": [
                  "issue-tracking",
                  "x_transferred"
                ],
                "url": "https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/2024182"
              },
              {
                "tags": [
                  "issue-tracking",
                  "x_transferred"
                ],
                "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-3297"
              }
            ],
            "title": "CVE Program Container"
          },
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2023-3297",
                    "options": [
                      {
                        "Exploitation": "poc"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "total"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2024-09-30T20:18:59.559897Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2024-09-30T20:19:08.943Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://launchpad.net/ubuntu/+source/accountsservice",
              "packageName": "accountservice",
              "platforms": [
                "Linux"
              ],
              "product": "AccountService",
              "vendor": "Canonical Ltd.",
              "versions": [
                {
                  "status": "unaffected",
                  "version": "23.13.9-2ubuntu2"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Kevin Backhouse"
            }
          ],
          "datePublic": "2023-06-28T12:00:00.000Z",
          "descriptions": [
            {
              "lang": "en",
              "value": "In Ubuntu\u0027s accountsservice an unprivileged local attacker can trigger a use-after-free vulnerability in accountsservice by sending a D-Bus message to the accounts-daemon process."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "HIGH",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 8.1,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "CHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H",
                "version": "3.1"
              },
              "format": "CVSS"
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-416",
                  "description": "CWE-416",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2023-09-01T20:49:43.576Z",
            "orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
            "shortName": "canonical"
          },
          "references": [
            {
              "tags": [
                "vendor-advisory"
              ],
              "url": "https://ubuntu.com/security/notices/USN-6190-1"
            },
            {
              "tags": [
                "third-party-advisory",
                "technical-description"
              ],
              "url": "https://securitylab.github.com/advisories/GHSL-2023-139_accountsservice/"
            },
            {
              "tags": [
                "issue-tracking"
              ],
              "url": "https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/2024182"
            },
            {
              "tags": [
                "issue-tracking"
              ],
              "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-3297"
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
        "assignerShortName": "canonical",
        "cveId": "CVE-2023-3297",
        "datePublished": "2023-09-01T20:49:43.576Z",
        "dateReserved": "2023-06-16T14:50:30.269Z",
        "dateUpdated": "2024-09-30T20:19:08.943Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }

    CVE-2021-3939 (GCVE-0-2021-3939)

    Vulnerability from cvelistv5 – Published: 2021-11-17 03:15 – Updated: 2024-09-16 18:02
    VLAI
    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.
    CWE
    • CWE-590 - Free of Memory not on the Heap
    Assigner
    canonical CNA under the mitre root
    CNA scorecard B 82/100 over 62 records in the last 180 days details
    Impacted products
    Vendor Product Version
    Ubuntu accountsservice Affected: 0.6.55-0ubuntu12~20.04 , < 0.6.55-0ubuntu12~20.04.5 (custom)
    Affected: 0.6.55-0ubuntu13 , < 0.6.55-0ubuntu13.3 (custom)
    Affected: 0.6.55-0ubuntu14 , < 0.6.55-0ubuntu14.1 (custom)
    Create a notification for this product.
    Date Public
    2021-11-16 00:00
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "providerMetadata": {
              "dateUpdated": "2024-08-03T17:09:09.693Z",
              "orgId": "af854a3a-2127-422b-91ae-364da2661108",
              "shortName": "CVE"
            },
            "references": [
              {
                "tags": [
                  "x_transferred"
                ],
                "url": "https://ubuntu.com/security/notices/USN-5149-1"
              },
              {
                "tags": [
                  "x_transferred"
                ],
                "url": "https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1950149"
              },
              {
                "tags": [
                  "x_transferred"
                ],
                "url": "http://packetstormsecurity.com/files/172848/Ubuntu-accountsservice-Double-Free-Memory-Corruption.html"
              }
            ],
            "title": "CVE Program Container"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "accountsservice",
              "vendor": "Ubuntu",
              "versions": [
                {
                  "lessThan": "0.6.55-0ubuntu12~20.04.5",
                  "status": "affected",
                  "version": "0.6.55-0ubuntu12~20.04",
                  "versionType": "custom"
                },
                {
                  "lessThan": "0.6.55-0ubuntu13.3",
                  "status": "affected",
                  "version": "0.6.55-0ubuntu13",
                  "versionType": "custom"
                },
                {
                  "lessThan": "0.6.55-0ubuntu14.1",
                  "status": "affected",
                  "version": "0.6.55-0ubuntu14",
                  "versionType": "custom"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "value": "Kevin Backhouse"
            }
          ],
          "datePublic": "2021-11-16T00:00:00.000Z",
          "descriptions": [
            {
              "lang": "en",
              "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."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "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"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-590",
                  "description": "CWE-590 Free of Memory not on the Heap",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2023-06-12T00:00:00.000Z",
            "orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
            "shortName": "canonical"
          },
          "references": [
            {
              "url": "https://ubuntu.com/security/notices/USN-5149-1"
            },
            {
              "url": "https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1950149"
            },
            {
              "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"
          },
          "title": "Free of static data in accountsservice",
          "x_generator": {
            "engine": "Vulnogram 0.0.9"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
        "assignerShortName": "canonical",
        "cveId": "CVE-2021-3939",
        "datePublished": "2021-11-17T03:15:10.949Z",
        "dateReserved": "2021-11-09T00:00:00.000Z",
        "dateUpdated": "2024-09-16T18:02:58.362Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }

    CVE-2011-4406 (GCVE-0-2011-4406)

    Vulnerability from cvelistv5 – Published: 2014-04-16 18:00 – Updated: 2024-08-07 00:09
    VLAI
    Summary
    The Ubuntu AccountsService package before 0.6.14-1git1ubuntu1.1 does not properly drop privileges when changing language settings, which allows local users to modify arbitrary files via unspecified vectors.
    Severity
    No CVSS data available.
    CWE
    • n/a
    Assigner
    canonical CNA under the mitre root
    CNA scorecard B 82/100 over 62 records in the last 180 days details
    References
    Date Public
    2012-01-31 00:00
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "providerMetadata": {
              "dateUpdated": "2024-08-07T00:09:18.393Z",
              "orgId": "af854a3a-2127-422b-91ae-364da2661108",
              "shortName": "CVE"
            },
            "references": [
              {
                "tags": [
                  "x_refsource_CONFIRM",
                  "x_transferred"
                ],
                "url": "http://people.canonical.com/~ubuntu-security/cve/2011/CVE-2011-4406.html"
              },
              {
                "tags": [
                  "x_refsource_CONFIRM",
                  "x_transferred"
                ],
                "url": "http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/oneiric/accountsservice/oneiric-updates/revision/21"
              },
              {
                "name": "USN-1351-1",
                "tags": [
                  "vendor-advisory",
                  "x_refsource_UBUNTU",
                  "x_transferred"
                ],
                "url": "http://www.ubuntu.com/usn/USN-1351-1"
              }
            ],
            "title": "CVE Program Container"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "n/a",
              "vendor": "n/a",
              "versions": [
                {
                  "status": "affected",
                  "version": "n/a"
                }
              ]
            }
          ],
          "datePublic": "2012-01-31T00:00:00.000Z",
          "descriptions": [
            {
              "lang": "en",
              "value": "The Ubuntu AccountsService package before 0.6.14-1git1ubuntu1.1 does not properly drop privileges when changing language settings, which allows local users to modify arbitrary files via unspecified vectors."
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "description": "n/a",
                  "lang": "en",
                  "type": "text"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2014-04-16T17:57:00.000Z",
            "orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
            "shortName": "canonical"
          },
          "references": [
            {
              "tags": [
                "x_refsource_CONFIRM"
              ],
              "url": "http://people.canonical.com/~ubuntu-security/cve/2011/CVE-2011-4406.html"
            },
            {
              "tags": [
                "x_refsource_CONFIRM"
              ],
              "url": "http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/oneiric/accountsservice/oneiric-updates/revision/21"
            },
            {
              "name": "USN-1351-1",
              "tags": [
                "vendor-advisory",
                "x_refsource_UBUNTU"
              ],
              "url": "http://www.ubuntu.com/usn/USN-1351-1"
            }
          ],
          "x_legacyV4Record": {
            "CVE_data_meta": {
              "ASSIGNER": "security@ubuntu.com",
              "ID": "CVE-2011-4406",
              "STATE": "PUBLIC"
            },
            "affects": {
              "vendor": {
                "vendor_data": [
                  {
                    "product": {
                      "product_data": [
                        {
                          "product_name": "n/a",
                          "version": {
                            "version_data": [
                              {
                                "version_value": "n/a"
                              }
                            ]
                          }
                        }
                      ]
                    },
                    "vendor_name": "n/a"
                  }
                ]
              }
            },
            "data_format": "MITRE",
            "data_type": "CVE",
            "data_version": "4.0",
            "description": {
              "description_data": [
                {
                  "lang": "eng",
                  "value": "The Ubuntu AccountsService package before 0.6.14-1git1ubuntu1.1 does not properly drop privileges when changing language settings, which allows local users to modify arbitrary files via unspecified vectors."
                }
              ]
            },
            "problemtype": {
              "problemtype_data": [
                {
                  "description": [
                    {
                      "lang": "eng",
                      "value": "n/a"
                    }
                  ]
                }
              ]
            },
            "references": {
              "reference_data": [
                {
                  "name": "http://people.canonical.com/~ubuntu-security/cve/2011/CVE-2011-4406.html",
                  "refsource": "CONFIRM",
                  "url": "http://people.canonical.com/~ubuntu-security/cve/2011/CVE-2011-4406.html"
                },
                {
                  "name": "http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/oneiric/accountsservice/oneiric-updates/revision/21",
                  "refsource": "CONFIRM",
                  "url": "http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/oneiric/accountsservice/oneiric-updates/revision/21"
                },
                {
                  "name": "USN-1351-1",
                  "refsource": "UBUNTU",
                  "url": "http://www.ubuntu.com/usn/USN-1351-1"
                }
              ]
            }
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
        "assignerShortName": "canonical",
        "cveId": "CVE-2011-4406",
        "datePublished": "2014-04-16T18:00:00.000Z",
        "dateReserved": "2011-11-07T00:00:00.000Z",
        "dateUpdated": "2024-08-07T00:09:18.393Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }

    FKIE_CVE-2023-3297

    Vulnerability from fkie_nvd - Published: 2023-09-01 21:15 - Updated: 2026-06-17 06:13
    Summary
    In Ubuntu's accountsservice an unprivileged local attacker can trigger a use-after-free vulnerability in accountsservice by sending a D-Bus message to the accounts-daemon process.

    {
      "affected": [
        {
          "affectedData": [
            {
              "collectionURL": "https://launchpad.net/ubuntu/+source/accountsservice",
              "packageName": "accountservice",
              "platforms": [
                "Linux"
              ],
              "product": "AccountService",
              "vendor": "Canonical Ltd.",
              "versions": [
                {
                  "status": "unaffected",
                  "version": "23.13.9-2ubuntu2"
                }
              ]
            }
          ],
          "source": "security@ubuntu.com"
        }
      ],
      "configurations": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:canonical:accountsservice:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "6CD8D70C-FFD4-4F0A-A51C-6C95630AA4A5",
                  "versionEndExcluding": "23.13.9-2ubuntu2",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            },
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*",
                  "matchCriteriaId": "703AF700-7A70-47E2-BC3A-7FD03B3CA9C1",
                  "vulnerable": false
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ],
          "operator": "AND"
        },
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:canonical:accountsservice:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "39846023-221F-4FAE-8CEE-0729CBA5102E",
                  "versionEndExcluding": "22.08.8-1ubuntu7.1",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            },
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:canonical:ubuntu_linux:23.04:*:*:*:*:*:*:*",
                  "matchCriteriaId": "B2E702D7-F8C0-49BF-9FFB-883017076E98",
                  "vulnerable": false
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ],
          "operator": "AND"
        },
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:canonical:accountsservice:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "39846023-221F-4FAE-8CEE-0729CBA5102E",
                  "versionEndExcluding": "22.08.8-1ubuntu7.1",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            },
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:canonical:ubuntu_linux:22.10:*:*:*:-:*:*:*",
                  "matchCriteriaId": "47842532-D2B6-44CB-ADE2-4AC8630A4D8C",
                  "vulnerable": false
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ],
          "operator": "AND"
        },
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:canonical:accountsservice:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "F70B47A4-5FFF-4260-99D1-C8BFF1027C34",
                  "versionEndExcluding": "22.07.5-2ubuntu1.4",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            },
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:canonical:ubuntu_linux:22.04:*:*:*:lts:*:*:*",
                  "matchCriteriaId": "359012F1-2C63-415A-88B8-6726A87830DE",
                  "vulnerable": false
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ],
          "operator": "AND"
        },
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:canonical:accountsservice:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "98D9AA5D-7CF4-4EEE-9AD4-7548E408414C",
                  "versionEndExcluding": "0.6.55-0ubuntu12\\~20.04.6",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            },
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:*",
                  "matchCriteriaId": "902B8056-9E37-443B-8905-8AA93E2447FB",
                  "vulnerable": false
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ],
          "operator": "AND"
        },
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:*",
                  "matchCriteriaId": "902B8056-9E37-443B-8905-8AA93E2447FB",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:canonical:ubuntu_linux:22.04:*:*:*:lts:*:*:*",
                  "matchCriteriaId": "359012F1-2C63-415A-88B8-6726A87830DE",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:canonical:ubuntu_linux:22.10:*:*:*:-:*:*:*",
                  "matchCriteriaId": "47842532-D2B6-44CB-ADE2-4AC8630A4D8C",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:canonical:ubuntu_linux:23.04:*:*:*:*:*:*:*",
                  "matchCriteriaId": "B2E702D7-F8C0-49BF-9FFB-883017076E98",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "cveTags": [],
      "descriptions": [
        {
          "lang": "en",
          "value": "In Ubuntu\u0027s accountsservice an unprivileged local attacker can trigger a use-after-free vulnerability in accountsservice by sending a D-Bus message to the accounts-daemon process."
        },
        {
          "lang": "es",
          "value": "en Ubuntu AccountsService un atacante local no privilegiado puede desencadenar una vulnerabilidad de uso de memoria previamente liberada en accountsservice enviando mensajes D-Bus al accounts-daemon process."
        }
      ],
      "id": "CVE-2023-3297",
      "lastModified": "2026-06-17T06:13:45.857",
      "metrics": {
        "cvssMetricV31": [
          {
            "cvssData": {
              "attackComplexity": "HIGH",
              "attackVector": "LOCAL",
              "availabilityImpact": "HIGH",
              "baseScore": 8.1,
              "baseSeverity": "HIGH",
              "confidentialityImpact": "HIGH",
              "integrityImpact": "HIGH",
              "privilegesRequired": "NONE",
              "scope": "CHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H",
              "version": "3.1"
            },
            "exploitabilityScore": 1.4,
            "impactScore": 6.0,
            "source": "security@ubuntu.com",
            "type": "Secondary"
          },
          {
            "cvssData": {
              "attackComplexity": "LOW",
              "attackVector": "LOCAL",
              "availabilityImpact": "HIGH",
              "baseScore": 7.8,
              "baseSeverity": "HIGH",
              "confidentialityImpact": "HIGH",
              "integrityImpact": "HIGH",
              "privilegesRequired": "LOW",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
              "version": "3.1"
            },
            "exploitabilityScore": 1.8,
            "impactScore": 5.9,
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ],
        "ssvcV203": [
          {
            "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
            "ssvcData": {
              "id": "CVE-2023-3297",
              "options": [
                {
                  "exploitation": "poc"
                },
                {
                  "automatable": "no"
                },
                {
                  "technicalImpact": "total"
                }
              ],
              "role": "CISA Coordinator",
              "timestamp": "2024-09-30T20:18:59.559897Z",
              "version": "2.0.3"
            }
          }
        ]
      },
      "published": "2023-09-01T21:15:07.977",
      "references": [
        {
          "source": "security@ubuntu.com",
          "tags": [
            "Exploit",
            "Issue Tracking",
            "Vendor Advisory"
          ],
          "url": "https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/2024182"
        },
        {
          "source": "security@ubuntu.com",
          "tags": [
            "Third Party Advisory"
          ],
          "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-3297"
        },
        {
          "source": "security@ubuntu.com",
          "tags": [
            "Exploit",
            "Third Party Advisory"
          ],
          "url": "https://securitylab.github.com/advisories/GHSL-2023-139_accountsservice/"
        },
        {
          "source": "security@ubuntu.com",
          "tags": [
            "Vendor Advisory"
          ],
          "url": "https://ubuntu.com/security/notices/USN-6190-1"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Exploit",
            "Issue Tracking",
            "Vendor Advisory"
          ],
          "url": "https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/2024182"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Third Party Advisory"
          ],
          "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-3297"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Exploit",
            "Third Party Advisory"
          ],
          "url": "https://securitylab.github.com/advisories/GHSL-2023-139_accountsservice/"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Vendor Advisory"
          ],
          "url": "https://ubuntu.com/security/notices/USN-6190-1"
        }
      ],
      "sourceIdentifier": "security@ubuntu.com",
      "vulnStatus": "Modified",
      "weaknesses": [
        {
          "description": [
            {
              "lang": "en",
              "value": "CWE-416"
            }
          ],
          "source": "security@ubuntu.com",
          "type": "Secondary"
        },
        {
          "description": [
            {
              "lang": "en",
              "value": "CWE-416"
            }
          ],
          "source": "nvd@nist.gov",
          "type": "Primary"
        }
      ]
    }

    FKIE_CVE-2022-1804

    Vulnerability from fkie_nvd - Published: 2025-03-25 13:15 - Updated: 2026-06-17 04:23
    Summary
    accountsservice no longer drops permissions when writting .pam_environment
    Impacted products
    Vendor Product Version
    canonical accountsservice *
    canonical ubuntu_linux 22.04

    {
      "affected": [
        {
          "affectedData": [
            {
              "defaultStatus": "unaffected",
              "packageName": "accountsservice",
              "platforms": [
                "Linux"
              ],
              "product": "Linux",
              "repo": "https://gitlab.freedesktop.org/accountsservice/accountsservice",
              "vendor": "Ubuntu",
              "versions": [
                {
                  "lessThan": "22.07.5-2ubuntu1.3",
                  "status": "affected",
                  "version": "0.6.55-3ubuntu1",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "source": "security@ubuntu.com"
        }
      ],
      "configurations": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:canonical:accountsservice:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "9EF7139A-A249-447C-BFDD-96C7708E0BB2",
                  "versionEndExcluding": "22.07.5-2ubuntu1.3",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        },
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:canonical:ubuntu_linux:22.04:*:*:*:lts:*:*:*",
                  "matchCriteriaId": "359012F1-2C63-415A-88B8-6726A87830DE",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "cveTags": [],
      "descriptions": [
        {
          "lang": "en",
          "value": "accountsservice no longer drops permissions when writting .pam_environment"
        },
        {
          "lang": "es",
          "value": "accountsservice ya no elimina los permisos al escribir .pam_environment"
        }
      ],
      "id": "CVE-2022-1804",
      "lastModified": "2026-06-17T04:23:08.613",
      "metrics": {
        "cvssMetricV31": [
          {
            "cvssData": {
              "attackComplexity": "LOW",
              "attackVector": "LOCAL",
              "availabilityImpact": "HIGH",
              "baseScore": 5.5,
              "baseSeverity": "MEDIUM",
              "confidentialityImpact": "NONE",
              "integrityImpact": "NONE",
              "privilegesRequired": "LOW",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
              "version": "3.1"
            },
            "exploitabilityScore": 1.8,
            "impactScore": 3.6,
            "source": "security@ubuntu.com",
            "type": "Secondary"
          }
        ],
        "ssvcV203": [
          {
            "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
            "ssvcData": {
              "id": "CVE-2022-1804",
              "options": [
                {
                  "exploitation": "none"
                },
                {
                  "automatable": "no"
                },
                {
                  "technicalImpact": "partial"
                }
              ],
              "role": "CISA Coordinator",
              "timestamp": "2025-03-25T12:58:36.536196Z",
              "version": "2.0.3"
            }
          }
        ]
      },
      "published": "2025-03-25T13:15:38.703",
      "references": [
        {
          "source": "security@ubuntu.com",
          "tags": [
            "Issue Tracking"
          ],
          "url": "https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1974250"
        },
        {
          "source": "security@ubuntu.com",
          "tags": [
            "Vendor Advisory"
          ],
          "url": "https://ubuntu.com/security/notices/USN-5439-1"
        }
      ],
      "sourceIdentifier": "security@ubuntu.com",
      "vulnStatus": "Analyzed",
      "weaknesses": [
        {
          "description": [
            {
              "lang": "en",
              "value": "CWE-269"
            }
          ],
          "source": "security@ubuntu.com",
          "type": "Secondary"
        },
        {
          "description": [
            {
              "lang": "en",
              "value": "NVD-CWE-noinfo"
            }
          ],
          "source": "nvd@nist.gov",
          "type": "Primary"
        }
      ]
    }

    FKIE_CVE-2021-3939

    Vulnerability from fkie_nvd - Published: 2021-11-17 04:15 - Updated: 2026-06-17 04:06
    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.

    {
      "affected": [
        {
          "affectedData": [
            {
              "product": "accountsservice",
              "vendor": "Ubuntu",
              "versions": [
                {
                  "lessThan": "0.6.55-0ubuntu12~20.04.5",
                  "status": "affected",
                  "version": "0.6.55-0ubuntu12~20.04",
                  "versionType": "custom"
                },
                {
                  "lessThan": "0.6.55-0ubuntu13.3",
                  "status": "affected",
                  "version": "0.6.55-0ubuntu13",
                  "versionType": "custom"
                },
                {
                  "lessThan": "0.6.55-0ubuntu14.1",
                  "status": "affected",
                  "version": "0.6.55-0ubuntu14",
                  "versionType": "custom"
                }
              ]
            }
          ],
          "source": "security@ubuntu.com"
        }
      ],
      "configurations": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:canonical:accountsservice:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "AB08CB97-D747-4D11-9824-4AD73BAA28F6",
                  "versionEndExcluding": "0.6.55-0ubuntu12\\~20.05",
                  "versionStartIncluding": "0.6.55-0ubuntu12\\~20.04",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:canonical:accountsservice:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "EDFB086F-2F2C-48ED-B020-96FDA6D581EB",
                  "versionEndExcluding": "0.6.55-0ubuntu13.3",
                  "versionStartIncluding": "0.6.55-0ubuntu13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:canonical:accountsservice:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "F1A2D965-5BF5-4B21-899A-1AD29AE1F669",
                  "versionEndExcluding": "0.6.55-0ubuntu14.1",
                  "versionStartIncluding": "0.6.55-0ubuntu14",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        },
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:*",
                  "matchCriteriaId": "902B8056-9E37-443B-8905-8AA93E2447FB",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:canonical:ubuntu_linux:21.04:*:*:*:*:*:*:*",
                  "matchCriteriaId": "8EF1C1CC-3FAE-4DE3-BC41-E5B14D5721F4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:canonical:ubuntu_linux:21.10:*:*:*:*:*:*:*",
                  "matchCriteriaId": "AAE4D2D0-CEEB-416F-8BC5-A7987DF56190",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "cveTags": [],
      "descriptions": [
        {
          "lang": "en",
          "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."
        },
        {
          "lang": "es",
          "value": "Unas modificaciones espec\u00edficas de Ubuntu a accountsservice (en el archivo de parche debian/patches/0010-set-language.patch) causaron la liberaci\u00f3n de la variable fallback_locale, que apunta al almacenamiento est\u00e1tico, en la funci\u00f3n user_change_language_authorized_cb. Esto es accesible por medio de la funci\u00f3n 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"
        }
      ],
      "id": "CVE-2021-3939",
      "lastModified": "2026-06-17T04:06:01.293",
      "metrics": {
        "cvssMetricV2": [
          {
            "acInsufInfo": false,
            "baseSeverity": "HIGH",
            "cvssData": {
              "accessComplexity": "LOW",
              "accessVector": "LOCAL",
              "authentication": "NONE",
              "availabilityImpact": "COMPLETE",
              "baseScore": 7.2,
              "confidentialityImpact": "COMPLETE",
              "integrityImpact": "COMPLETE",
              "vectorString": "AV:L/AC:L/Au:N/C:C/I:C/A:C",
              "version": "2.0"
            },
            "exploitabilityScore": 3.9,
            "impactScore": 10.0,
            "obtainAllPrivilege": false,
            "obtainOtherPrivilege": false,
            "obtainUserPrivilege": false,
            "source": "nvd@nist.gov",
            "type": "Primary",
            "userInteractionRequired": false
          }
        ],
        "cvssMetricV31": [
          {
            "cvssData": {
              "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"
            },
            "exploitabilityScore": 1.1,
            "impactScore": 6.0,
            "source": "security@ubuntu.com",
            "type": "Secondary"
          },
          {
            "cvssData": {
              "attackComplexity": "LOW",
              "attackVector": "LOCAL",
              "availabilityImpact": "HIGH",
              "baseScore": 7.8,
              "baseSeverity": "HIGH",
              "confidentialityImpact": "HIGH",
              "integrityImpact": "HIGH",
              "privilegesRequired": "LOW",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
              "version": "3.1"
            },
            "exploitabilityScore": 1.8,
            "impactScore": 5.9,
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      },
      "published": "2021-11-17T04:15:06.977",
      "references": [
        {
          "source": "security@ubuntu.com",
          "url": "http://packetstormsecurity.com/files/172848/Ubuntu-accountsservice-Double-Free-Memory-Corruption.html"
        },
        {
          "source": "security@ubuntu.com",
          "tags": [
            "Broken Link"
          ],
          "url": "https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1950149"
        },
        {
          "source": "security@ubuntu.com",
          "tags": [
            "Vendor Advisory"
          ],
          "url": "https://ubuntu.com/security/notices/USN-5149-1"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "url": "http://packetstormsecurity.com/files/172848/Ubuntu-accountsservice-Double-Free-Memory-Corruption.html"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Broken Link"
          ],
          "url": "https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1950149"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Vendor Advisory"
          ],
          "url": "https://ubuntu.com/security/notices/USN-5149-1"
        }
      ],
      "sourceIdentifier": "security@ubuntu.com",
      "vulnStatus": "Modified",
      "weaknesses": [
        {
          "description": [
            {
              "lang": "en",
              "value": "CWE-590"
            }
          ],
          "source": "security@ubuntu.com",
          "type": "Secondary"
        },
        {
          "description": [
            {
              "lang": "en",
              "value": "CWE-763"
            }
          ],
          "source": "nvd@nist.gov",
          "type": "Primary"
        }
      ]
    }

    FKIE_CVE-2011-4406

    Vulnerability from fkie_nvd - Published: 2014-04-16 18:37 - Updated: 2026-06-16 23:34

    {
      "affected": [
        {
          "affectedData": [
            {
              "product": "n/a",
              "vendor": "n/a",
              "versions": [
                {
                  "status": "affected",
                  "version": "n/a"
                }
              ]
            }
          ],
          "source": "security@ubuntu.com"
        }
      ],
      "configurations": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:canonical:accountsservice:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "EB2E34A7-8971-458C-91CB-D493DE737580",
                  "versionEndIncluding": "0.6.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:canonical:ubuntu_linux:11.10:*:*:*:*:*:*:*",
                  "matchCriteriaId": "E4174F4F-149E-41A6-BBCC-D01114C05F38",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "cveTags": [],
      "descriptions": [
        {
          "lang": "en",
          "value": "The Ubuntu AccountsService package before 0.6.14-1git1ubuntu1.1 does not properly drop privileges when changing language settings, which allows local users to modify arbitrary files via unspecified vectors."
        },
        {
          "lang": "es",
          "value": "El paquete Ubuntu AccountsService anterior a 0.6.14-1git1ubuntu1.1 no elimina debidamente privilegios cuando se cambian configuraciones de lenguaje, lo que permite a usuarios locales modificar archivos arbitrarios a trav\u00e9s de vectores no especificados."
        }
      ],
      "id": "CVE-2011-4406",
      "lastModified": "2026-06-16T23:34:52.690",
      "metrics": {
        "cvssMetricV2": [
          {
            "acInsufInfo": false,
            "baseSeverity": "LOW",
            "cvssData": {
              "accessComplexity": "LOW",
              "accessVector": "LOCAL",
              "authentication": "NONE",
              "availabilityImpact": "PARTIAL",
              "baseScore": 3.6,
              "confidentialityImpact": "NONE",
              "integrityImpact": "PARTIAL",
              "vectorString": "AV:L/AC:L/Au:N/C:N/I:P/A:P",
              "version": "2.0"
            },
            "exploitabilityScore": 3.9,
            "impactScore": 4.9,
            "obtainAllPrivilege": false,
            "obtainOtherPrivilege": false,
            "obtainUserPrivilege": false,
            "source": "nvd@nist.gov",
            "type": "Primary",
            "userInteractionRequired": false
          }
        ]
      },
      "published": "2014-04-16T18:37:11.740",
      "references": [
        {
          "source": "security@ubuntu.com",
          "tags": [
            "Patch"
          ],
          "url": "http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/oneiric/accountsservice/oneiric-updates/revision/21"
        },
        {
          "source": "security@ubuntu.com",
          "url": "http://people.canonical.com/~ubuntu-security/cve/2011/CVE-2011-4406.html"
        },
        {
          "source": "security@ubuntu.com",
          "tags": [
            "Vendor Advisory"
          ],
          "url": "http://www.ubuntu.com/usn/USN-1351-1"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Patch"
          ],
          "url": "http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/oneiric/accountsservice/oneiric-updates/revision/21"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "url": "http://people.canonical.com/~ubuntu-security/cve/2011/CVE-2011-4406.html"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Vendor Advisory"
          ],
          "url": "http://www.ubuntu.com/usn/USN-1351-1"
        }
      ],
      "sourceIdentifier": "security@ubuntu.com",
      "vulnStatus": "Modified",
      "weaknesses": [
        {
          "description": [
            {
              "lang": "en",
              "value": "CWE-264"
            }
          ],
          "source": "nvd@nist.gov",
          "type": "Primary"
        }
      ]
    }