CVE-2026-6040 Affecting libreoffice package, versions <4:25.2.3-2+deb13u5


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.11% (2nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN13-LIBREOFFICE-17340301
  • published16 Jun 2026
  • disclosed15 Jun 2026

Introduced: 15 Jun 2026

CVE-2026-6040  (opens in a new tab)

How to fix?

Upgrade Debian:13 libreoffice to version 4:25.2.3-2+deb13u5 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libreoffice package and not the libreoffice package as distributed by Debian. See How to fix? for Debian:13 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1