Advisory

UBUNTU-CVE-2026-6040

Also known as: CVE-2026-6040

Summary

The record has no summary.

Details

A heap use-after-free existed when importing the blank-width characters of an ODF number format. A position value read from the document was not checked against the length of the format-code string, so a malformed number format could be processed against memory outside that string. In fixed versions the position is bounds-checked before use.

Severity

High Basis: CVSS v3 score 7.3, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Dates

Published
2026-06-15 18:16 UTC
Modified
2026-07-14 02:01 UTC

Affected packages and fixes

libreoffice

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 4:24.2.7-0ubuntu0.24.04.6 (ecosystem)

Fixed versions

4:24.2.7-0ubuntu0.24.04.6

Fix

  • Fixed version 4:24.2.7-0ubuntu0.24.04.6
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libreoffice

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

libreoffice

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 4:26.2.4.2-0ubuntu0.26.04.2 (ecosystem)

Fixed versions

4:26.2.4.2-0ubuntu0.26.04.2

Fix

  • Fixed version 4:26.2.4.2-0ubuntu0.26.04.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences