Every CVE Search/ Get API key

CVE-2020-12801

Crash-recovered MSOffice encrypted documents defaulted to not to using encryption on next save

5.3 MediumFix available

If LibreOffice has an encrypted document open and crashes, that document is auto-saved encrypted. On restart, LibreOffice offers to restore the document and prompts for the password to decrypt it. If the recovery is successful, and if the file format of the recovered document was not LibreOffice's default ODF file format, then affected versions of LibreOffice default that subsequent saves of the document are unencrypted. This may lead to a user accidentally saving a MSOffice file format document unencrypted while believing it to be encrypted. This issue affects: LibreOffice 6-3 series versions prior to 6.3.6; 6-4 series versions prior to 6.4.3.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
Low
Integrity
None
Availability
None

Exploit likelihood

1.29%Up 0.7 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 5.3

If LibreOffice has an encrypted document open and crashes, that document is auto-saved encrypted. On restart, LibreOffice offers to restore the document and prompts for the password to decrypt it. If the recovery is successful, and if the file format of the recovered document was not LibreOffice's default ODF file format, then affected versions of LibreOffice default that subsequent saves of the document are unencrypted. This may lead to a user accidentally saving a MSOffice file format document unencrypted while believing it to be encrypted. This issue affects: LibreOffice 6-3 series versions prior to 6.3.6; 6-4 series versions prior to 6.4.3.

Record
CVE-2020-12801
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:P/I:N/A:N
Weakness
CWE-311, CWE-312
Updated
2026-11-02
CVE List No score

Crash-recovered MSOffice encrypted documents defaulted to not to using encryption on next save

If LibreOffice has an encrypted document open and crashes, that document is auto-saved encrypted. On restart, LibreOffice offers to restore the document and prompts for the password to decrypt it. If the recovery is successful, and if the file format of the recovered document was not LibreOffice's default ODF file format, then affected versions of LibreOffice default that subsequent saves of the document are unencrypted. This may lead to a user accidentally saving a MSOffice file format document unencrypted while believing it to be encrypted. This issue affects: LibreOffice 6-3 series versions prior to 6.3.6; 6-4 series versions prior to 6.4.3.

Record
CVE-2020-12801
Weakness
CWE-311
Updated
2026-11-02
EUVDEUVD-2020-5084 No score

If LibreOffice has an encrypted document open and crashes, that document is auto-saved encrypted. On restart, LibreOffice offers to restore the document and prompts for the password to decrypt it. If the recovery is successful, and if the file format of the recovered document was not LibreOffice's default ODF file format, then affected versions of LibreOffice default that subsequent saves of the document are unencrypted. This may lead to a user accidentally saving a MSOffice file format document unencrypted while believing it to be encrypted. This issue affects: LibreOffice 6-3 series versions prior to 6.3.6; 6-4 series versions prior to 6.4.3.

Record
EUVD-2020-5084
Updated
2026-11-03
GitHub AdvisoriesGHSA-52g9-8355-62qv 5.3

If LibreOffice has an encrypted document open and crashes, that document is auto-saved encrypted....

If LibreOffice has an encrypted document open and crashes, that document is auto-saved encrypted. On restart, LibreOffice offers to restore the document and prompts for the password to decrypt it. If the recovery is successful, and if the file format of the recovered document was not LibreOffice's default ODF file format, then affected versions of LibreOffice default that subsequent saves of the document are unencrypted. This may lead to a user accidentally saving a MSOffice file format document unencrypted while believing it to be encrypted. This issue affects: LibreOffice 6-3 series versions prior to 6.3.6; 6-4 series versions prior to 6.4.3.

Record
GHSA-52g9-8355-62qv
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-311, CWE-312
Updated
2026-11-02
OSVALPINE-CVE-2020-12801 5.3

If LibreOffice has an encrypted document open and crashes, that document is auto-saved encrypted. On restart, LibreOffice offers to restore the document and prompts for the password to decrypt it. If the recovery is successful, and if the file format of the recovered document was not LibreOffice's default ODF file format, then affected versions of LibreOffice default that subsequent saves of the document are unencrypted. This may lead to a user accidentally saving a MSOffice file format document unencrypted while believing it to be encrypted. This issue affects: LibreOffice 6-3 series versions prior to 6.3.6; 6-4 series versions prior to 6.4.3.

Record
ALPINE-CVE-2020-12801
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Updated
2026-11-03
OSV 5.3

If LibreOffice has an encrypted document open and crashes, that document is auto-saved encrypted. On restart, LibreOffice offers to restore the document and prompts for the password to decrypt it. If the recovery is successful, and if the file format of the recovered document was not LibreOffice's default ODF file format, then affected versions of LibreOffice default that subsequent saves of the document are unencrypted. This may lead to a user accidentally saving a MSOffice file format document unencrypted while believing it to be encrypted. This issue affects: LibreOffice 6-3 series versions prior to 6.3.6; 6-4 series versions prior to 6.4.3.

Record
CVE-2020-12801
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Updated
2026-11-02
Show 8 moreShow less
OSVDEBIAN-CVE-2020-12801 5.3

If LibreOffice has an encrypted document open and crashes, that document is auto-saved encrypted. On restart, LibreOffice offers to restore the document and prompts for the password to decrypt it. If the recovery is successful, and if the file format of the recovered document was not LibreOffice's default ODF file format, then affected versions of LibreOffice default that subsequent saves of the document are unencrypted. This may lead to a user accidentally saving a MSOffice file format document unencrypted while believing it to be encrypted. This issue affects: LibreOffice 6-3 series versions prior to 6.3.6; 6-4 series versions prior to 6.4.3.

Record
DEBIAN-CVE-2020-12801
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Updated
2026-11-02
OSVUBUNTU-CVE-2020-12801 5.3

If LibreOffice has an encrypted document open and crashes, that document is auto-saved encrypted. On restart, LibreOffice offers to restore the document and prompts for the password to decrypt it. If the recovery is successful, and if the file format of the recovered document was not LibreOffice's default ODF file format, then affected versions of LibreOffice default that subsequent saves of the document are unencrypted. This may lead to a user accidentally saving a MSOffice file format document unencrypted while believing it to be encrypted. This issue affects: LibreOffice 6-3 series versions prior to 6.3.6; 6-4 series versions prior to 6.4.3.

Record
UBUNTU-CVE-2020-12801
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Updated
2026-11-02
OSVMGASA-2020-0258 No score

Updated libreoffice packages fix security vulnerability

This update increase Libreoffice to version 6.4.4.2 It fixes Security issues and add kf5 support.

If LibreOffice has an encrypted document open and crashes, that document is auto-saved encrypted. On restart, LibreOffice offers to restore the document and prompts for the password to decrypt it. If the recovery is successful, and if the file format of the recovered document was not LibreOffice's default ODF file format, then affected versions of LibreOffice default that subsequent saves of the document are unencrypted.

This may lead to a user accidentally saving a MSOffice file format document unencrypted while believing it to be encrypted.

In the fixed versions, encrypted recovered MSOffice format documents default to encrypted save.

Record
MGASA-2020-0258
Updated
2026-11-02
OSVopenSUSE-SU-2020:0786-1 No score

Security update for libreoffice

This update for libreoffice to 6.4.4.2 fixes the following issues:

Security issue fixed:

  • CVE-2020-12801: Fixed an issue with encrypted MSOffice documents that could be accidentally saved unencrypted (bsc#1171997).

Non-security issues fixed:

  • Elements on title page mixed up (bsc#1160687).
  • Image shadow that should be invisible shown as extraneous line below (bsc#1165870).

This update was imported from the SUSE:SLE-15-SP1:Update update project.

Record
openSUSE-SU-2020:0786-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:10983-1 No score

libreoffice-7.1.5.2-3.13 on GA media

These are all security issues fixed in the libreoffice-7.1.5.2-3.13 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10983-1
Updated
2026-11-02
OSVSUSE-SU-2020:1530-1 No score

Security update for libreoffice

This update for libreoffice to 6.4.4.2 fixes the following issues:

Security issue fixed:

  • CVE-2020-12801: Fixed an issue with encrypted MSOffice documents that could be accidentally saved unencrypted (bsc#1171997).

Non-security issues fixed:

  • Elements on title page mixed up (bsc#1160687).
  • Image shadow that should be invisible shown as extraneous line below (bsc#1165870).
Record
SUSE-SU-2020:1530-1
Updated
2026-11-02
OSVSUSE-SU-2020:1731-1 No score

Security update for libreoffice

This update for libreoffice to 6.4.4.2 fixes the following issues:

Security issue fixed:

  • CVE-2020-12801: Fixed an issue with encrypted MSOffice documents that could be accidentally saved unencrypted (bsc#1171997).

Non-security issues fixed:

  • Elements on title page mixed up (bsc#1160687).
  • Image shadow that should be invisible shown as extraneous line below (bsc#1165870).
Record
SUSE-SU-2020:1731-1
Updated
2026-11-02
OSVUSN-5694-1 No score

libreoffice vulnerabilities

It was discovered that LibreOffice incorrectly handled links using the Office URI Schemes. If a user were tricked into opening a specially crafted document, a remote attacker could use this issue to execute arbitrary scripts. (CVE-2022-3140)

Thomas Florian discovered that LibreOffice incorrectly handled crashes when an encrypted document is open. If the document is recovered upon restarting LibreOffice, subsequent saves of the document were unencrypted. This issue only affected Ubuntu 18.04 LTS. (CVE-2020-12801)

Jens Müller discovered that LibreOffice incorrectly handled certain documents containing forms. If a user were tricked into opening a specially crafted document, a remote attacker could overwrite arbitrary files when the form was submitted. This issue only affected Ubuntu 18.04 LTS. (CVE-2020-12803)

It was discovered that LibreOffice incorrectly validated macro signatures. If a user were tricked into opening a specially crafted document, a remote attacker could possibly use this issue to execute arbitrary macros. This issue only affected Ubuntu 18.04 LTS. (CVE-2022-26305)

It was discovered that Libreoffice incorrectly handled encrypting the master key provided by the user for storing passwords for web connections. A local attacker could possibly use this issue to obtain access to passwords stored in the user’s configuration data. This issue only affected Ubuntu 18.04 LTS. (CVE-2022-26306, CVE-2022-26307)

Record
USN-5694-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
libreoffice
Alpine:v3.15
6.3.0 up to 6.4.3.2-r0
6.4.3.2-r0
libreoffice
Alpine:v3.16
6.3.0 up to 6.4.3.2-r0
6.4.3.2-r0
libreoffice
Alpine:v3.17
6.3.0 up to 6.4.3.2-r0
6.4.3.2-r0
libreoffice
Alpine:v3.18
6.3.0 up to 6.4.3.2-r0
6.4.3.2-r0
libreoffice
Alpine:v3.19
6.3.0 up to 6.4.3.2-r0
6.4.3.2-r0
libreoffice
Alpine:v3.20
6.3.0 up to 6.4.3.2-r0
6.4.3.2-r0
libreoffice
Alpine:v3.21
6.3.0 up to 6.4.3.2-r0
6.4.3.2-r0
libreoffice
Alpine:v3.22
6.3.0 up to 6.4.3.2-r0
6.4.3.2-r0
libreoffice
Alpine:v3.23
6.3.0 up to 6.4.3.2-r0
6.4.3.2-r0
libreoffice
Alpine:v3.24
6.3.0 up to 6.4.3.2-r0
6.4.3.2-r0
Show 28 moreShow less
Affected packages
PackageAffectedFixed
libreoffice
Debian:12
before 1:6.4.3-1
1:6.4.3-1
libreoffice
Debian:13
before 1:6.4.3-1
1:6.4.3-1
libreoffice
Debian:14
before 1:6.4.3-1
1:6.4.3-1
libreoffice
Debian:10
before 1:6.1.5-3+deb10u11, plus listed versions
1:6.1.5-31:6.1.5-3+deb10u11:6.1.5-3+deb10u101:6.1.5-3+deb10u21:6.1.5-3+deb10u2~bpo9+1
Show 8 moreShow less
1:6.1.5-3+deb10u31:6.1.5-3+deb10u41:6.1.5-3+deb10u4~bpo9+11:6.1.5-3+deb10u51:6.1.5-3+deb10u61:6.1.5-3+deb10u71:6.1.5-3+deb10u81:6.1.5-3+deb10u9
1:6.1.5-3+deb10u11
libabw
Mageia:7
before 0.1.3-1.mga7
0.1.3-1.mga7
libcdr
Mageia:7
before 0.1.6-1.mga7
0.1.6-1.mga7
libmwaw
Mageia:7
before 0.3.16-1.mga7
0.3.16-1.mga7
libvisio
Mageia:7
before 0.1.7-1.mga7
0.1.7-1.mga7
libwps
Mageia:7
before 0.4.11-1.mga7
0.4.11-1.mga7
libixion
Mageia:7
before 0.15.0-6.mga7
0.15.0-6.mga7
liborcus
Mageia:7
before 0.15.3-4.mga7
0.15.3-4.mga7
mdds
Mageia:7
before 1.5.0-1.mga7
1.5.0-1.mga7
fmt
Mageia:7
before 6.2.1-1.1.mga7
6.2.1-1.1.mga7
spdlog
Mageia:7
before 1.6.0-1.mga7
1.6.0-1.mga7
qr-code-generator
Mageia:7
before 1.5.0-6.mga7
1.5.0-6.mga7
libreoffice
Mageia:7
before 6.4.4.2-1.mga7
6.4.4.2-1.mga7
celestia
Mageia:7
before 1.7.0-0.20190423git.920a0c8.2.1.mga7
1.7.0-0.20190423git.920a0c8.2.1.mga7
kodi
Mageia:7
before 18.7-1.1.mga7
18.7-1.1.mga7
libreoffice
SUSE:Linux Enterprise Workstation Extension 15 SP1
before 6.4.4.2-8.19.4
6.4.4.2-8.19.4
libreoffice
SUSE:Linux Enterprise Software Development Kit 12 SP4
before 6.4.4.2-43.65.5
6.4.4.2-43.65.5
libreoffice
SUSE:Linux Enterprise Software Development Kit 12 SP5
before 6.4.4.2-43.65.5
6.4.4.2-43.65.5
libreoffice
SUSE:Linux Enterprise Workstation Extension 12 SP4
before 6.4.4.2-43.65.5
6.4.4.2-43.65.5
libreoffice
SUSE:Linux Enterprise Workstation Extension 12 SP5
before 6.4.4.2-43.65.5
6.4.4.2-43.65.5
libreoffice
Ubuntu:18.04:LTS
before 1:6.0.7-0ubuntu0.18.04.12, plus listed versions
1:5.4.1-0ubuntu11:5.4.1-0ubuntu31:5.4.2-0ubuntu51:5.4.3-0ubuntu11:5.4.4-0ubuntu5
Show 12 moreShow less
1:6.0.1-0ubuntu31:6.0.2-0ubuntu11:6.0.3-0ubuntu11:6.0.6-0ubuntu0.18.04.11:6.0.7-0ubuntu0.18.04.21:6.0.7-0ubuntu0.18.04.51:6.0.7-0ubuntu0.18.04.61:6.0.7-0ubuntu0.18.04.71:6.0.7-0ubuntu0.18.04.81:6.0.7-0ubuntu0.18.04.91:6.0.7-0ubuntu0.18.04.101:6.0.7-0ubuntu0.18.04.11
1:6.0.7-0ubuntu0.18.04.12
libreoffice
Ubuntu:20.04:LTS
before 1:6.4.7-0ubuntu0.20.04.6, plus listed versions
1:6.3.2-0ubuntu21:6.3.3-0ubuntu11:6.3.3-0ubuntu21:6.3.4-0ubuntu11:6.4.0-0ubuntu4
Show 14 moreShow less
1:6.4.0-0ubuntu61:6.4.0-0ubuntu71:6.4.1-0ubuntu11:6.4.2-0ubuntu11:6.4.2-0ubuntu21:6.4.2-0ubuntu31:6.4.3-0ubuntu0.20.04.11:6.4.4-0ubuntu0.20.04.11:6.4.5-0ubuntu0.20.04.11:6.4.6-0ubuntu0.20.04.11:6.4.7-0ubuntu0.20.04.11:6.4.7-0ubuntu0.20.04.21:6.4.7-0ubuntu0.20.04.41:6.4.7-0ubuntu0.20.04.5
1:6.4.7-0ubuntu0.20.04.6
libreoffice
Ubuntu:22.04:LTS
before 1:7.3.6-0ubuntu0.22.04.2, plus listed versions
1:7.2.1-0ubuntu31:7.2.2-0ubuntu0.21.10.11:7.2.3~rc2-0ubuntu11:7.2.4-0ubuntu11:7.2.5~rc1-0ubuntu2
Show 11 moreShow less
1:7.2.5~rc2-0ubuntu11:7.3.1~rc2-0ubuntu11:7.3.1~rc3-0ubuntu11:7.3.2~rc1-0ubuntu21:7.3.2~rc2-0ubuntu11:7.3.2-0ubuntu11:7.3.2-0ubuntu21:7.3.3-0ubuntu0.22.04.11:7.3.4-0ubuntu0.22.04.11:7.3.5-0ubuntu0.22.04.11:7.3.6-0ubuntu0.22.04.1
1:7.3.6-0ubuntu0.22.04.2
libreoffice
openSUSE:Leap 15.1
before 6.4.4.2-lp151.3.15.1
6.4.4.2-lp151.3.15.1
libreoffice
openSUSE:Tumbleweed
before 7.1.5.2-3.13
7.1.5.2-3.13

History

History
RecordedChangedSources
affected, aliases, referencesOSV
aliases, publishedEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2020-12801 is a medium vulnerability (CVSS 5.3) in Libreoffice, published May 18, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.29%, the 70th percentile. Fixed in libreoffice 6.4.3.2-r0.

References

Show 45 moreShow less
MoveEnter Open