{"id":"CVE-2018-13874","aliases":["EUVD-2018-5808","GHSA-6pqp-pgw6-gg79","UBUNTU-CVE-2018-13874"],"status":"published","title":"An issue was discovered in the HDF HDF5 1.8.20 library. There is a stack-based buffer overflow in...","description":"An issue was discovered in the HDF HDF5 1.8.20 library. There is a stack-based buffer overflow in the function H5FD_sec2_read in H5FDsec2.c, related to HDmemset.","severity":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01914,"percentile":0.79967,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-787"],"published":"2018-07-10T21:00:00Z","modified":"2026-10-24T10:30:30Z","affected":[{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"hdf5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.8.11-3ubuntu1","1.8.11-5ubuntu1","1.8.11-5ubuntu2","1.8.11-5ubuntu6","1.8.11-5ubuntu7","1.8.11-5ubuntu7.1","1.8.11-5ubuntu7.1+esm1","1.8.11-5ubuntu7.1+esm2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"hdf5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.8.15-patch1+docs-4","1.8.15-patch1+docs-5","1.8.16+docs-1","1.8.16+docs-2","1.8.16+docs-3","1.8.16+docs-3ubuntu1","1.8.16+docs-4","1.8.16+docs-4ubuntu1","1.8.16+docs-4ubuntu1.1","1.8.16+docs-4ubuntu1.1+esm1","1.8.16+docs-4ubuntu1.1+esm2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"hdf5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.10.0-patch1+docs-4","1.10.0-patch1+docs-4ubuntu0.1~esm1","1.10.0-patch1+docs-4ubuntu0.1~esm2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"hdf5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.10.4+repack-10","1.10.4+repack-11","1.10.4+repack-11ubuntu1","1.10.4+repack-11ubuntu1+esm1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"hdf5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.10.6+repack-5","1.10.7+repack-4ubuntu1","1.10.7+repack-4ubuntu2"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"hdf5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.10.8+repack1-1ubuntu1","1.10.10+repack-3ubuntu1","1.10.10+repack-3.1ubuntu3","1.10.10+repack-3.1ubuntu4"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"hdf5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.14.5+repack-3","1.14.5+repack-3build1"]}],"products":[{"vendor":"hdfgroup","product":"hdf5"}],"references":[{"url":"https://github.com/TeamSeri0us/pocs/tree/master/hdf5","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-13874"},{"url":"https://github.com/advisories/GHSA-6pqp-pgw6-gg79"},{"url":"https://ubuntu.com/security/CVE-2018-13874","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-13874","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2018-13874","description":"An issue was discovered in the HDF HDF5 1.8.20 library. There is a stack-based buffer overflow in the function H5FD_sec2_read in H5FDsec2.c, related to HDmemset.","status":"published","published":"2018-07-10T21:00:00Z","modified":"2024-09-16T18:48:29.996Z","updated_at":"2026-11-02T14:35:07.354449Z"}],"euvd":[{"id":"EUVD-2018-5808","description":"An issue was discovered in the HDF HDF5 1.8.20 library. There is a stack-based buffer overflow in the function H5FD_sec2_read in H5FDsec2.c, related to HDmemset.","status":"published","published":"2018-07-10T21:00:00Z","modified":"2024-09-16T18:48:29Z","updated_at":"2026-11-03T00:55:29.13849Z"}],"ghsa":[{"id":"GHSA-6pqp-pgw6-gg79","title":"An issue was discovered in the HDF HDF5 1.8.20 library. There is a stack-based buffer overflow in...","description":"An issue was discovered in the HDF HDF5 1.8.20 library. There is a stack-based buffer overflow in the function H5FD_sec2_read in H5FDsec2.c, related to HDmemset.","status":"published","published":"2022-05-13T01:19:06Z","modified":"2023-02-01T05:05:54Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:50:17.420383Z"}],"nvd":[{"id":"CVE-2018-13874","description":"An issue was discovered in the HDF HDF5 1.8.20 library. There is a stack-based buffer overflow in the function H5FD_sec2_read in H5FDsec2.c, related to HDmemset.","status":"published","published":"2018-07-10T21:29:00.637Z","modified":"2026-06-17T01:40:18.393Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:04:32.929986Z"}],"osv":[{"id":"CVE-2018-13874","description":"An issue was discovered in the HDF HDF5 1.8.20 library. There is a stack-based buffer overflow in the function H5FD_sec2_read in H5FDsec2.c, related to HDmemset.","status":"published","published":"2018-07-10T21:29:00.637Z","modified":"2026-10-24T10:30:30.921634412Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:08.242347Z"},{"id":"UBUNTU-CVE-2018-13874","description":"An issue was discovered in the HDF HDF5 1.8.20 library. There is a stack-based buffer overflow in the function H5FD_sec2_read in H5FDsec2.c, related to HDmemset.","status":"published","published":"2018-07-10T21:29:00Z","modified":"2026-04-22T11:44:31.136928Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:54:17.014176Z"}]}}
