Skip to main content

LibreOffice Base CVE-2026-97999

| EUVDEUVD-2026-126524 MEDIUM
Out-of-bounds Write (CWE-787)
2026-11-16 Document Fdn. GHSA-frjq-2gwq-5hrp
5.4
CVSS 4.0 · Vendor: Document Fdn.
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious Base document with oversized HSQLDB binary values
  2. Delivery
    Deliver file to victim with experimental features enabled
  3. Exploit
    Victim opens document and accepts Firebird migration
  4. Execution
    Heap buffer overflow during binary value copy
  5. Impact
    Application crash or memory corruption

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires ALL of the following: (1) LibreOffice's 'experimental features' option must be explicitly enabled - it is off by default, which is the single strongest limiting factor; (2) the victim must open an attacker-supplied Base (.odb) document that embeds an HSQLDB database containing a binary value longer than its column's allotted space; and (3) the user must accept the migration offer to the embedded Firebird engine presented when the document opens (reflected as UI:P / passive user interaction in the vector). Because the vector is local (AV:L) and no network path exists, the attacker must first deliver the file to the victim. These conditions - non-default configuration plus required user interaction - substantially narrow realistic exposure below what the raw CVSS score suggests.

Impact

This is a genuinely moderate-severity, low-urgency issue rather than a high-priority emergency. The vendor-supplied CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H) scores 5.4 and describes a LOCAL, user-interaction-dependent flaw: an attacker cannot reach it over the network, and the victim must open a malicious LibreOffice Base document AND accept the Firebird migration prompt. The exploit-maturity metric in the vector is E:P (Proof-of-Concept), indicating the vendor rates a PoC as existing, but the only supplied reference is the LibreOffice security advisory itself - no working exploit code or PoC link is provided in the input, and the CVE is NOT in CISA KEV, so there is no evidence of active exploitation. No EPSS score was supplied. The vuln.today decision label is 'this_month,' consistent with a patch-on-normal-cadence posture rather than act_now/emergency. The impact profile is weighted toward availability (VA:H - a crash from the heap out-of-bounds write, CWE-787) with only limited confidentiality/integrity impact (VC:L/VI:L), meaning reliable arbitrary code execution is not established by the data. A key limiting factor the raw score understates: exploitation requires the EXPERIMENTAL FEATURES option to be enabled, which is off by default. Net: real but low-priority for most environments; prioritize only where experimental features are enabled and untrusted Base documents are opened.

Exploit ScenarioDerived

An attacker crafts a LibreOffice Base document containing an embedded HSQLDB database with binary column values longer than their allotted column space, then delivers it to a victim who has LibreOffice's experimental features enabled. When the victim opens the file and accepts the offered migration to the embedded Firebird engine, the oversized binary value is copied past its buffer, causing a heap buffer overflow (crash, with potential for further memory corruption). The CVSS vector marks exploit maturity as Proof-of-Concept (E:P), but no working exploit code is supplied in the available sources; the local attack vector and required user interaction make this an opportunistic social-engineering scenario rather than a scalable attack.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 16, 2026

A heap buffer overflow in LibreOffice Base's embedded-database migration path can corrupt memory when a crafted Base (.odb) document containing an HSQLDB database is opened and the user accepts the offer to convert that data to the embedded Firebird engine. Realistic exposure is gated by the non-default 'experimental features' option, which must be explicitly enabled for the migration prompt to appear at all, and by the need to deliver the file locally and persuade the recipient to proceed with the conversion (assessed CVSS 3.1 5.4, AV:L/UI:R, availability impact High). The CVSS 4.0 vector records exploit maturity as proof-of-concept (E:P); there is no CISA KEV entry and no confirmed working exploit code in the available data, and the vendor has published a corresponding security advisory alongside fixed builds.

RemediationAI

Upgrade to a fixed LibreOffice build as listed in the vendor security advisory at https://www.libreoffice.org/about-us/security/advisories/cve-2026-97999, which is the only authoritative source of exact fixed version numbers for each affected branch; that update is the complete fix and no version numbers should be inferred from this analysis. Where upgrading must be staged, the most effective compensating control is to leave the 'experimental features' option disabled (and to confirm via configuration policy that it has not been enabled), which removes the migration offer entirely and keeps the vulnerable conversion code out of reach - at the cost of also disabling the other experimental functionality that flag enables. Because the attack requires a local file, screening untrusted .odb documents before they reach users, and instructing users to decline the Firebird migration prompt for databases from unknown sources, reduces the chance of the required user interaction - though neither measure repairs the underlying overflow if the prompt is accepted.

Affected VersionsENISA

libreoffice 26.2 << 26.2.7
libreoffice 26.8 << 26.8.2

Affected Packages

euvd libreoffice_26_2 fix: 26.2.7
euvd libreoffice_26_8 fix: 26.8.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

LibreOffice Base documents (.odb) can embed a database engine; historically HSQLDB (a Java-based embedded SQL engine) was the default, and LibreOffice has been moving users to the embedded Firebird engine via an in-application migration offered at document open time. The migration code copies column values out of the HSQLDB source into structures sized for the target column, and the flaw is that a binary value can be longer than the space reserved for its column, so the copy writes past the end of that allocation - a classic out-of-bounds write in the CWE-787 class, resulting in heap memory corruption. The vendor's fix enlarges the destination space whenever a value exceeds its column's size. The defect sits entirely in local document-parsing and conversion logic inside the office suite: there is no server component and no network-reachable endpoint, the CVSS vector is AV:L, and the migration dialog is the user-interaction gate (UI:P in the 4.0 vector). Importantly, the migration offer only exists when the 'experimental features' option has been turned on in LibreOffice; with the shipped default configuration the vulnerable conversion path is not reached. Beyond that gating and the required acceptance of the migration prompt, the sources do not describe further preconditions for triggering the overflow.

Know when Libreoffice gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Document Fdn.) PRIMARY 5.4 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N/E:P
vuln.today AI 6.6 MEDIUM

AV:L and UI:R because the victim must open a malicious local document and accept the migration prompt; PR:N as no attacker privileges are needed; A:H with only C:L/I:L reflects a crash-dominant heap write.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (Document Fdn.).

CVSS VectorVendor: Document Fdn.

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 16, 2026 - 18:19 EUVD
CVE Published
Nov 16, 2026 - 16:40 cve.org
MEDIUM 5.4

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
High
widely deployed open-source office suite, default on many Linux distributions
Social Media
1
Sightings
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +27
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

CVE-2019-9851 CRITICAL POC
9.8 Aug 15

LibreOffice is typically bundled with LibreLogo, a programmable turtle vector graphics script, which can execute arbitra

CVE-2015-5212 MEDIUM
6.8 Nov 10

Integer underflow in LibreOffice before 4.4.5 and Apache OpenOffice before 4.1.2, when the configuration setting "Load p

CVE-2015-5214 MEDIUM
6.8 Nov 10

LibreOffice before 4.4.6 and 5.x before 5.0.1 and Apache OpenOffice before 4.1.2 allows remote attackers to cause a deni

CVE-2018-6871 CRITICAL POC
9.8 Feb 09

LibreOffice before 5.4.5 and 6.x before 6.0.1 allows remote attackers to read arbitrary files via =WEBSERVICE calls in a

CVE-2021-25631 HIGH POC
8.8 May 03

In the LibreOffice 7-1 series in versions prior to 7.1.2, and in the 7-0 series in versions prior to 7.0.5, the denylist

CVE-2012-2334 MEDIUM POC
6.8 Jun 19

Integer overflow in filter/source/msfilter/msdffimp.cxx in OpenOffice.org (OOo) 3.3, 3.4 Beta, and possibly earlier, and

CVE-2018-10583 HIGH POC
7.5 May 01

An information disclosure vulnerability occurs when LibreOffice 6.0.3 and Apache OpenOffice Writer 4.1.5 automatically p

CVE-2014-3524 CRITICAL
9.3 Aug 26

Apache OpenOffice before 4.1.1 allows remote attackers to execute arbitrary commands and possibly have other unspecified

CVE-2015-5213 MEDIUM
6.8 Nov 10

Integer overflow in LibreOffice before 4.4.5 and Apache OpenOffice before 4.1.2 allows remote attackers to cause a denia

CVE-2014-0247 CRITICAL
10.0 Jul 03

LibreOffice 4.2.4 executes unspecified VBA macros automatically, which has unspecified impact and attack vectors, possib

CVE-2012-0037 MEDIUM POC
6.5 Jun 17

Redland Raptor (aka libraptor) before 2.0.7, as used by OpenOffice 3.3 and 3.4 Beta, LibreOffice before 3.4.6 and 3.5.x

CVE-2017-7856 CRITICAL
9.8 Apr 14

LibreOffice before 2017-03-11 has an out-of-bounds write caused by a heap-based buffer overflow in the SVMConverter::Imp

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy