{"id":"CVE-2017-9058","aliases":["DEBIAN-CVE-2017-9058","EUVD-2017-17997","GHSA-4g85-cv2v-x664","MGASA-2017-0174","UBUNTU-CVE-2017-9058","USN-3667-1"],"status":"published","title":"In libytnef in ytnef through 1.9.2, there is a heap-based buffer over-read due to incorrect...","description":"In libytnef in ytnef through 1.9.2, there is a heap-based buffer over-read due to incorrect boundary checking in the SIZECHECK macro in lib/ytnef.c.","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.01538,"percentile":0.75056,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-125"],"published":"2017-05-18T00:00:00Z","modified":"2026-10-24T10:30:26Z","fixes":[{"ecosystem":"Debian:12","package":"libytnef","fixed_in":["1.9.2-2"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"libytnef","fixed_in":["1.9.2-2"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"libytnef","fixed_in":["1.9.2-2"],"sources":["osv"]},{"ecosystem":"Ubuntu:14.04:LTS","package":"libytnef","fixed_in":["1.5-6ubuntu0.2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"libytnef","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.2-2"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"libytnef","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.2-2"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"libytnef","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.2-2"}]}]},{"source":"osv","ecosystem":"Mageia:5","package":"libytnef","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5-10.2.mga5"}]}],"bundled":13},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"libytnef","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5-6ubuntu0.2"}]}],"versions":["1.5-5","1.5-6","1.5-6ubuntu0.1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"libytnef","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5-6","1.5-9","1.5-9ubuntu0.1"]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"libytnef","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5-6ubuntu0.2"}]}],"versions":["1.5-5","1.5-6","1.5-6ubuntu0.1"],"bundled":5}],"products":[{"vendor":"canonical","product":"ubuntu_linux"},{"vendor":"ytnef_project","product":"ytnef"}],"references":[{"url":"https://usn.ubuntu.com/3667-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Third Party Advisory","advisory"]},{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=862556","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LFJWMUEUC4ILH2HEOCYVVLQT654ZMCGQ/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-9058"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LFJWMUEUC4ILH2HEOCYVVLQT654ZMCGQ"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LFJWMUEUC4ILH2HEOCYVVLQT654ZMCGQ"},{"url":"https://usn.ubuntu.com/3667-1"},{"url":"https://github.com/advisories/GHSA-4g85-cv2v-x664"},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-9058","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2017-0174.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=20893","tags":["report"]},{"url":"http://openwall.com/lists/oss-security/2017/02/15/4","tags":["web"]},{"url":"https://www.debian.org/security/2017/dsa-3846","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2017-9058","tags":["report"]},{"url":"https://github.com/Yeraze/ytnef/issues/45","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-3667-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-9058","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-9146","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-9471","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-9473","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-12141","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2017-9058","description":"In libytnef in ytnef through 1.9.2, there is a heap-based buffer over-read due to incorrect boundary checking in the SIZECHECK macro in lib/ytnef.c.","status":"published","published":"2017-05-18T06:13:00Z","modified":"2024-08-05T16:55:21.981Z","updated_at":"2026-11-02T14:33:13.606903Z"}],"euvd":[{"id":"EUVD-2017-17997","description":"In libytnef in ytnef through 1.9.2, there is a heap-based buffer over-read due to incorrect boundary checking in the SIZECHECK macro in lib/ytnef.c.","status":"published","published":"2017-05-18T06:13:00Z","modified":"2024-08-05T16:55:21Z","updated_at":"2026-11-03T02:23:29.187521Z"}],"ghsa":[{"id":"GHSA-4g85-cv2v-x664","title":"In libytnef in ytnef through 1.9.2, there is a heap-based buffer over-read due to incorrect...","description":"In libytnef in ytnef through 1.9.2, there is a heap-based buffer over-read due to incorrect boundary checking in the SIZECHECK macro in lib/ytnef.c.","status":"published","published":"2022-05-13T01:47:47Z","modified":"2025-04-20T03:38:56Z","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-125"],"updated_at":"2026-11-02T15:01:46.283604Z"}],"nvd":[{"id":"CVE-2017-9058","description":"In libytnef in ytnef through 1.9.2, there is a heap-based buffer over-read due to incorrect boundary checking in the SIZECHECK macro in lib/ytnef.c.","status":"published","published":"2017-05-18T06:29:00.683Z","modified":"2026-06-17T01:27:24.707Z","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-125"],"updated_at":"2026-11-02T14:03:49.449157Z"}],"osv":[{"id":"CVE-2017-9058","description":"In libytnef in ytnef through 1.9.2, there is a heap-based buffer over-read due to incorrect boundary checking in the SIZECHECK macro in lib/ytnef.c.","status":"published","published":"2017-05-18T06:29:00.683Z","modified":"2026-10-24T10:30:26.002919247Z","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:06.868403Z"},{"id":"DEBIAN-CVE-2017-9058","description":"In libytnef in ytnef through 1.9.2, there is a heap-based buffer over-read due to incorrect boundary checking in the SIZECHECK macro in lib/ytnef.c.","status":"published","published":"2017-05-18T06:29:00.683Z","modified":"2026-09-01T20:02:53.316313996Z","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:45:29.698576Z"},{"id":"UBUNTU-CVE-2017-9058","description":"In libytnef in ytnef through 1.9.2, there is a heap-based buffer over-read due to incorrect boundary checking in the SIZECHECK macro in lib/ytnef.c.","status":"published","published":"2017-05-18T00:00:00Z","modified":"2026-04-22T11:34:59.801293Z","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:16.154988Z"},{"id":"MGASA-2017-0174","title":"Updated libytnef packages fix security vulnerabilities","description":"Several issues were discovered in libytnef, a library used to decode\napplication/ms-tnef e-mail attachments. Multiple heap overflows,\nout-of-bound writes and reads, NULL pointer dereferences and infinite\nloops could be exploited by tricking a user into opening a maliciously\ncrafted winmail.dat file (CVE-2017-6298, CVE-2017-6299, CVE-2017-6300,\nCVE-2017-6301, CVE-2017-6302, CVE-2017-6303, CVE-2017-6304,\nCVE-2017-6305, CVE-2017-6306, CVE-2017-6800, CVE-2017-6801,\nCVE-2017-6802).\n\nA heap-buffer-overflow vulnerability in libytnef due to an incorrect\nboundary checking in SIZECHCK macro in lib/ytnef.c (CVE-2017-9058).\n","status":"published","published":"2017-06-14T15:52:21Z","modified":"2026-04-16T06:26:12.282736923Z","updated_at":"2026-11-02T15:49:40.103088Z"},{"id":"USN-3667-1","title":"libytnef vulnerabilities","description":"It was discovered that libytnef incorrectly handled certain files.\nAn attacker could possibly use this to cause a denial of service.\n(CVE-2017-12141, CVE-2017-9146, CVE-2017-9471, CVE-2017-9473)\n\nIt was discovered that libytnef incorrectly handled certain files.\nAn attacker could possibly use this to access sensitive information.\n(CVE-2017-9058)\n","status":"published","published":"2018-05-31T19:40:42Z","modified":"2026-04-27T15:20:23.120535Z","updated_at":"2026-11-02T16:58:13.496563Z"}]}}
