CVE-2020-12801
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.
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
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 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - CVSS 2.0
- 5.0 Medium
AV: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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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
| Package | Affected | Fixed |
|---|---|---|
libreofficeAlpine:v3.15 |
6.3.0 up to 6.4.3.2-r0 | 6.4.3.2-r0 |
libreofficeAlpine:v3.16 |
6.3.0 up to 6.4.3.2-r0 | 6.4.3.2-r0 |
libreofficeAlpine:v3.17 |
6.3.0 up to 6.4.3.2-r0 | 6.4.3.2-r0 |
libreofficeAlpine:v3.18 |
6.3.0 up to 6.4.3.2-r0 | 6.4.3.2-r0 |
libreofficeAlpine:v3.19 |
6.3.0 up to 6.4.3.2-r0 | 6.4.3.2-r0 |
libreofficeAlpine:v3.20 |
6.3.0 up to 6.4.3.2-r0 | 6.4.3.2-r0 |
libreofficeAlpine:v3.21 |
6.3.0 up to 6.4.3.2-r0 | 6.4.3.2-r0 |
libreofficeAlpine:v3.22 |
6.3.0 up to 6.4.3.2-r0 | 6.4.3.2-r0 |
libreofficeAlpine:v3.23 |
6.3.0 up to 6.4.3.2-r0 | 6.4.3.2-r0 |
libreofficeAlpine:v3.24 |
6.3.0 up to 6.4.3.2-r0 | 6.4.3.2-r0 |
Show 28 moreShow less
| Package | Affected | Fixed |
|---|---|---|
libreofficeDebian:12 |
before 1:6.4.3-1 | 1:6.4.3-1 |
libreofficeDebian:13 |
before 1:6.4.3-1 | 1:6.4.3-1 |
libreofficeDebian:14 |
before 1:6.4.3-1 | 1:6.4.3-1 |
libreofficeDebian: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 less1: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 |
libabwMageia:7 |
before 0.1.3-1.mga7 | 0.1.3-1.mga7 |
libcdrMageia:7 |
before 0.1.6-1.mga7 | 0.1.6-1.mga7 |
libmwawMageia:7 |
before 0.3.16-1.mga7 | 0.3.16-1.mga7 |
libvisioMageia:7 |
before 0.1.7-1.mga7 | 0.1.7-1.mga7 |
libwpsMageia:7 |
before 0.4.11-1.mga7 | 0.4.11-1.mga7 |
libixionMageia:7 |
before 0.15.0-6.mga7 | 0.15.0-6.mga7 |
liborcusMageia:7 |
before 0.15.3-4.mga7 | 0.15.3-4.mga7 |
mddsMageia:7 |
before 1.5.0-1.mga7 | 1.5.0-1.mga7 |
fmtMageia:7 |
before 6.2.1-1.1.mga7 | 6.2.1-1.1.mga7 |
spdlogMageia:7 |
before 1.6.0-1.mga7 | 1.6.0-1.mga7 |
qr-code-generatorMageia:7 |
before 1.5.0-6.mga7 | 1.5.0-6.mga7 |
libreofficeMageia:7 |
before 6.4.4.2-1.mga7 | 6.4.4.2-1.mga7 |
celestiaMageia:7 |
before 1.7.0-0.20190423git.920a0c8.2.1.mga7 | 1.7.0-0.20190423git.920a0c8.2.1.mga7 |
kodiMageia:7 |
before 18.7-1.1.mga7 | 18.7-1.1.mga7 |
libreofficeSUSE:Linux Enterprise Workstation Extension 15 SP1 |
before 6.4.4.2-8.19.4 | 6.4.4.2-8.19.4 |
libreofficeSUSE:Linux Enterprise Software Development Kit 12 SP4 |
before 6.4.4.2-43.65.5 | 6.4.4.2-43.65.5 |
libreofficeSUSE:Linux Enterprise Software Development Kit 12 SP5 |
before 6.4.4.2-43.65.5 | 6.4.4.2-43.65.5 |
libreofficeSUSE:Linux Enterprise Workstation Extension 12 SP4 |
before 6.4.4.2-43.65.5 | 6.4.4.2-43.65.5 |
libreofficeSUSE:Linux Enterprise Workstation Extension 12 SP5 |
before 6.4.4.2-43.65.5 | 6.4.4.2-43.65.5 |
libreofficeUbuntu: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 less1: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 |
libreofficeUbuntu: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 less1: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 |
libreofficeUbuntu: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 less1: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 |
libreofficeopenSUSE:Leap 15.1 |
before 6.4.4.2-lp151.3.15.1 | 6.4.4.2-lp151.3.15.1 |
libreofficeopenSUSE:Tumbleweed |
before 7.1.5.2-3.13 | 7.1.5.2-3.13 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, aliases, references | OSV | |
| aliases, published | EUVD | |
| first indexed | CVE 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
libreoffice.org/about-us/security/advisories/CVE-2020-12801
lists.opensuse.org/opensuse-security-announce/2020-06/msg00011.html
lists.debian.org/debian-lts-announce/2023/12/msg00026.html
nvd.nist.gov/vuln/detail/CVE-2020-12801
github.com/advisories/GHSA-52g9-8355-62qv
security.alpinelinux.org/vuln/CVE-2020-12801
Show 45 moreShow less
security-tracker.debian.org/tracker/CVE-2020-12801
advisories.mageia.org/MGASA-2020-0258.html
bugs.mageia.org/show_bug.cgi?id=26641
libreoffice.org/about-us/security/advisories/cve-2020-12801
wiki.documentfoundation.org/ReleaseNotes/6.3
wiki.documentfoundation.org/ReleaseNotes/6.4
suse.com/support/update/announcement/2020/suse-su-20201530-1
bugzilla.suse.com/1160687
bugzilla.suse.com/1165870
bugzilla.suse.com/1167463
bugzilla.suse.com/1171997
suse.com/security/cve/CVE-2020-12801
suse.com/support/update/announcement/2020/suse-su-20201731-1
ubuntu.com/security/CVE-2020-12801
ubuntu.com/security/notices/USN-5694-1
cve.org/CVERecord?id=CVE-2020-12801
ubuntu.com/security/CVE-2020-12803
ubuntu.com/security/CVE-2022-3140
ubuntu.com/security/CVE-2022-26305
ubuntu.com/security/CVE-2022-26306
ubuntu.com/security/CVE-2022-26307
lists.opensuse.org/archives/list/[email protected]/thread/BCWIVISCVSRNS3AKNPOZ7SLWOT4RWQ4Y
suse.com/security/cve/CVE-2006-2198
suse.com/security/cve/CVE-2006-2199
suse.com/security/cve/CVE-2006-3117
suse.com/security/cve/CVE-2007-0238
suse.com/security/cve/CVE-2007-0239
suse.com/security/cve/CVE-2016-10327
suse.com/security/cve/CVE-2017-3157
suse.com/security/cve/CVE-2017-7870
suse.com/security/cve/CVE-2017-7882
suse.com/security/cve/CVE-2017-8358
suse.com/security/cve/CVE-2018-10119
suse.com/security/cve/CVE-2018-10120
suse.com/security/cve/CVE-2018-1055
suse.com/security/cve/CVE-2018-10583
suse.com/security/cve/CVE-2018-16858
suse.com/security/cve/CVE-2019-9848
suse.com/security/cve/CVE-2019-9850
suse.com/security/cve/CVE-2019-9851
suse.com/security/cve/CVE-2019-9853
suse.com/security/cve/CVE-2019-9854
suse.com/security/cve/CVE-2019-9855
suse.com/security/cve/CVE-2020-12802
suse.com/security/cve/CVE-2020-12803