CVE-2026-97999
Received Received - Intake

Heap Buffer Overflow in LibreOffice Base During HSQLDB Migration

Vulnerability report for CVE-2026-97999, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-16

Last updated on: 2026-11-16

Assigner: Document Foundation, The

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-16
Last Modified
2026-11-16
Generated
2026-11-16
AI Q&A
2026-11-16
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
the_document_foundation libreoffice *-*

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-805 The product uses a sequential operation to read or write a buffer, but it uses an incorrect length value that causes it to access memory that is outside of the bounds of the buffer.
CWE-787 The product writes data past the end, or before the beginning, of the intended buffer.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

LibreOffice Base documents can contain an embedded HSQLDB database. When experimental features are enabled, LibreOffice attempts to migrate this database to the Firebird engine upon opening the document. A heap buffer overflow occurs during migration when binary values exceed the allocated column space, as the value length is not properly checked before copying.

Detection Guidance

Detection requires checking if LibreOffice with experimental features enabled is processing Base documents containing HSQLDB databases. Monitor for crashes or unusual behavior when opening such documents. No specific commands are provided in the context.

Impact Analysis

This vulnerability could allow an attacker to execute arbitrary code or cause a denial of service by tricking a user into opening a specially crafted LibreOffice Base document. Successful exploitation requires the experimental features option to be enabled and user interaction.

Mitigation Strategies

Update LibreOffice to a fixed version where the buffer overflow is resolved. Disable the experimental features option in LibreOffice to prevent migration attempts. Avoid opening untrusted Base documents until patched.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-97999. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...