{"id":"RSEC-2023-5","aliases":["RSEC-2023-5"],"related":["CVE-2018-11364","CVE-2018-11365","CVE-2018-5698"],"kind":"vulnerability","state":"published","title":"Infinite loop, memory leak, and heap-based buffer over-read vulnerabilities","summary":"The haven R package is exposed to multiple vulnerabilities due to issues in its underlying ReadStat library. The specific flaws include an infinite loop condition, a memory leak associated with an iconv_open call, and a heap-based buffer over-read via an unterminated string. Exploitation of these vulnerabilities could lead to Denial of Service or other undefined behaviors.","summaryFormat":"markdown","summarySource":"rsec","descriptions":[{"lang":"en","text":"The haven R package is exposed to multiple vulnerabilities due to issues in its underlying ReadStat library. The specific flaws include an infinite loop condition, a memory leak associated with an iconv_open call, and a heap-based buffer over-read via an unterminated string. Exploitation of these vulnerabilities could lead to Denial of Service or other undefined behaviors.","format":"markdown","source":"rsec"}],"published":"2023-10-05T05:00:00.600Z","modified":"2025-05-19T19:43:47.336Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"ecosystem","introduced":"0.1.0","status":"affected","fixed":"1.1.1"}],"ecosystem":"CRAN","package":"haven","purl":"pkg:cran/haven","source":"rsec"}],"references":[{"url":"https://security-tracker.debian.org/tracker/CVE-2018-11365","tags":["web"],"sources":["rsec"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-11364","tags":["web"],"sources":["rsec"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-5698","tags":["web"],"sources":["rsec"]},{"url":"https://github.com/WizardMac/ReadStat/issues/108","tags":["web"],"sources":["rsec"]},{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=899335","tags":["web"],"sources":["rsec"]}],"credits":[],"sources":[{"source":"rsec","name":"R Consortium Advisory Database","id":"RSEC-2023-5","url":"https://osv.dev/vulnerability/RSEC-2023-5","licence":"Apache-2.0","modified":"2025-05-19T19:43:47.336Z"}],"updatedAt":"2026-11-25T22:56:16.495Z"}