CVE-2025-1080 Macro URL arbitrary script execution

High 7.2 Published Updated

Attackers can execute arbitrary macros via crafted URLs in LibreOffice, allowing remote code execution on user systems.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2025-1080?

CVE-2025-1080 is a high-severity code injection vulnerability in Debian Debian Linux, published on 4 Mar 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official 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 a link in a browser using that scheme could be constructed with an embedded inner URL that when passed to LibreOffice could call internal macros with arbitrary arguments. This issue affects LibreOffice: from 24.8 before < 24.8.5, from 25.2 before < 25.2.1.

Weakness: CWE-20

Which versions are affected by CVE-2025-1080?

It affects 2 products.

Linux distribution packages (40)
autocorr-af AlmaLinux:8All versions1:6.4.7.2-19.el8_10.alma.1
autocorr-bg AlmaLinux:8All versions1:6.4.7.2-19.el8_10.alma.1
autocorr-ca AlmaLinux:8All versions1:6.4.7.2-19.el8_10.alma.1
autocorr-cs AlmaLinux:8All versions1:6.4.7.2-19.el8_10.alma.1
autocorr-da AlmaLinux:8All versions1:6.4.7.2-19.el8_10.alma.1
autocorr-de AlmaLinux:8All versions1:6.4.7.2-19.el8_10.alma.1
autocorr-en AlmaLinux:8All versions1:6.4.7.2-19.el8_10.alma.1
autocorr-es AlmaLinux:8All versions1:6.4.7.2-19.el8_10.alma.1
autocorr-fa AlmaLinux:8All versions1:6.4.7.2-19.el8_10.alma.1
autocorr-fi AlmaLinux:8All versions1:6.4.7.2-19.el8_10.alma.1
autocorr-fr AlmaLinux:8All versions1:6.4.7.2-19.el8_10.alma.1
autocorr-ga AlmaLinux:8All versions1:6.4.7.2-19.el8_10.alma.1
autocorr-hr AlmaLinux:8All versions1:6.4.7.2-19.el8_10.alma.1
autocorr-hu AlmaLinux:8All versions1:6.4.7.2-19.el8_10.alma.1
autocorr-is AlmaLinux:8All versions1:6.4.7.2-19.el8_10.alma.1
autocorr-it AlmaLinux:8All versions1:6.4.7.2-19.el8_10.alma.1
autocorr-ja AlmaLinux:8All versions1:6.4.7.2-19.el8_10.alma.1
autocorr-ko AlmaLinux:8All versions1:6.4.7.2-19.el8_10.alma.1
autocorr-lb AlmaLinux:8All versions1:6.4.7.2-19.el8_10.alma.1
autocorr-lt AlmaLinux:8All versions1:6.4.7.2-19.el8_10.alma.1
autocorr-mn AlmaLinux:8All versions1:6.4.7.2-19.el8_10.alma.1
autocorr-nl AlmaLinux:8All versions1:6.4.7.2-19.el8_10.alma.1
autocorr-pl AlmaLinux:8All versions1:6.4.7.2-19.el8_10.alma.1
autocorr-pt AlmaLinux:8All versions1:6.4.7.2-19.el8_10.alma.1
autocorr-ro AlmaLinux:8All versions1:6.4.7.2-19.el8_10.alma.1
autocorr-ru AlmaLinux:8All versions1:6.4.7.2-19.el8_10.alma.1
autocorr-sk AlmaLinux:8All versions1:6.4.7.2-19.el8_10.alma.1
autocorr-sl AlmaLinux:8All versions1:6.4.7.2-19.el8_10.alma.1
autocorr-sr AlmaLinux:8All versions1:6.4.7.2-19.el8_10.alma.1
autocorr-sv AlmaLinux:8All versions1:6.4.7.2-19.el8_10.alma.1
autocorr-tr AlmaLinux:8All versions1:6.4.7.2-19.el8_10.alma.1
autocorr-vi AlmaLinux:8All versions1:6.4.7.2-19.el8_10.alma.1
autocorr-zh AlmaLinux:8All versions1:6.4.7.2-19.el8_10.alma.1
libreoffice AlmaLinux:8All versions1:6.4.7.2-19.el8_10.alma.1
libreoffice-base AlmaLinux:8All versions1:6.4.7.2-19.el8_10.alma.1
libreoffice-calc AlmaLinux:8All versions1:6.4.7.2-19.el8_10.alma.1
libreoffice-core AlmaLinux:8All versions1:6.4.7.2-19.el8_10.alma.1
libreoffice-data AlmaLinux:8All versions1:6.4.7.2-19.el8_10.alma.1
libreoffice-draw AlmaLinux:8All versions1:6.4.7.2-19.el8_10.alma.1
libreoffice-emailmerge AlmaLinux:8All versions1:6.4.7.2-19.el8_10.alma.1

Products include Debian Debian Linux, Libreoffice Libreoffice.

How do I fix CVE-2025-1080?

Upgrade to a fixed version.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2025-1080 being exploited?

There is no known exploitation of CVE-2025-1080 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as ALSA-2025:2868, DEBIAN-CVE-2025-1080, DSA-5873-1, GHSA-gcgr-r4x5-w79r, MGASA-2025-0103, RHSA-2025:2868 and 13 more.

Is CVE-2025-1080 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free