CVE-2018-5698
libreadstat.a in WizardMac ReadStat 0.1.1 has a heap-based buffer over-read via an unterminated...
CVE-2018-5698 is a high vulnerability (CVSS 7.8) in Wizardmac Readstat, published January 14, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.04%, the 63rd percentile. Fixed in r-cran-haven 1.1.1-1.
libreadstat.a in WizardMac ReadStat 0.1.1 has a heap-based buffer over-read via an unterminated string.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.8
libreadstat.a in WizardMac ReadStat 0.1.1 has a heap-based buffer over-read via an unterminated string.
- Record
CVE-2018-5698- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-125
- Updated
- 2026-11-02
CVE List No score
libreadstat.a in WizardMac ReadStat 0.1.1 has a heap-based buffer over-read via an unterminated string.
- Record
CVE-2018-5698- Updated
- 2026-11-02
EUVDEUVD-2018-17467 No score
libreadstat.a in WizardMac ReadStat 0.1.1 has a heap-based buffer over-read via an unterminated string.
- Record
EUVD-2018-17467- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-fg6p-6p6x-xrvh
7.8
libreadstat.a in WizardMac ReadStat 0.1.1 has a heap-based buffer over-read via an unterminated...
libreadstat.a in WizardMac ReadStat 0.1.1 has a heap-based buffer over-read via an unterminated string.
- Record
GHSA-fg6p-6p6x-xrvh- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-125
- Updated
- 2026-11-02
OSV
7.8
libreadstat.a in WizardMac ReadStat 0.1.1 has a heap-based buffer over-read via an unterminated string.
- Record
CVE-2018-5698- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2018-5698
7.8
libreadstat.a in WizardMac ReadStat 0.1.1 has a heap-based buffer over-read via an unterminated string.
- Record
DEBIAN-CVE-2018-5698- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2018-5698
7.8
libreadstat.a in WizardMac ReadStat 0.1.1 has a heap-based buffer over-read via an unterminated string.
- Record
UBUNTU-CVE-2018-5698- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRSEC-2023-5 No score
Infinite loop, memory leak, and heap-based buffer over-read vulnerabilities
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.
- Record
RSEC-2023-5- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
r-cran-havenDebian:12 |
before 1.1.1-1 | 1.1.1-1 |
r-cran-havenDebian:13 |
before 1.1.1-1 | 1.1.1-1 |
r-cran-havenDebian:14 |
before 1.1.1-1 | 1.1.1-1 |
havenCRAN |
0.1.0 up to 1.1.1, plus listed versions 0.1.10.2.00.2.11.0.01.1.0 |
1.1.1 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | affected | |
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |