{"id":"RSEC-2023-1","aliases":["RSEC-2023-1"],"related":["CVE-2018-20450","CVE-2018-20452"],"kind":"vulnerability","state":"published","title":"Double-free and invalid free vulnerabilities","summary":"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.","summaryFormat":"markdown","summarySource":"rsec","descriptions":[{"lang":"en","text":"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.","format":"markdown","source":"rsec"}],"published":"2023-07-13T02:37:06.600Z","modified":"2025-05-19T19:43:47.604Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"ecosystem","introduced":"0.1.0","status":"affected","fixed":"1.3.0"}],"ecosystem":"CRAN","package":"readxl","purl":"pkg:cran/readxl","source":"rsec"}],"references":[{"url":"https://readxl.tidyverse.org/news/index.html#readxl-130","tags":["web"],"sources":["rsec"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-2896","tags":["web"],"sources":["rsec"]},{"url":"https://github.com/evanmiller/libxls/issues/34","tags":["web"],"sources":["rsec"]},{"url":"https://github.com/evanmiller/libxls/issues/35","tags":["web"],"sources":["rsec"]}],"credits":[],"sources":[{"source":"rsec","name":"R Consortium Advisory Database","id":"RSEC-2023-1","url":"https://osv.dev/vulnerability/RSEC-2023-1","licence":"Apache-2.0","modified":"2025-05-19T19:43:47.604Z"}],"updatedAt":"2026-11-25T22:56:16.494Z"}