# RSEC-2023-1: Double-free and invalid free vulnerabilities

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2023-07-13T02:37:06.600Z
- Modified: 2025-05-19T19:43:47.604Z
- Related: CVE-2018-20450, CVE-2018-20452

## Description

The readxl R package has been found susceptible to vulnerabilities due to its dependency on libxls library version 1.4.0. Two distinct memory management issues were discovered in the read_MSAT and read_MSAT_body functions within the ole.c component of libxls. The first vulnerability is a double-free flaw in the read_MSAT function, which could be exploited by an attacker using a crafted file to cause a Denial of Service (DoS), resulting in an application crash. This vulnerability is different from CVE-2017-2897. The second vulnerability is an invalid free flaw in the read_MSAT_body function. This issue, stemming from inconsistent memory management in the ole2_read_header function, allows attackers to trigger a DoS, application crash, or possibly an unspecified impact through a specially crafted file.

(As written by R Consortium Advisory Database.)

## Affected

- readxl (CRAN): from 0.1.0 before 1.3.0

## References

- <https://readxl.tidyverse.org/news/index.html#readxl-130> (web)
- <https://security-tracker.debian.org/tracker/CVE-2017-2896> (web)
- <https://github.com/evanmiller/libxls/issues/34> (web)
- <https://github.com/evanmiller/libxls/issues/35> (web)

## Sources

- R Consortium Advisory Database: [RSEC-2023-1](https://osv.dev/vulnerability/RSEC-2023-1), Apache-2.0, modified 2025-05-19

---

Page: https://cve.day/RSEC-2023-1 · Whole record: https://cve.day/RSEC-2023-1.json · Rebuilt by cve.day 2026-11-25T22:56:16.494Z
