cve.bz

CVE-2019-9851 Improper Input Validation

9.8 criticalExploitEPSS 78%

Critical (9.8). EPSS 78% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
78% (unchanged from 78% a week ago; 78% 30 days ago) estimated probability of exploitation activity in the next 30 days; 100th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2019-9851 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-9851?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-9851?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-9851 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Document Foundation LibreOfficebefore 6.2.6

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8libreoffice1:4.3.3-2+deb8u13DLA-1947-1
Debian9libreoffice1:5.2.7-1+deb9u10DSA-4501-1
Debian10libreoffice1:6.1.5-3+deb10u3DSA-4501-1
Debian12, 13, 14libreoffice1:6.3.0-1DEBIAN-CVE-2019-9851
Ubuntu16.04:LTSlibreoffice1:5.1.6~rc2-0ubuntu1~xenial9UBUNTU-CVE-2019-9851 USN-4102-1
Ubuntu18.04:LTSlibreoffice1:6.0.7-0ubuntu0.18.04.9UBUNTU-CVE-2019-9851 USN-4102-1
Red Hatenterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstationautocorr-af, autocorr-bg, autocorr-ca and 111 more1:5.3.6.1-24.el7RHSA-2020:1151
Red Hatenterprise_linux:8::appstreamautocorr-af, autocorr-bg, autocorr-ca and 189 more1:6.0.6.1-20.el8RHSA-2020:1598
Red Hatenterprise_linux:8::crblibreoffice-sdk, libreoffice-x11, libreoffice-gtk2 and 22 more1:6.0.6.1-20.el8RHSA-2020:1598
SUSELinux Enterprise Desktop 12 SP4, Linux Enterprise Software Development Kit 12 SP4, Linux Enterprise Workstation Extension 12 SP4libreoffice6.2.7.1-43.56.3SUSE-SU-2019:2401-1
SUSELinux Enterprise Workstation Extension 15libreoffice6.2.6.2-3.21.1SUSE-SU-2019:2231-1
SUSELinux Enterprise Workstation Extension 15 SP1libreoffice6.2.7.1-8.10.1SUSE-SU-2019:2402-1
openSUSELeap 15.0libreoffice6.2.6.2-lp150.2.16.1openSUSE-SU-2019:2057-1
openSUSELeap 15.1libreoffice6.2.7.1-lp151.3.6.1openSUSE-SU-2019:2183-1
openSUSETumbleweedlibreoffice7.1.5.2-3.13openSUSE-SU-2024:10983-1
Alpinev3.10libreoffice6.2.6.2-r0ALPINE-CVE-2019-9851
Alpinev3.11, v3.12, v3.13 and 11 morelibreoffice6.3.0.4-r0ALPINE-CVE-2019-9851

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7libreoffice-1:5.3.6.1-24.el7Fixed 2020-03-31RHSA-2020:1151
Red Hat Enterprise Linux 8libreoffice-1:6.0.6.1-20.el8Fixed 2020-04-28RHSA-2020:1598
Red Hat Enterprise Linux 6libreofficeOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-9851.

Public exploits

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON