{"id":36226,"date":"2025-05-08T07:41:56","date_gmt":"2025-05-08T07:41:56","guid":{"rendered":""},"modified":"2025-06-13T17:10:40","modified_gmt":"2025-06-13T23:10:40","slug":"cve-2023-36916-integer-overflow-vulnerabilities-in-gtkwave-s-fst-reader","status":"publish","type":"post","link":"https:\/\/www.ameeba.com\/blog\/cve-2023-36916-integer-overflow-vulnerabilities-in-gtkwave-s-fst-reader\/","title":{"rendered":"<strong>CVE-2023-36916: Integer Overflow Vulnerabilities in GTKWave&#8217;s FST Reader<\/strong>"},"content":{"rendered":"<p><strong>Overview<\/strong><\/p>\n<p>CVE-2023-36916 is a critical vulnerability that affects users of the GTKWave 3.3.115 software. This vulnerability originates from multiple integer overflow vulnerabilities in the FST fstReaderIterBlocks2 chain_table allocation functionality. An attacker can exploit these vulnerabilities to execute arbitrary code on a victim&#8217;s <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2023-34322-inadequate-precaution-in-xen-s-shadow-paging-leads-to-potential-system-compromise\/\"  data-wpil-monitor-id=\"40975\">system with potentially<\/a> devastating consequences such as system compromise or data leakage. Therefore, understanding and mitigating this <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-43922-unprivileged-local-user-privilege-escalation-vulnerability-in-filewave-windows-client\/\"  data-wpil-monitor-id=\"41422\">vulnerability is of utmost importance for users<\/a> and administrators of GTKWave 3.3.115.<\/p>\n<p><strong>Vulnerability Summary<\/strong><\/p>\n<p>CVE ID: CVE-2023-36916<br \/>\nSeverity: High (7.8 CVSS)<br \/>\nAttack Vector: <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-2558-critical-local-file-inclusion-vulnerability-in-the-wound-wordpress-theme\/\"  data-wpil-monitor-id=\"41012\">Local File<\/a><br \/>\nPrivileges Required: None<br \/>\nUser Interaction: Required<br \/>\nImpact: Arbitrary code execution, <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2021-40367-critical-vulnerability-in-syngo-fastview-allows-potential-system-compromise\/\"  data-wpil-monitor-id=\"40949\">potential system<\/a> compromise, and data leakage<\/p>\n<p><strong>Affected Products<\/strong><\/p><div id=\"ameeb-2397557989\" class=\"ameeb-content-2 ameeb-entity-placement\"><div style=\"border-left: 4px solid #555; padding-left: 20px; margin: 48px 0; font-family: Roboto, sans-serif; color: #ffffff; line-height: 1.6; max-width: 700px;\">\r\n  <h2 style=\"margin-top: 0; font-size: 20px; font-weight: 600; display: flex; align-items: center;\">\r\n    <a href=\"https:\/\/www.ameeba.com\/chat\" style=\"display: inline-flex; align-items: center; margin-right: 8px;\">\r\n      <img decoding=\"async\" src=\"https:\/\/www.ameeba.com\/blog\/wp-content\/uploads\/2025\/10\/Best-App-icon-Ameeba.png\" alt=\"Ameeba Chat Icon\" style=\"width: 40px; height: 40px;\" \/>\r\n    <\/a>\r\n    A new way to communicate\r\n  <\/h2>\r\n\r\n  <p style=\"margin-bottom: 12px;\">\r\n    Ameeba Chat is built on encrypted identity, not personal profiles.\r\n  <\/p>\r\n\r\n  <p style=\"margin-bottom: 16px;\">\r\n    Message, call, share files, and coordinate with identities kept separate.\r\n  <\/p>\r\n\r\n  <ul style=\"list-style: none; padding-left: 0; margin-bottom: 20px;\">\r\n    <li>\u2022 Encrypted identity<\/li>\r\n    <li>\u2022 Ameeba Chat authenticates access<\/li>\r\n    <li>\u2022 Aliases and categories<\/li>\r\n    <li>\u2022 End-to-end encrypted chat, calls, and files<\/li>\r\n    <li>\u2022 Secure notes for sensitive information<\/li>\r\n  <\/ul>\r\n\r\n  <p style=\"font-style: italic; font-weight: 600; margin-bottom: 24px;\">\r\n    Private communication, rethought.\r\n  <\/p>\r\n\r\n  <div style=\"display: flex; flex-wrap: wrap; gap: 12px;\">\r\n    <a href=\"https:\/\/www.ameeba.com\/chat\/download\" style=\"background-color: #ffffff; color: #000000; padding: 10px 20px; text-decoration: none; border-radius: 6px; font-weight: 500;\">Download Ameeba Chat<\/a>\r\n    <a href=\"https:\/\/www.ameeba.com\/chat\" style=\"border: 1px solid #ffffff; color: #ffffff; padding: 10px 20px; text-decoration: none; border-radius: 6px; font-weight: 500;\">Learn More<\/a>\r\n  <\/div>\r\n<\/div>\r\n<\/div>\n<p>Product | Affected Versions<\/p>\n<p>GTKWave | 3.3.115<\/p>\n<p><strong>How the Exploit Works<\/strong><\/p>\n<p>The vulnerability lies in the allocation of the `chain_table_lengths` array in the <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2023-34436-critical-out-of-bounds-write-vulnerability-in-gtkwave-3-3-115\/\"  data-wpil-monitor-id=\"41046\">FST<\/a> fstReaderIterBlocks2 chain_table allocation functionality of GTKWave 3.3.115. An attacker can craft a malicious .fst file that results in an <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2023-35004-critical-integer-overflow-vulnerability-in-gtkwave-3-3-115\/\"  data-wpil-monitor-id=\"41057\">integer overflow<\/a> during the allocation of this array. This overflow can corrupt memory and potentially allow the attacker to <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2024-21821-arbitrary-os-command-execution-vulnerability-in-multiple-tp-link-products\/\"  data-wpil-monitor-id=\"41111\">execute arbitrary<\/a> code.<\/p>\n<p><strong>Conceptual Example Code<\/strong><\/p><div id=\"ameeb-734740886\" class=\"ameeb-content ameeb-entity-placement\"><div class=\"poptin-embedded\" data-id=\"f6b387694f681\"><\/div>\r\n\r\n\r\n\r\n\r\n\r\n<\/div>\n<p>While a specific exploit code isn&#8217;t provided, the conceptual exploitation process would involve crafting a malicious .fst file that triggers an <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2023-35057-critical-integer-overflow-vulnerability-in-gtkwave-3-3-115\/\"  data-wpil-monitor-id=\"41067\">integer overflow<\/a>. The file would have to be designed such that when loaded by GTKWave 3.3.115, it causes an <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2024-52035-catdoc-ole-document-file-allocation-table-parser-integer-overflow-vulnerability\/\"  data-wpil-monitor-id=\"57544\">overflow in the `chain_table_lengths` array allocation<\/a>. It might look something like this:<\/p>\n<pre><code class=\"\" data-line=\"\"># Create a binary .fst file with a large value that will trigger the overflow\necho -e &quot;\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x01\\x00\\x00\\x00\\x00&quot; &gt; exploit.fst\n# The victim opens the malicious .fst file with GTKWave\nGTKWave exploit.fst<\/code><\/pre>\n<p>This example is highly simplified and does not represent a real exploit. Crafting a working .fst file would require a deep understanding of the <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-43951-local-file-inclusion-vulnerability-in-labvantage-prior-to-lv-8-8-0-13-hf6\/\"  data-wpil-monitor-id=\"41749\">file format and the vulnerable<\/a> software.<\/p>\n<p><strong>Mitigation Guidance<\/strong><\/p>\n<p>The best way to mitigate this <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-47884-jenkins-openid-connect-provider-plugin-vulnerability-leading-to-unauthorized-access\/\"  data-wpil-monitor-id=\"57545\">vulnerability is to apply the patch provided<\/a> by the vendor. If the patch cannot be applied immediately, use a Web Application Firewall (WAF) or Intrusion Detection System (IDS) as temporary mitigation. Monitor the system for any suspicious activities, especially those related to GTKWave 3.3.115.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview CVE-2023-36916 is a critical vulnerability that affects users of the GTKWave 3.3.115 software. This vulnerability originates from multiple integer overflow vulnerabilities in the FST fstReaderIterBlocks2 chain_table allocation functionality. An attacker can exploit these vulnerabilities to execute arbitrary code on a victim&#8217;s system with potentially devastating consequences such as system compromise or data leakage. Therefore, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"footnotes":""},"categories":[1],"tags":[],"vendor":[],"product":[],"attack_vector":[80],"asset_type":[],"severity":[],"exploit_status":[],"class_list":["post-36226","post","type-post","status-publish","format-standard","hentry","category-uncategorized","attack_vector-rce"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/36226","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/comments?post=36226"}],"version-history":[{"count":10,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/36226\/revisions"}],"predecessor-version":[{"id":51398,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/36226\/revisions\/51398"}],"wp:attachment":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/media?parent=36226"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/categories?post=36226"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/tags?post=36226"},{"taxonomy":"vendor","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/vendor?post=36226"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/product?post=36226"},{"taxonomy":"attack_vector","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/attack_vector?post=36226"},{"taxonomy":"asset_type","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/asset_type?post=36226"},{"taxonomy":"severity","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/severity?post=36226"},{"taxonomy":"exploit_status","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/exploit_status?post=36226"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}