{"id":"CVE-2017-17497","aliases":["DEBIAN-CVE-2017-17497","EUVD-2017-8658","GHSA-xj89-pr57-g8p3"],"status":"published","title":"In Tidy 5.7.0, the prvTidyTidyMetaCharset function in clean.c allows attackers to cause a denial...","description":"In Tidy 5.7.0, the prvTidyTidyMetaCharset function in clean.c allows attackers to cause a denial of service (Segmentation Fault), because the currentNode variable in the \"children of the head\" processing feature is modified in the loop without validating the new value.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/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-08","score":0.01377,"percentile":0.72239,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-119"],"published":"2017-12-10T22:00:00Z","modified":"2026-09-01T20:03:45Z","fixes":[{"ecosystem":"Debian:12","package":"tidy-html5","fixed_in":["2:5.6.0-3"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"tidy-html5","fixed_in":["2:5.6.0-3"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"tidy-html5","fixed_in":["2:5.6.0-3"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"tidy-html5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:5.6.0-3"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"tidy-html5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:5.6.0-3"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"tidy-html5","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:5.6.0-3"}]}]}],"products":[{"vendor":"htacg","product":"tidy"}],"references":[{"url":"https://github.com/htacg/tidy-html5/issues/656","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-17497"},{"url":"https://github.com/advisories/GHSA-xj89-pr57-g8p3"},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-17497","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2017-17497","description":"In Tidy 5.7.0, the prvTidyTidyMetaCharset function in clean.c allows attackers to cause a denial of service (Segmentation Fault), because the currentNode variable in the \"children of the head\" processing feature is modified in the loop without validating the new value.","status":"published","published":"2017-12-10T22:00:00Z","modified":"2024-08-05T20:51:31.608Z","updated_at":"2026-11-02T14:33:18.248329Z"}],"euvd":[{"id":"EUVD-2017-8658","description":"In Tidy 5.7.0, the prvTidyTidyMetaCharset function in clean.c allows attackers to cause a denial of service (Segmentation Fault), because the currentNode variable in the \"children of the head\" processing feature is modified in the loop without validating the new value.","status":"published","published":"2017-12-10T22:00:00Z","modified":"2024-08-05T20:51:31Z","updated_at":"2026-11-03T02:23:09.524502Z"}],"ghsa":[{"id":"GHSA-xj89-pr57-g8p3","title":"In Tidy 5.7.0, the prvTidyTidyMetaCharset function in clean.c allows attackers to cause a denial...","description":"In Tidy 5.7.0, the prvTidyTidyMetaCharset function in clean.c allows attackers to cause a denial of service (Segmentation Fault), because the currentNode variable in the \"children of the head\" processing feature is modified in the loop without validating the new value.","status":"published","published":"2022-05-13T01:28:41Z","modified":"2023-02-01T05:07:47Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:50:36.63783Z"}],"nvd":[{"id":"CVE-2017-17497","description":"In Tidy 5.7.0, the prvTidyTidyMetaCharset function in clean.c allows attackers to cause a denial of service (Segmentation Fault), because the currentNode variable in the \"children of the head\" processing feature is modified in the loop without validating the new value.","status":"published","published":"2017-12-10T22:29:00.263Z","modified":"2026-06-17T01:10:52.277Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/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-119"],"updated_at":"2026-11-02T14:04:10.156892Z"}],"osv":[{"id":"CVE-2017-17497","description":"In Tidy 5.7.0, the prvTidyTidyMetaCharset function in clean.c allows attackers to cause a denial of service (Segmentation Fault), because the currentNode variable in the \"children of the head\" processing feature is modified in the loop without validating the new value.","status":"published","published":"2017-12-10T22:29:00.263Z","modified":"2026-03-14T09:24:48.685982Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:04.853379Z"},{"id":"DEBIAN-CVE-2017-17497","description":"In Tidy 5.7.0, the prvTidyTidyMetaCharset function in clean.c allows attackers to cause a denial of service (Segmentation Fault), because the currentNode variable in the \"children of the head\" processing feature is modified in the loop without validating the new value.","status":"published","published":"2017-12-10T22:29:00.263Z","modified":"2026-09-01T20:03:45.716622137Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/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.100767Z"}]}}
