CVE-2022-3140: Macro URL arbitrary script execution
Vulnerability summary
CVE-2022-3140 is a medium (CVSS 6.3) Improper Input Validation vulnerability in debian debian_linux. EPSS estimates a 6.96% chance of exploitation in the next 30 days, higher than 94.2% of scored vulnerabilities.
Not severe (CVSS 6.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 7 · Related 4Timeline
- 11-10-2022PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
LibreOffice supports Office URI Schemes to enable browser integration of LibreOffice with MS SharePoint server. An additional scheme 'vnd.libreoffice.command' specific to LibreOffice was added. In the affected versions of LibreOffice links using that scheme could be constructed to call internal macros with arbitrary arguments. Which when clicked on, or activated by document events, could result in arbitrary script execution without warning. This issue affects: The Document Foundation LibreOffice 7.4 versions prior to 7.4.1; 7.3 versions prior to 7.3.6.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated6.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
- OSV · DebianEcosystem advisory · calculated6.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
- OSV · AlpineEcosystem advisory · calculated6.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
EPSS trend
Probability
6.96%
Chance of exploitation in the next 30 days
Percentile
94%
Versus all other CVEs
30-day change
No change 0.00 pp
From 6.96% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-20Improper Input ValidationThe product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
- CWE-88Improper Neutralization of Argument Delimiters in a CommandThe product constructs a string for a command to be executed by a separate component in another control sphere, but it does not properly delimit the intended arguments, options, or switches within that command string.
Affected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Debian2 products
- libreoffice< 1:7.0.4-4+deb11u4 | < 1:7.4.1~rc2-3
- debian_linuxEOL11.0
Mageia2 products
- libmwaw< 0.3.21-1.mga8
- libreoffice< 7.3.6.2-1.mga8
Alpine1 product
- libreoffice≥ 7.3.0, < 7.2.7.2-r0 | ≥ 7.3.0, < 7.2.7.2-r2 | < 7.2.7.2-r0 | < 7.2.7.2-r2 | ≥ 7.3.0, < 7.3.6.2-r0
Fedoraproject1 product
- fedoraEOL35
Libreoffice1 product
- libreofficeEOL≥ 7.3.0, < 7.3.6 | 7.4.0
The document foundation1 product
- libreoffice≥ 7.4, < 7.4.1 | ≥ 7.3, < 7.3.6
Ubuntu1 product
- libreoffice< 1:6.0.7-0ubuntu0.18.04.12 | < 1:6.4.7-0ubuntu0.20.04.6 | < 1:7.3.6-0ubuntu0.22.04.2
7 vendors · 9 products
References
14 links- lists.fedoraproject.org/archives/…Vendor Advisory