Skip to content
Emerging threatsCritical

CVE-2019-9851LibreOffice Code Injection

LibreOffice is typically bundled with LibreLogo, a programmable turtle vector graphics script, which can execute arbitrary python commands contained with the document it is launched from.

Published Aug 15, 2019 · Updated Nov 3, 2026 · Also known as ALPINE-CVE-2019-9851, CLEANSTART-2025-KL40837, DEBIAN-CVE-2019-9851, UBUNTU-CVE-2019-9851

Key Facts

Patch immediately
  • CVE-2019-9851 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting LibreOffice, Ubuntu Linux (Canonical), Debian Linux and 22 more products.
  • It is not listed in any known-exploited vulnerabilities catalog. A public exploit is reported by tracking sources, but no code link is listed yet.
  • EPSS estimates a 78% probability of exploitation in the next 30 days.
  • Fixed versions are available, including autocorr-af 1:5.3.6.1-24.0.1.el7, autocorr-af 1:6.0.6.1-20.0.1.el8, autocorr-bg 1:5.3.6.1-24.0.1.el7.
  • Brandefense priority: patch immediately, because it is very likely to be exploited soon.

Scores

CVSS v3.1

9.8

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS (30-day exploit likelihood)

78%

Higher than 99.5% of all scored CVEs

Exploit maturity

Weaponized

ATLAS score

71/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Weaponized

Public exploit code

2

Proof-of-concept links

In-the-wild evidence

0

Reports of active use

Description

LibreOffice is typically bundled with LibreLogo, a programmable turtle vector graphics script, which can execute arbitrary python commands contained with the document it is launched from. Protection was added, to address CVE-2019-9848, to block calling LibreLogo from document event script handers, e.g. mouse over. However LibreOffice also has a separate feature where documents can specify that pre-installed scripts can be executed on various global script events such as document-open, etc.

In the fixed versions, global script event handlers are validated equivalently to document script event handlers. This issue affects: Document Foundation LibreOffice versions prior to 6.2.6.

Affected Products

1,110 affected entries in total
ProductAffected versionsFixed in
LibreOfficeLibreoffice>= unspecified6.2.6
Ubuntu LinuxCanonical16.04, 18.04, 19.04n/a
Debian LinuxDebian10.0, 8.0, 9.0n/a
FedoraFedoraproject29n/a
LeapOpensuse15.0, 15.1n/a
20 more affected products in the full CVE brief

Patched Releases

autocorr-af

1:5.3.6.1-24.0.1.el7, 1:6.0.6.1-20.0.1.el8

autocorr-bg

1:5.3.6.1-24.0.1.el7, 1:6.0.6.1-20.0.1.el8

autocorr-ca

1:5.3.6.1-24.0.1.el7, 1:6.0.6.1-20.0.1.el8

autocorr-cs

1:5.3.6.1-24.0.1.el7, 1:6.0.6.1-20.0.1.el8

autocorr-da

1:5.3.6.1-24.0.1.el7, 1:6.0.6.1-20.0.1.el8

autocorr-de

1:5.3.6.1-24.0.1.el7, 1:6.0.6.1-20.0.1.el8

autocorr-en

1:5.3.6.1-24.0.1.el7, 1:6.0.6.1-20.0.1.el8

autocorr-es

1:5.3.6.1-24.0.1.el7, 1:6.0.6.1-20.0.1.el8

autocorr-fa

1:5.3.6.1-24.0.1.el7, 1:6.0.6.1-20.0.1.el8

autocorr-fi

1:5.3.6.1-24.0.1.el7, 1:6.0.6.1-20.0.1.el8

autocorr-fr

1:5.3.6.1-24.0.1.el7, 1:6.0.6.1-20.0.1.el8

autocorr-ga

1:5.3.6.1-24.0.1.el7, 1:6.0.6.1-20.0.1.el8

autocorr-hr

1:5.3.6.1-24.0.1.el7, 1:6.0.6.1-20.0.1.el8

autocorr-hu

1:5.3.6.1-24.0.1.el7, 1:6.0.6.1-20.0.1.el8

autocorr-is

1:5.3.6.1-24.0.1.el7, 1:6.0.6.1-20.0.1.el8

autocorr-it

1:5.3.6.1-24.0.1.el7, 1:6.0.6.1-20.0.1.el8

autocorr-ja

1:5.3.6.1-24.0.1.el7, 1:6.0.6.1-20.0.1.el8

autocorr-ko

1:5.3.6.1-24.0.1.el7, 1:6.0.6.1-20.0.1.el8

autocorr-lb

1:5.3.6.1-24.0.1.el7, 1:6.0.6.1-20.0.1.el8

autocorr-lt

1:5.3.6.1-24.0.1.el7, 1:6.0.6.1-20.0.1.el8

autocorr-mn

1:5.3.6.1-24.0.1.el7, 1:6.0.6.1-20.0.1.el8

autocorr-nl

1:5.3.6.1-24.0.1.el7, 1:6.0.6.1-20.0.1.el8

autocorr-pl

1:5.3.6.1-24.0.1.el7, 1:6.0.6.1-20.0.1.el8

autocorr-pt

1:5.3.6.1-24.0.1.el7, 1:6.0.6.1-20.0.1.el8

autocorr-ro

1:5.3.6.1-24.0.1.el7, 1:6.0.6.1-20.0.1.el8

Timeline

  1. Publicly disclosed

    Aug 15, 2019

  2. Last updated

    Nov 3, 2026

Weakness Type

  • CWE-20 Improper Input Validation
  • CWE-94 Improper Control of Generation of Code

FAQ

Common Questions.

Is CVE-2019-9851 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

More vulnerabilities

Figures as of Dec 3, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.