CVE-2026-97999: Heap buffer overflow in embedded database migration

Published Nov 16, 2026
·
Updated

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.

Affected Software

1 affected component
The Document Foundation LibreOffice

Event History

Nov 16, 2026
CVE Published
via MITRE·04:40 PM
Data Sourced
via MITRE·04:40 PM
DescriptionWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Users who open LibreOffice Base documents containing an embedded HSQLDB database are exposed when the experimental features option is enabled and the database is migrated to the embedded Firebird engine. The described migration path is not offered unless experimental features are enabled.

2

What must an attacker-controlled document contain to trigger the overflow?

The document must contain an embedded HSQLDB database with binary values that are longer than the space allocated for their columns. The overflow occurs while those binary values are copied during migration to Firebird.

3

What can be done if an update cannot be applied immediately?

Disable the experimental features option and avoid migrating embedded HSQLDB databases to the Firebird engine when opening LibreOffice Base documents.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203