CVE-2026-97999 — The Document Foundation LibreOffice
One of 24 The Document Foundation LibreOffice vulnerabilities published together by NVD: our article covers all of them.
DatabasesVulnerabilitiesSummary
LibreOffice Base documents can hold an embedded HSQLDB database. When the experimental features option is enabled, LibreOffice offers to migrate such a database to the embedded Firebird engine when the document is opened. A heap buffer overflow existed when binary values were copied during the migration, because a value could be longer than the space set aside for its column. In fixed versions that space is enlarged whenever a value is longer than its column.
Severity breakdown
Medium · 5.4
An attacker without an account can exploit this with local access if a user views or visits something.
- Attack from
- local access (a logged-in user, or a malicious file opened on the device)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- Login needed
- no
- User action needed
- yes, a user must view or visit something
- Impact
- high on availability, low on confidentiality and integrity
- Impact on other systems
- none
- Exploit maturity
- a proof-of-concept exploit is public
Weakness
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| The Document Foundation LibreOffice | ≥ 26.2, < < 26.2.7 | < 26.2.7 |
| ≥ 26.8, < < 26.8.2 | < 26.8.2 |
References by type
Other references
Affected
- The Document Foundation LibreOffice
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-97999?
LibreOffice Base documents can hold an embedded HSQLDB database. When the experimental features option is enabled, LibreOffice offers to migrate such a database to the embedded Firebird engine when the document is opened. A heap buffer overflow existed when binary values were copied during the migration, because a value could be longer than the space set aside for its column. Weakness type: Out-of-bounds Write (CWE-787).
How severe is CVE-2026-97999?
CVE-2026-97999 has a CVSS 4.0 base score of 5.4 (medium), from the CNA (documentfoundation.org). An attacker without an account can exploit this with local access if a user views or visits something.
Is CVE-2026-97999 being exploited?
Not as far as is known: CVE-2026-97999 is not in CISA's Known Exploited Vulnerabilities catalog as of November 30, 2026. EPSS estimates a 0.2% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-97999?
The Document Foundation LibreOffice ≥ 26.2, < < 26.2.7 (fixed in < 26.2.7); The Document Foundation LibreOffice ≥ 26.8, < < 26.8.2 (fixed in < 26.8.2).
How do I fix CVE-2026-97999?
Update to a fixed release: The Document Foundation LibreOffice < 26.2.7; The Document Foundation LibreOffice < 26.8.2.