Vulnerabilities/CVE-2023-1183, published 10 July 2023

CVE-2023-1183: LibreOffice ODB database/script file write via crafted SCRIPT command

Libreoffice, Libreoffice

LibreOffice fails to properly validate input in a crafted ODB file containing a "database/script" entry with a SCRIPT command, allowing file contents to be written to an attacker-chosen location. The flaw combines improper input validation with path traversal, so opening a malicious document can place attacker-controlled files anywhere the user can write.

  • 5.5 CVSS 3.1 Medium
  • EPSS 65%, top 0.7%
  • CWE-20, Improper input validation
  • CWE-22, Path traversal

Description

A flaw was found in the Libreoffice package. An attacker can craft an odb containing a "database/script" file with a SCRIPT command where the contents of the file could be written to a new file whose location was determined by the attacker.

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

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 19 September 2026. Confidence: medium.

Medium priorityThe flaw allows attacker-chosen file writes but requires local access and user interaction to open a crafted document, and no known exploitation is recorded.

What it is

LibreOffice fails to properly validate input in a crafted ODB file containing a "database/script" entry with a SCRIPT command, allowing file contents to be written to an attacker-chosen location. The flaw combines improper input validation with path traversal, so opening a malicious document can place attacker-controlled files anywhere the user can write.

Impact

An attacker gains the ability to write arbitrary file contents to a location of their choosing on the victim's system, which can overwrite files or plant content for follow-on attacks. The CVSS vector shows high integrity impact with no confidentiality or availability impact.

Attack surface

Reached locally by opening a crafted ODB file in LibreOffice; the vector AV:L/PR:N/UI:R means no privileges are needed but the victim must open the malicious document. No remote or unauthenticated network path is described.

Exploitation

Not listed in CISA KEV and no ransomware associations are documented. EPSS is high (0.64635, 99.2nd percentile), and references include a vendor patch advisory, but no public exploit tag is present in the record.

What to do

  • Apply the LibreOffice patch referenced in the vendor security advisory for CVE-2023-1183, and update Fedora and Red Hat Enterprise Linux packages to their fixed builds.
  • Treat untrusted ODB/database documents as risky: block or quarantine them at email and web gateways where business use does not require them.
  • Restrict write permissions for users who routinely open external documents, and avoid running LibreOffice with elevated privileges.
  • Enable LibreOffice macro and scripting security settings that block or warn on embedded script execution.
  • Monitor for unexpected file creation in user-writable directories after document opens.

Detection

  • Alert on LibreOffice processes writing files to unusual or sensitive paths (startup folders, config directories, shared locations) shortly after opening a document.
  • Hunt for ODB files containing embedded "database/script" entries with SCRIPT commands in email attachments and file shares.
  • Correlate file-creation events with recent LibreOffice document opens on endpoints to spot attacker-chosen write locations.
  • Review endpoint logs for new files appearing in user profile or system directories with content inconsistent with normal application behavior.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

3 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2024-5261Libreoffice improper certificate validation vulnerabilityImproper Certificate Validation vulnerability in LibreOffice "LibreOfficeKit" mode disables TLS certification verification LibreOfficeKit can be used…EPSS 0.43%10.0CVE-2014-0247Fedoraproject fedora vulnerabilityLibreOffice 4.2.4 executes unspecified VBA macros automatically, which has unspecified impact and attack vectors, possibly related to doc/docmacromod…EPSS 3.9%10.0CVE-2009-0846Mit kerberos 5 vulnerabilityThe asn1_decode_generaltime function in lib/krb5/asn.1/asn1_decode.c in the ASN.1 GeneralizedTime decoder in MIT Kerberos 5 (aka krb5) before 1.6.4 a…EPSS 8.9%10.0CVE-2004-0882Samba vulnerabilityBuffer overflow in the QFILEPATHINFO request handler in Samba 3.0.x through 3.0.7 may allow remote attackers to execute arbitrary code via a TRANSACT…EPSS 14%10.0CVE-2004-0888Easy software products cups vulnerabilityMultiple integer overflows in xpdf 2.0 and 3.0, and other packages that use xpdf code such as CUPS, gpdf, and kdegraphics, allow remote attackers to …EPSS 9.5%10.0CVE-2004-0889Easy software products cups vulnerabilityMultiple integer overflows in xpdf 3.0, and other packages that use xpdf code such as CUPS, allow remote attackers to cause a denial of service (cras…EPSS 6.2%10.0CVE-2004-0902Mozilla vulnerabilityMultiple heap-based buffer overflows in Mozilla Firefox before the Preview Release, Mozilla before 1.7.3, and Thunderbird before 0.8 allow remote att…EPSS 10%10.0CVE-2004-0903Mozilla vulnerabilityStack-based buffer overflow in the writeGroup function in nsVCardObj.cpp for Mozilla Firefox before the Preview Release, Mozilla before 1.7.3, and Th…EPSS 9.7%

Source: NIST National Vulnerability Database (record CVE-2023-1183), CISA KEV, FIRST EPSS (scores of 2026-12-03). This page is refreshed as NVD updates the record.