p PatchFirst

CVE-2026-97894

CVE-2026-97894 · Out-of-bounds read in UTF-16 text and DIF spreadsheet import

CVSS 5.4 · Medium · EPSS 0.2% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="libreoffice"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

This page shows selected source facts. See the linked advisories for the complete description and affected versions.

LibreOffice Calc can open spreadsheets in the DIF format, and text files such as CSV in the UTF-16 encoding. Both are read one line at a time. An out-of-bounds read existed when a line of a crafted file was read, because the length of the line could be miscalculated, so memory beyond the line could be copied into the imported document. In fixed versions each line is read up to its limit and no further.

Published
Updated

Fixes in distributions

Stack: system

Affected products and versions

  • libreoffice

    Versions
    • ≥ 26.2, < < 26.2.7: Affected (26.2 series)
    • ≥ 26.8, < < 26.8.2: Affected (26.8 series)

    No fix published

  • libreoffice Debian 12

    Versions
    • 4:24.2.0-1
    • 4:24.2.0-1~bpo12+1
    • 4:24.2.0-2
    • 4:24.2.0-3
    • 4:24.2.0~alpha1-1
    • 4:24.2.0~beta1-1
    All versions (260)
    • 4:24.2.0~rc1-1
    • 4:24.2.0~rc1-2
    • 4:24.2.0~rc2-1
    • 4:24.2.0~rc2-2
    • 4:24.2.0~rc2-2~bpo12+1
    • 4:24.2.1-1
    • 4:24.2.1-2
    • 4:24.2.1-3
    • 4:24.2.1-4
    • 4:24.2.1~rc1-1
    • 4:24.2.1~rc2-1
    • 4:24.2.2-1
    • 4:24.2.2-2
    • 4:24.2.2-3
    • 4:24.2.2~rc1-1
    • 4:24.2.2~rc1-2
    • 4:24.2.2~rc2-1
    • 4:24.2.2~rc2-2
    • 4:24.2.3-1
    • 4:24.2.3-1~bpo12+1
    • 4:24.2.3-2
    • 4:24.2.3~rc1-1
    • 4:24.2.3~rc1-2
    • 4:24.2.3~rc1-3
    • 4:24.2.3~rc2-1
    • 4:24.2.4-1
    • 4:24.2.4-1~bpo12+1
    • 4:24.2.5-1
    • 4:24.2.5-1~bpo12+1
    • 4:24.2.5-2
    • 4:24.2.5-3
    • 4:24.2.5-4
    • 4:24.2.6-1
    • 4:24.2.6-2
    • 4:24.2.6-2~bpo12+1
    • 4:24.8.0~alpha1-1
    • 4:24.8.0~alpha1-2
    • 4:24.8.0~alpha1-3
    • 4:24.8.0~alpha1-4
    • 4:24.8.0~beta1-1
    • 4:24.8.0~rc1-1
    • 4:24.8.0~rc2-1
    • 4:24.8.0~rc3-1
    • 4:24.8.0~rc3-2
    • 4:24.8.1-1
    • 4:24.8.1-2
    • 4:24.8.1~rc1-1
    • 4:24.8.2-1
    • 4:24.8.2-1~bpo12+1
    • 4:24.8.2-2
    • 4:24.8.2~rc1-1
    • 4:24.8.3-1
    • 4:24.8.3-1~bpo12+1
    • 4:24.8.3-2
    • 4:24.8.3-3
    • 4:24.8.4-1
    • 4:24.8.4-1~bpo12+1
    • 4:24.8.4-2
    • 4:24.8.4-3
    • 4:24.8.4-4
    • 4:24.8.5-1
    • 4:24.8.5-2
    • 4:24.8.5-2~bpo12+1
    • 4:24.8.5-2~bpo12+2
    • 4:25.2.0~alpha1-1
    • 4:25.2.0~beta1-1
    • 4:25.2.0~beta1-2
    • 4:25.2.0~rc1-1
    • 4:25.2.0~rc1-2
    • 4:25.2.0~rc1-3
    • 4:25.2.0~rc1-4
    • 4:25.2.0~rc2-1
    • 4:25.2.0~rc3-1
    • 4:25.2.0~rc3-2
    • 4:25.2.1-1
    • 4:25.2.1-2
    • 4:25.2.1-3
    • 4:25.2.1-3~bpo12+1
    • 4:25.2.1~rc1-1
    • 4:25.2.1~rc1-2
    • 4:25.2.1~rc2-1
    • 4:25.2.2-1
    • 4:25.2.2-1~bpo12+1
    • 4:25.2.2-2
    • 4:25.2.2-3
    • 4:25.2.2-3~bpo12+1
    • 4:25.2.2~rc1-1
    • 4:25.2.2~rc2-1
    • 4:25.2.3-1
    • 4:25.2.3-2
    • 4:25.2.3-2~bpo12+1
    • 4:25.2.3~rc1-1
    • 4:25.2.3~rc1-2
    • 4:25.2.3~rc2-1
    • 4:25.8.0-1
    • 4:25.8.0-1~bpo13+1
    • 4:25.8.0~alpha1-1
    • 4:25.8.0~alpha1-2
    • 4:25.8.0~beta1-1
    • 4:25.8.0~rc1-1
    • 4:25.8.0~rc1-2
    • 4:25.8.0~rc2-1
    • 4:25.8.0~rc2-2
    • 4:25.8.0~rc3-1
    • 4:25.8.0~rc4-1
    • 4:25.8.0~rc4-2
    • 4:25.8.1-1
    • 4:25.8.1-1~bpo13+1
    • 4:25.8.1~rc1-1
    • 4:25.8.2-1
    • 4:25.8.2-2
    • 4:25.8.2-3
    • 4:25.8.2-3~bpo13+1
    • 4:25.8.2~rc1-1
    • 4:25.8.2~rc2-1
    • 4:25.8.3-1
    • 4:25.8.3-1+ports
    • 4:25.8.3-1~bpo13+1
    • 4:25.8.3~rc1-1
    • 4:25.8.3~rc2-1
    • 4:25.8.4-1
    • 4:25.8.4-1~bpo13+1
    • 4:26.2.0-1
    • 4:26.2.0-1~bpo13+1
    • 4:26.2.0~alpha1-1
    • 4:26.2.0~alpha1-2
    • 4:26.2.0~alpha1-3
    • 4:26.2.0~beta1-1
    • 4:26.2.0~rc1-1
    • 4:26.2.0~rc2-1
    • 4:26.2.0~rc3-1
    • 4:26.2.1-1
    • 4:26.2.1-1~bpo13+1
    • 4:26.2.1~rc1-1
    • 4:26.2.1~rc2-1
    • 4:26.2.2.1-1
    • 4:26.2.2.1-2
    • 4:26.2.2.2-1
    • 4:26.2.2.2-2
    • 4:26.2.2.2-3
    • 4:26.2.2.2-3~bpo13+1
    • 4:26.2.3.1-1
    • 4:26.2.3.2-1
    • 4:26.2.3.2-2
    • 4:26.2.3.2-2~bpo13+1
    • 4:26.2.4.1-1
    • 4:26.2.4.2-1
    • 4:26.2.4.2-1~bpo13+1
    • 4:26.2.4.2-2
    • 4:26.2.5.2-1
    • 4:26.2.5.2-2
    • 4:26.2.5.2-2~bpo13+1
    • 4:26.8.0.0.alpha1-1
    • 4:26.8.0.0.alpha1-2
    • 4:26.8.0.0.alpha1-3
    • 4:26.8.0.0.alpha1-4
    • 4:26.8.0.0.beta1-1
    • 4:26.8.0.1-1
    • 4:26.8.0.2-1
    • 4:26.8.0.3-1
    • 4:26.8.0.3-2
    • 4:26.8.0.3-2~bpo13+1
    • 4:26.8.1.1-1
    • 4:26.8.1.1-2
    • 4:26.8.1.1-3
    • 4:26.8.1.1-3~bpo13+1
    • 4:26.8.1.1-3~bpo13+2
    • 4:26.8.2.1-1
    • 4:26.8.2.1-2
    • 4:26.8.2.2-1
    • 4:26.8.2.2-2
    • 4:26.8.2.2-2~bpo13+1
    • 4:26.8.2.2-3
    • 4:26.8.3.1-1
    • 4:26.8.3.1-2
    • 4:26.8.3.1-3
    • 4:7.4.5-3
    • 4:7.4.7-1
    • 4:7.4.7-1+deb12u1
    • 4:7.4.7-1+deb12u10
    • 4:7.4.7-1+deb12u11
    • 4:7.4.7-1+deb12u12
    • 4:7.4.7-1+deb12u13
    • 4:7.4.7-1+deb12u14
    • 4:7.4.7-1+deb12u1~bpo11+1
    • 4:7.4.7-1+deb12u2
    • 4:7.4.7-1+deb12u2~bpo11+1
    • 4:7.4.7-1+deb12u3
    • 4:7.4.7-1+deb12u4
    • 4:7.4.7-1+deb12u5
    • 4:7.4.7-1+deb12u6
    • 4:7.4.7-1+deb12u7
    • 4:7.4.7-1+deb12u8
    • 4:7.4.7-1+deb12u9
    • 4:7.4.7-1~bpo11+1
    • 4:7.5.0~rc2-7
    • 4:7.5.0~rc3-1
    • 4:7.5.1~rc1-1
    • 4:7.5.1~rc2-1
    • 4:7.5.2~rc1-1
    • 4:7.5.2~rc2-1
    • 4:7.5.3~rc1-1
    • 4:7.5.3~rc2-1
    • 4:7.5.4-1
    • 4:7.5.4-2
    • 4:7.5.4-3
    • 4:7.5.4-4
    • 4:7.5.4~rc1-1
    • 4:7.5.4~rc1-2
    • 4:7.5.4~rc1-3
    • 4:7.5.4~rc1-4
    • 4:7.5.4~rc2-1
    • 4:7.5.5-1
    • 4:7.5.5-2
    • 4:7.5.5-3
    • 4:7.5.5-3~bpo12+1
    • 4:7.5.5-4
    • 4:7.5.5-4~bpo12+1
    • 4:7.5.5~rc1-1
    • 4:7.5.5~rc1-2
    • 4:7.5.5~rc1-3
    • 4:7.5.5~rc1-4
    • 4:7.5.5~rc1-5
    • 4:7.5.5~rc2-1
    • 4:7.5.6-1
    • 4:7.5.6-1~bpo12+1
    • 4:7.5.7-1
    • 4:7.5.8-1
    • 4:7.5.8-1~bpo12+1
    • 4:7.5.8~rc1-1
    • 4:7.5.8~rc1-2
    • 4:7.5.9~rc1-1
    • 4:7.5.9~rc1-1~bpo12+1
    • 4:7.5.9~rc1-1~bpo12+2
    • 4:7.6.0~rc1-1
    • 4:7.6.0~rc1-2
    • 4:7.6.0~rc2-1
    • 4:7.6.0~rc2-2
    • 4:7.6.0~rc3-1
    • 4:7.6.1~rc1-1
    • 4:7.6.1~rc2-1
    • 4:7.6.1~rc2-2
    • 4:7.6.2-1
    • 4:7.6.2-2
    • 4:7.6.2-3
    • 4:7.6.2-4
    • 4:7.6.2-5
    • 4:7.6.3-1
    • 4:7.6.3-2
    • 4:7.6.3~rc1-1
    • 4:7.6.3~rc1-2
    • 4:7.6.3~rc2-1
    • 4:7.6.3~rc2-2
    • 4:7.6.4~rc1-1

    No fix published

  • libreoffice Debian 13

    Versions
    • 4:25.2.3-2
    • 4:25.2.3-2+deb13u1
    • 4:25.2.3-2+deb13u10
    • 4:25.2.3-2+deb13u11
    • 4:25.2.3-2+deb13u2
    • 4:25.2.3-2+deb13u2~bpo12+1
    All versions (15)
    • 4:25.2.3-2+deb13u3
    • 4:25.2.3-2+deb13u3~bpo12+1
    • 4:25.2.3-2+deb13u4
    • 4:25.2.3-2+deb13u5
    • 4:25.2.3-2+deb13u5~bpo12+1
    • 4:25.2.3-2+deb13u6
    • 4:25.2.3-2+deb13u7
    • 4:25.2.3-2+deb13u8
    • 4:25.2.3-2+deb13u9
    Affected ranges
    • ECOSYSTEM: < 4:25.2.3-2+deb13u12

    Update to 4:25.2.3-2+deb13u12

  • libreoffice Debian 14

    Versions
    • 4:25.2.3-2
    • 4:25.8.0-1
    • 4:25.8.0-1~bpo13+1
    • 4:25.8.0~alpha1-1
    • 4:25.8.0~alpha1-2
    • 4:25.8.0~beta1-1
    All versions (78)
    • 4:25.8.0~rc1-1
    • 4:25.8.0~rc1-2
    • 4:25.8.0~rc2-1
    • 4:25.8.0~rc2-2
    • 4:25.8.0~rc3-1
    • 4:25.8.0~rc4-1
    • 4:25.8.0~rc4-2
    • 4:25.8.1-1
    • 4:25.8.1-1~bpo13+1
    • 4:25.8.1~rc1-1
    • 4:25.8.2-1
    • 4:25.8.2-2
    • 4:25.8.2-3
    • 4:25.8.2-3~bpo13+1
    • 4:25.8.2~rc1-1
    • 4:25.8.2~rc2-1
    • 4:25.8.3-1
    • 4:25.8.3-1+ports
    • 4:25.8.3-1~bpo13+1
    • 4:25.8.3~rc1-1
    • 4:25.8.3~rc2-1
    • 4:25.8.4-1
    • 4:25.8.4-1~bpo13+1
    • 4:26.2.0-1
    • 4:26.2.0-1~bpo13+1
    • 4:26.2.0~alpha1-1
    • 4:26.2.0~alpha1-2
    • 4:26.2.0~alpha1-3
    • 4:26.2.0~beta1-1
    • 4:26.2.0~rc1-1
    • 4:26.2.0~rc2-1
    • 4:26.2.0~rc3-1
    • 4:26.2.1-1
    • 4:26.2.1-1~bpo13+1
    • 4:26.2.1~rc1-1
    • 4:26.2.1~rc2-1
    • 4:26.2.2.1-1
    • 4:26.2.2.1-2
    • 4:26.2.2.2-1
    • 4:26.2.2.2-2
    • 4:26.2.2.2-3
    • 4:26.2.2.2-3~bpo13+1
    • 4:26.2.3.1-1
    • 4:26.2.3.2-1
    • 4:26.2.3.2-2
    • 4:26.2.3.2-2~bpo13+1
    • 4:26.2.4.1-1
    • 4:26.2.4.2-1
    • 4:26.2.4.2-1~bpo13+1
    • 4:26.2.4.2-2
    • 4:26.2.5.2-1
    • 4:26.2.5.2-2
    • 4:26.2.5.2-2~bpo13+1
    • 4:26.8.0.0.alpha1-1
    • 4:26.8.0.0.alpha1-2
    • 4:26.8.0.0.alpha1-3
    • 4:26.8.0.0.alpha1-4
    • 4:26.8.0.0.beta1-1
    • 4:26.8.0.1-1
    • 4:26.8.0.2-1
    • 4:26.8.0.3-1
    • 4:26.8.0.3-2
    • 4:26.8.0.3-2~bpo13+1
    • 4:26.8.1.1-1
    • 4:26.8.1.1-2
    • 4:26.8.1.1-3
    • 4:26.8.1.1-3~bpo13+1
    • 4:26.8.1.1-3~bpo13+2
    • 4:26.8.2.1-1
    • 4:26.8.2.1-2
    • 4:26.8.2.2-1
    • 4:26.8.2.2-2~bpo13+1
    Affected ranges
    • ECOSYSTEM: < 4:26.8.2.2-2

    Update to 4:26.8.2.2-2

  • libreoffice Ubuntu 20.04 LTS

    Versions
    • 1:6.3.2-0ubuntu2
    • 1:6.3.3-0ubuntu1
    • 1:6.3.3-0ubuntu2
    • 1:6.3.4-0ubuntu1
    • 1:6.4.0-0ubuntu4
    • 1:6.4.0-0ubuntu6
    All versions (29)
    • 1:6.4.0-0ubuntu7
    • 1:6.4.1-0ubuntu1
    • 1:6.4.2-0ubuntu1
    • 1:6.4.2-0ubuntu2
    • 1:6.4.2-0ubuntu3
    • 1:6.4.3-0ubuntu0.20.04.1
    • 1:6.4.4-0ubuntu0.20.04.1
    • 1:6.4.5-0ubuntu0.20.04.1
    • 1:6.4.6-0ubuntu0.20.04.1
    • 1:6.4.7-0ubuntu0.20.04.1
    • 1:6.4.7-0ubuntu0.20.04.2
    • 1:6.4.7-0ubuntu0.20.04.4
    • 1:6.4.7-0ubuntu0.20.04.5
    • 1:6.4.7-0ubuntu0.20.04.6
    • 1:6.4.7-0ubuntu0.20.04.7
    • 1:6.4.7-0ubuntu0.20.04.8
    • 1:6.4.7-0ubuntu0.20.04.9
    • 1:6.4.7-0ubuntu0.20.04.10
    • 1:6.4.7-0ubuntu0.20.04.11
    • 1:6.4.7-0ubuntu0.20.04.12
    • 1:6.4.7-0ubuntu0.20.04.13
    • 1:6.4.7-0ubuntu0.20.04.14
    • 1:6.4.7-0ubuntu0.20.04.15
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libreoffice Ubuntu 22.04 LTS

    Versions
    • 1:7.2.1-0ubuntu3
    • 1:7.2.2-0ubuntu0.21.10.1
    • 1:7.2.3~rc2-0ubuntu1
    • 1:7.2.4-0ubuntu1
    • 1:7.2.5~rc1-0ubuntu2
    • 1:7.2.5~rc2-0ubuntu1
    All versions (30)
    • 1:7.3.1~rc2-0ubuntu1
    • 1:7.3.1~rc3-0ubuntu1
    • 1:7.3.2~rc1-0ubuntu2
    • 1:7.3.2~rc2-0ubuntu1
    • 1:7.3.2-0ubuntu1
    • 1:7.3.2-0ubuntu2
    • 1:7.3.3-0ubuntu0.22.04.1
    • 1:7.3.4-0ubuntu0.22.04.1
    • 1:7.3.5-0ubuntu0.22.04.1
    • 1:7.3.6-0ubuntu0.22.04.1
    • 1:7.3.6-0ubuntu0.22.04.2
    • 1:7.3.7-0ubuntu0.22.04.1
    • 1:7.3.7-0ubuntu0.22.04.2
    • 1:7.3.7-0ubuntu0.22.04.3
    • 1:7.3.7-0ubuntu0.22.04.4
    • 1:7.3.7-0ubuntu0.22.04.5
    • 1:7.3.7-0ubuntu0.22.04.6
    • 1:7.3.7-0ubuntu0.22.04.7
    • 1:7.3.7-0ubuntu0.22.04.8
    • 1:7.3.7-0ubuntu0.22.04.9
    • 1:7.3.7-0ubuntu0.22.04.10
    • 1:7.3.7-0ubuntu0.22.04.11
    • 1:7.3.7-0ubuntu0.22.04.12
    • 1:7.3.7-0ubuntu0.22.04.13
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libreoffice Ubuntu 24.04 LTS

    Versions
    • 4:7.6.2-0ubuntu1
    • 4:7.6.3~rc1-0ubuntu2
    • 4:7.6.3-0ubuntu3
    • 4:7.6.4-0ubuntu1
    • 4:7.6.4-0ubuntu3
    • 4:24.2.0~rc1-0ubuntu1
    All versions (24)
    • 4:24.2.1~rc1-0ubuntu1
    • 4:24.2.1~rc2-0ubuntu1
    • 4:24.2.2~rc2-0ubuntu1
    • 4:24.2.2-0ubuntu1
    • 4:24.2.3-0ubuntu0.24.04.1
    • 4:24.2.3-0ubuntu0.24.04.2
    • 4:24.2.4-0ubuntu0.24.04.1
    • 4:24.2.4-0ubuntu0.24.04.2
    • 4:24.2.5-0ubuntu0.24.04.1
    • 4:24.2.5-0ubuntu0.24.04.2
    • 4:24.2.6-0ubuntu0.24.04.1
    • 4:24.2.7-0ubuntu0.24.04.1
    • 4:24.2.7-0ubuntu0.24.04.2
    • 4:24.2.7-0ubuntu0.24.04.3
    • 4:24.2.7-0ubuntu0.24.04.4
    • 4:24.2.7-0ubuntu0.24.04.5
    • 4:24.2.7-0ubuntu0.24.04.6
    • 4:24.2.7-0ubuntu0.24.04.7
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libreoffice Ubuntu 26.10

    Versions
    • 4:26.2.2.2-0ubuntu1
    • 4:26.2.4.2-0ubuntu1
    • 4:26.2.5.1-0ubuntu1
    • 4:26.2.5.2-0ubuntu3
    • 4:26.8.0.3-0ubuntu1
    • 4:26.8.1.1-0ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libreoffice Ubuntu 26.04 LTS

    Versions
    • 4:25.8.1~rc1-0ubuntu1
    • 4:25.8.3-0ubuntu1
    • 4:25.8.4~rc1-0ubuntu2
    • 4:25.8.4~rc1-0ubuntu3
    • 4:25.8.4~rc2-0ubuntu1
    • 4:26.2.1~rc2-0ubuntu1
    All versions (12)
    • 4:26.2.2.2-0ubuntu1
    • 4:26.2.3.2-0ubuntu0.26.04.1
    • 4:26.2.4.2-0ubuntu0.26.04.1
    • 4:26.2.4.2-0ubuntu0.26.04.2
    • 4:26.2.5.2-0ubuntu0.26.04.1
    • 4:26.2.6.3-0ubuntu0.26.04.2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →