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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.4, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-16 · Modified: 2026-11-17
- Aliases: DEBIAN-CVE-2026-97999, UBUNTU-CVE-2026-97999
- Record: https://cvemate.com/vulnerability/CVE-2026-97999 · JSON: https://cvemate.com/vulnerability/CVE-2026-97999/json

## Description

```text
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.
```

## Signals

- CVSS: 5.4 medium (v4.0, CVE.org) 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
- EPSS: 0.157%, percentile 5.056%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian libreoffice (Debian): All versions (No fix recorded) \| \< 4:25.2.3-2+deb13u12 \| \< 4:26.8.2.2-2
- ubuntu libreoffice (Ubuntu): All versions (No fix recorded)
- the document foundation libreoffice: ≥ 26.2, \< \< 26.2.7 \| ≥ 26.8, \< \< 26.8.2

## References

- <https://www.libreoffice.org/about-us/security/advisories/cve-2026-97999>
- <https://security-tracker.debian.org/tracker/CVE-2026-97999>
- <https://ubuntu.com/security/CVE-2026-97999>
- <https://www.cve.org/CVERecord?id=CVE-2026-97999>
- <https://www.libreoffice.org/security/#cve-2026-97999>

---

Data as of 2026-12-05T04:41:35.727Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
