{
    "id": "CVE-2019-9851",
    "published": "2019-08-15 22:15:22",
    "last_modified": "2026-06-17 02:44:43",
    "cvss_score": "9.8",
    "cvss_severity": "CRITICAL",
    "cvss_version": "3.1",
    "cvss_vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
    "cwe": "CWE-20",
    "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.",
    "epss_score": "0.78347",
    "epss_percentile": "0.99568",
    "kev": 0,
    "kev_due": null,
    "has_exploit": 1,
    "updated_at": "2026-09-26 18:24:40",
    "priority": {
        "rank": 2,
        "label": "Patch early",
        "why": "A public exploit exists."
    },
    "products": [
        {
            "vendor": "canonical",
            "product": "ubuntu_linux"
        },
        {
            "vendor": "debian",
            "product": "debian_linux"
        },
        {
            "vendor": "fedoraproject",
            "product": "fedora"
        },
        {
            "vendor": "libreoffice",
            "product": "libreoffice"
        },
        {
            "vendor": "opensuse",
            "product": "leap"
        }
    ],
    "kev_detail": null,
    "exploits": [
        {
            "source": "exploit-db",
            "ref_id": "47298",
            "title": "LibreOffice < 6.2.6 Macro - Python Code Execution (Metasploit)",
            "date": "2019-08-21",
            "url": "https://www.exploit-db.com/exploits/47298"
        }
    ],
    "refs_list": [
        "http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00006.html",
        "http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00067.html",
        "http://packetstormsecurity.com/files/154168/LibreOffice-Macro-Python-Code-Execution.html",
        "https://lists.debian.org/debian-lts-announce/2019/10/msg00005.html",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PMEGUWMWORC3DOVEHVXLFT3A5RSCMLBH/",
        "https://seclists.org/bugtraq/2019/Aug/28",
        "https://usn.ubuntu.com/4102-1/",
        "https://www.debian.org/security/2019/dsa-4501",
        "https://www.libreoffice.org/about-us/security/advisories/CVE-2019-9851",
        "http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00006.html",
        "http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00067.html",
        "http://packetstormsecurity.com/files/154168/LibreOffice-Macro-Python-Code-Execution.html",
        "https://lists.debian.org/debian-lts-announce/2019/10/msg00005.html",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PMEGUWMWORC3DOVEHVXLFT3A5RSCMLBH/",
        "https://seclists.org/bugtraq/2019/Aug/28",
        "https://usn.ubuntu.com/4102-1/",
        "https://www.debian.org/security/2019/dsa-4501",
        "https://www.libreoffice.org/about-us/security/advisories/CVE-2019-9851"
    ]
}