{"id":"CVE-2018-11365","aliases":["DEBIAN-CVE-2018-11365","EUVD-2018-3401","GHSA-hqcm-3jf7-m4cg","RSEC-2023-5","UBUNTU-CVE-2018-11365"],"status":"published","title":"sas/readstat_sas7bcat_read.c in libreadstat.a in ReadStat 0.1.1 has an infinite loop.","description":"sas/readstat_sas7bcat_read.c in libreadstat.a in ReadStat 0.1.1 has an infinite loop.","severity":{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01123,"percentile":0.66473,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-835"],"published":"2018-05-22T04:00:00Z","modified":"2026-10-24T10:31:00Z","fixes":[{"ecosystem":"Debian:12","package":"r-cran-haven","fixed_in":["1.1.1-2"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"r-cran-haven","fixed_in":["1.1.1-2"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"r-cran-haven","fixed_in":["1.1.1-2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"r-cran-haven","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.1-2"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"r-cran-haven","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.1-2"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"r-cran-haven","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.1-2"}]}]},{"source":"osv","ecosystem":"CRAN","package":"haven","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.0"},{"fixed":"1.1.1"}]}],"versions":["0.1.0","0.1.1","0.2.0","0.2.1","1.0.0","1.1.0"],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"r-cran-haven","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.0-1","1.1.1-1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"r-cran-haven","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.1-2","2.2.0-1","2.2.0-1build1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"r-cran-haven","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.3.1-1","2.4.3-2"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"r-cran-haven","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.5.3-1","2.5.4-1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"r-cran-haven","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.5.4-1","2.5.5-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"r-cran-haven","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.5.5-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"r-cran-haven","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.5.5-1"]}],"products":[{"vendor":"wizardmac","product":"readstat"}],"references":[{"url":"https://github.com/ChijinZ/security_advisories/tree/master/ReadStat-7bced5b","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-11365"},{"url":"https://github.com/advisories/GHSA-hqcm-3jf7-m4cg"},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-11365","tags":["advisory","web"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-11364","tags":["web"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-5698","tags":["web"]},{"url":"https://github.com/WizardMac/ReadStat/issues/108","tags":["web"]},{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=899335","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2018-11365","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-11365","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2018-11365","description":"sas/readstat_sas7bcat_read.c in libreadstat.a in ReadStat 0.1.1 has an infinite loop.","status":"published","published":"2018-05-22T04:00:00Z","modified":"2024-08-05T08:10:13.325Z","updated_at":"2026-11-02T14:35:09.139955Z"}],"euvd":[{"id":"EUVD-2018-3401","description":"sas/readstat_sas7bcat_read.c in libreadstat.a in ReadStat 0.1.1 has an infinite loop.","status":"published","published":"2018-05-22T04:00:00Z","modified":"2024-08-05T08:10:13Z","updated_at":"2026-11-03T02:39:55.512487Z"}],"ghsa":[{"id":"GHSA-hqcm-3jf7-m4cg","title":"sas/readstat_sas7bcat_read.c in libreadstat.a in ReadStat 0.1.1 has an infinite loop.","description":"sas/readstat_sas7bcat_read.c in libreadstat.a in ReadStat 0.1.1 has an infinite loop.","status":"published","published":"2022-05-13T01:30:25Z","modified":"2023-02-01T05:08:14Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-835"],"updated_at":"2026-11-02T14:50:42.874485Z"}],"nvd":[{"id":"CVE-2018-11365","description":"sas/readstat_sas7bcat_read.c in libreadstat.a in ReadStat 0.1.1 has an infinite loop.","status":"published","published":"2018-05-22T04:29:00.327Z","modified":"2026-06-17T01:35:48.47Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-835"],"updated_at":"2026-11-02T14:04:27.507872Z"}],"osv":[{"id":"CVE-2018-11365","description":"sas/readstat_sas7bcat_read.c in libreadstat.a in ReadStat 0.1.1 has an infinite loop.","status":"published","published":"2018-05-22T04:29:00.327Z","modified":"2026-10-24T10:31:00.303188465Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:07.934182Z"},{"id":"DEBIAN-CVE-2018-11365","description":"sas/readstat_sas7bcat_read.c in libreadstat.a in ReadStat 0.1.1 has an infinite loop.","status":"published","published":"2018-05-22T04:29:00.327Z","modified":"2026-10-23T18:02:57.949228798Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:29.988046Z"},{"id":"UBUNTU-CVE-2018-11365","description":"sas/readstat_sas7bcat_read.c in libreadstat.a in ReadStat 0.1.1 has an infinite loop.","status":"published","published":"2018-05-22T04:29:00Z","modified":"2026-10-17T12:53:31.717542123Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:16.544091Z"},{"id":"RSEC-2023-5","title":"Infinite loop, memory leak, and heap-based buffer over-read vulnerabilities","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.","status":"published","published":"2023-10-05T05:00:00.6Z","modified":"2025-05-19T19:43:47.336587Z","updated_at":"2026-11-02T15:53:39.492624Z"}]}}
