---
title: CVE-2022-26307
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2022-26307
---

# CVE-2022-26307

Publication date 25 July 2022

Last updated 25 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**8.8 · High**

[Score breakdown](https://ubuntu.com/security/CVE-2022-26307#impact-score)

Toggle side navigation

## Description

LibreOffice supports the storage of passwords for web connections in the
user’s configuration database. The stored passwords are encrypted with a
single master key provided by the user. A flaw in LibreOffice existed where
master key was poorly encoded resulting in weakening its entropy from 128
to 43 bits making the stored passwords vulerable to a brute force attack if
an attacker has access to the users stored config. This issue affects: The
Document Foundation LibreOffice 7.2 versions prior to 7.2.7; 7.3 versions
prior to 7.3.3.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| libreoffice | 23.04 lunar | Not affected |
| 22.10 kinetic | Not affected |
| 22.04 LTS jammy | Not affected |
| 20.04 LTS focal | Fixed in 1:6.4.7-0ubuntu0.20.04.5 |
| 18.04 LTS bionic | Fixed in 1:6.0.7-0ubuntu0.18.04.12 |
| 16.04 LTS xenial | Ignored end of standard support |
| 14.04 LTS trusty | Ignored end of standard support |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2022-26307#patch-details)

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| libreoffice | * Upstream:   [e890f54](https://github.com/LibreOffice/core/commit/e890f54dbac57f3ab5acf4fbd31222095d3e8ab6) * Upstream:   [c5d01b1](https://github.com/LibreOffice/core/commit/c5d01b11db3c83cb4a89d3b388d78e20dd3990b5) * Upstream:   [74e1b3f](https://github.com/LibreOffice/core/commit/74e1b3f855c7f0349577681601dd1eb11917dd06) * Upstream:   [7e35d53](https://github.com/LibreOffice/core/commit/7e35d53f51bb89ed3cea5f946214afb7d81e1b1e) * Upstream:   [df05d27](https://github.com/LibreOffice/core/commit/df05d27336927373bf83664a90156fbe505fc546) * Upstream:   [c17ba83](https://github.com/LibreOffice/core/commit/c17ba8306704d6d428d673fb0079c4276f0bc256) * Upstream:   [cedd806](https://github.com/LibreOffice/core/commit/cedd8063fed50cfd75fa3c69c4c87e2ae79b944d) |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

8.8 · High

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | Low |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | High |
  | Integrity impact | High |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 8.8 · High |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-26307)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2022-26307)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2022-26307)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2022-26307)

### Related Ubuntu Security Notices (USN)

+ [USN-5661-1](https://usn.ubuntu.com/USN-5661-1)
+ LibreOffice vulnerabilities
+ 6 October 2022

+ [USN-5694-1](https://usn.ubuntu.com/USN-5694-1)
+ LibreOffice vulnerabilities
+ 20 October 2022

### Other references

* <https://www.libreoffice.org/about-us/security/advisories/cve-2022-26307>
* <https://www.cve.org/CVERecord?id=CVE-2022-26307>
