← Vulnerability feed

Vulnerability record · 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.8% CWE-20 · Improper input validationCWE-22 · Path traversal
5.5CVSS 3.1 base score
65%EPSS exploitation probability, 30 days
NoNot in CISA KEV
3Affected product versions listed by NVD
10References
17 Jun 2026Last modified by NVD

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

Track CVE-2023-1183 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

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

10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2024-4577PHP-CGI on Windows argument injection leads to remote code executionPHP-CGI on Windows can misinterpret characters in the command line passed to Win32 API functions when certain code pages are configured, due to Windo…KEVEPSS 100%analysed9.8CVE-2021-44026Roundcube Webmail SQL injection via search parametersRoundcube Webmail before 1.3.17 and 1.4.x before 1.4.12 is prone to SQL injection through the search or search_params input. The flaw is remotely rea…KEVEPSS 70%analysed9.8CVE-2021-42013Apache HTTP Server path traversal and RCE via incomplete fixThe fix for CVE-2021-41773 in Apache HTTP Server 2.4.50 was insufficient, leaving a path traversal flaw that lets attackers map URLs to files outside…KEVEPSS 100%analysed9.8CVE-2021-41773Apache HTTP Server 2.4.49 path traversal and RCEA path normalization flaw introduced in Apache HTTP Server 2.4.49 lets attackers map URLs to files outside directories configured by Alias-like direc…KEVEPSS 100%analysed9.8CVE-2021-1870Apple WebKit logic flaw allows remote code executionA logic issue in Apple's WebKit was addressed with improved restrictions, affecting macOS Big Sur, Catalina, Mojave, iOS and iPadOS, plus WebKitGTK a…KEVEPSS 7.7%analysed9.8CVE-2021-1871Apple WebKit logic flaw allows remote code executionA logic issue in Apple's WebKit was addressed with improved restrictions. It affects macOS Big Sur, Catalina, Mojave, iOS and iPadOS, and a remote at…KEVEPSS 7.0%analysed9.8CVE-2020-16846SaltStack Salt API shell injection via crafted web requestsSaltStack Salt through 3002 is vulnerable to OS command injection when the SSH client is enabled and crafted web requests are sent to the Salt API. T…KEVEPSS 100%analysed

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