CVE-2021-27836
An issue was discoverered in in function xls_getWorkSheet in xls.c in libxls 1.6.2, allows...
An issue was discoverered in in function xls_getWorkSheet in xls.c in libxls 1.6.2, allows attackers to cause a denial of service, via a crafted XLS file.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
6.5
An issue was discoverered in in function xls_getWorkSheet in xls.c in libxls 1.6.2, allows attackers to cause a denial of service, via a crafted XLS file.
- Record
CVE-2021-27836- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Weakness
- CWE-476
- Updated
- 2026-11-02
CVE List No score
An issue was discoverered in in function xls_getWorkSheet in xls.c in libxls 1.6.2, allows attackers to cause a denial of service, via a crafted XLS file.
- Record
CVE-2021-27836- Updated
- 2026-11-02
EUVDEUVD-2021-14575 No score
An issue was discoverered in in function xls_getWorkSheet in xls.c in libxls 1.6.2, allows attackers to cause a denial of service, via a crafted XLS file.
- Record
EUVD-2021-14575- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-gvjp-hxqq-9fc2 No score
An issue was discoverered in in function xls_getWorkSheet in xls.c in libxls 1.6.2, allows...
An issue was discoverered in in function xls_getWorkSheet in xls.c in libxls 1.6.2, allows attackers to cause a denial of service, via a crafted XLS file.
- Record
GHSA-gvjp-hxqq-9fc2- Weakness
- CWE-476
- Updated
- 2026-11-02
OSV
6.5
An issue was discoverered in in function xls_getWorkSheet in xls.c in libxls 1.6.2, allows attackers to cause a denial of service, via a crafted XLS file.
- Record
CVE-2021-27836- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2021-27836
6.5
An issue was discoverered in in function xls_getWorkSheet in xls.c in libxls 1.6.2, allows attackers to cause a denial of service, via a crafted XLS file.
- Record
DEBIAN-CVE-2021-27836- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 4 moreShow less
OSVUBUNTU-CVE-2021-27836
6.5
An issue was discoverered in in function xls_getWorkSheet in xls.c in libxls 1.6.2, allows attackers to cause a denial of service, via a crafted XLS file.
- Record
UBUNTU-CVE-2021-27836- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVopenSUSE-SU-2022:0142-1 No score
Security update for libxls
This update for libxls fixes the following issues:
- CVE-2021-27836: Fixed possible NULL pointer dereference via crafted XLS (boo#1192323)
- Record
openSUSE-SU-2022:0142-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:12084-1 No score
libxls-devel-1.6.2-3.1 on GA media
These are all security issues fixed in the libxls-devel-1.6.2-3.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:12084-1- Updated
- 2026-11-02
OSVRSEC-2023-2 No score
Denial of Service (DoS) vulnerability
The readxl R package is exposed to a vulnerability owing to its underlying use of libxls library version 1.6.2. The vulnerability originates in the xls_getWorkSheet function within xls.c in libxls. Attackers can exploit this flaw by utilizing a specially crafted XLS file, leading to a Denial of Service (DoS) attack.
- Record
RSEC-2023-2- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
r-cran-readxlDebian:12 |
All versions, plus listed versions 1.4.2-11.4.3-11.4.4-11.4.5-11.5.0-11.5.0.1-11.6.0-1 |
None known |
r-cran-readxlDebian:13 |
All versions, plus listed versions 1.4.5-11.5.0-11.5.0.1-11.6.0-1 |
None known |
r-cran-readxlDebian:14 |
All versions, plus listed versions 1.4.5-11.5.0-11.5.0.1-11.6.0-1 |
None known |
readxlCRAN |
1.4.1 up to 1.4.2 | 1.4.2 |
r-cran-readxlUbuntu:16.04:LTS |
All versions, plus listed versions 0.1.0-1 |
None known |
r-cran-readxlUbuntu:18.04:LTS |
All versions, plus listed versions 1.0.0-1build11.0.0-2 |
None known |
r-cran-readxlUbuntu:20.04:LTS |
All versions, plus listed versions 1.3.1-21.3.1-2build1 |
None known |
r-cran-readxlUbuntu:22.04:LTS |
All versions, plus listed versions 1.3.1-2build2 |
None known |
r-cran-readxlUbuntu:24.04:LTS |
All versions, plus listed versions 1.4.3-1 |
None known |
r-cran-readxlUbuntu:25.10 |
All versions, plus listed versions 1.4.5-1 |
None known |
Show 4 moreShow less
| Package | Affected | Fixed |
|---|---|---|
r-cran-readxlUbuntu:26.10 |
All versions, plus listed versions 1.4.5-11.5.0-1 |
None known |
r-cran-readxlUbuntu:26.04:LTS |
All versions, plus listed versions 1.4.5-1 |
None known |
libxlsSUSE:Package Hub 15 SP3 |
before 1.6.2-bp153.2.6.1 | 1.6.2-bp153.2.6.1 |
libxlsopenSUSE:Leap 15.3 |
before 1.6.2-bp153.2.6.1 | 1.6.2-bp153.2.6.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-27836 is a medium vulnerability (CVSS 6.5) in Libxls Project Libxls, published November 3, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.16%, the 67th percentile. Fixed in readxl 1.4.2.
References
github.com/libxls/libxls/issues/94
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SFOE4Z6T46LA47VXWUVET4ELXRZQ3BWB
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y6XOTFEOCHYKZAFCB6H3KNIIFJ3UFV7V
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5D7XXCVFYRRMI4ENXYSD3MZEBS6SMI7E
nvd.nist.gov/vuln/detail/CVE-2021-27836
lists.fedoraproject.org/archives/list/[email protected]/message/5D7XXCVFYRRMI4ENXYSD3MZEBS6SMI7E
Show 12 moreShow less
lists.fedoraproject.org/archives/list/[email protected]/message/SFOE4Z6T46LA47VXWUVET4ELXRZQ3BWB
lists.fedoraproject.org/archives/list/[email protected]/message/Y6XOTFEOCHYKZAFCB6H3KNIIFJ3UFV7V
github.com/advisories/GHSA-gvjp-hxqq-9fc2
security-tracker.debian.org/tracker/CVE-2021-27836
github.com/tidyverse/readxl/issues/679
readxl.tidyverse.org/news/index.html
security-tracker.debian.org/tracker/source-package/r-cran-readxl
ubuntu.com/security/CVE-2021-27836
cve.org/CVERecord?id=CVE-2021-27836
lists.opensuse.org/archives/list/[email protected]/thread/TECGPMBMRF6XCLE3FXG3LMK4ZGTK275U
bugzilla.suse.com/1192323
suse.com/security/cve/CVE-2021-27836