# RSEC-2023-5: Infinite loop, memory leak, and heap-based buffer over-read vulnerabilities

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2023-10-05T05:00:00.600Z
- Modified: 2025-05-19T19:43:47.336Z
- Related: CVE-2018-11364, CVE-2018-11365, CVE-2018-5698

## Description

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.

(As written by R Consortium Advisory Database.)

## Affected

- haven (CRAN): from 0.1.0 before 1.1.1

## References

- <https://security-tracker.debian.org/tracker/CVE-2018-11365> (web)
- <https://security-tracker.debian.org/tracker/CVE-2018-11364> (web)
- <https://security-tracker.debian.org/tracker/CVE-2018-5698> (web)
- <https://github.com/WizardMac/ReadStat/issues/108> (web)
- <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=899335> (web)

## Sources

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

---

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