{"id":34698,"date":"2025-05-05T14:12:32","date_gmt":"2025-05-05T14:12:32","guid":{"rendered":""},"modified":"2025-09-29T02:50:26","modified_gmt":"2025-09-29T08:50:26","slug":"cve-2023-35703-stack-based-buffer-overflow-vulnerability-in-gtkwave-3-3-115","status":"publish","type":"post","link":"https:\/\/www.ameeba.com\/blog\/cve-2023-35703-stack-based-buffer-overflow-vulnerability-in-gtkwave-3-3-115\/","title":{"rendered":"<strong>CVE-2023-35703: Stack-Based Buffer Overflow Vulnerability in GTKWave 3.3.115<\/strong>"},"content":{"rendered":"<p><strong>Overview<\/strong><\/p>\n<p>In the ever-evolving landscape of cyber threats, a new vulnerability has been discovered in GTKWave 3.3.115, a software used for viewing waveform data. Designated as CVE-2023-35703, this vulnerability, if exploited, can lead to arbitrary code execution, potentially compromising systems and leading to data leakage. This <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=\"41037\">vulnerability specifically affects the FST LEB128 varint functionality of GTKWave<\/a>. As such, any organization or individual using <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-41646-critical-authentication-bypass-vulnerability-in-affected-software-packages\/\"  data-wpil-monitor-id=\"59323\">affected versions of this software<\/a> could be at risk, making it crucial to understand and address this threat.<\/p>\n<p><strong>Vulnerability Summary<\/strong><\/p>\n<p>CVE ID: CVE-2023-35703<br \/>\nSeverity: High (7.8)<br \/>\nAttack Vector: Local<br \/>\nPrivileges Required: None<br \/>\nUser Interaction: Required<br \/>\nImpact: <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2024-40446-arbitrary-code-execution-vulnerability-in-forkosh-mime-tex\/\"  data-wpil-monitor-id=\"39854\">Arbitrary code execution<\/a>, potential system compromise, and data leakage<\/p>\n<p><strong>Affected Products<\/strong><\/p><div id=\"ameeb-3288424153\" 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: 720px;\">\r\n  <h2 style=\"margin-top: 0; font-size: 22px; font-weight: 600; display: flex; align-items: center; letter-spacing: -0.02em;\">\r\n    <a href=\"https:\/\/www.ameeba.com\/chat\" style=\"display: inline-flex; align-items: center; margin-right: 10px;\">\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: 42px; height: 42px;\" \/>\r\n    <\/a>\r\n    Share secrets securely\r\n  <\/h2>\r\n\r\n  <p style=\"margin-bottom: 14px; color: #d1d5db;\">\r\n    Ameeba is private infrastructure for communication and sensitive work built on encrypted identity instead of exposed corporate identity systems.\r\n  <\/p>\r\n\r\n  <p style=\"margin-bottom: 18px; color: #a1a1aa;\">\r\n    Passwords, credentials, confidential files, screenshots, internal discussions, sensitive AI context, and private coordination should not become exposed across ordinary communication platforms.\r\n  <\/p>\r\n\r\n  <ul style=\"list-style: none; padding-left: 0; margin-bottom: 24px; color: #e4e4e7;\">\r\n    <li style=\"margin-bottom: 8px;\">\u2022 Encrypted identity<\/li>\r\n    <li style=\"margin-bottom: 8px;\">\u2022 Private Spaces for organizations and teams<\/li>\r\n    <li style=\"margin-bottom: 8px;\">\u2022 End-to-end encrypted chat, calls, files, and notes<\/li>\r\n    <li style=\"margin-bottom: 8px;\">\u2022 Sensitive AI work and protected collaboration<\/li>\r\n    <li>\u2022 Built for information that cannot leak<\/li>\r\n  <\/ul>\r\n\r\n  <p style=\"font-style: italic; font-weight: 600; margin-bottom: 24px; color: #ffffff;\">\r\n    Our mission is to secure human work alongside AI.\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: 8px; font-weight: 500;\">\r\n      Download Ameeba\r\n    <\/a>\r\n\r\n    <a href=\"https:\/\/www.ameeba.com\/chat\" style=\"border: 1px solid #ffffff; color: #ffffff; padding: 10px 20px; text-decoration: none; border-radius: 8px; font-weight: 500;\">\r\n      Learn More\r\n    <\/a>\r\n  <\/div>\r\n<\/div><\/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 FST LEB128 varint functionality of the <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2023-35004-critical-integer-overflow-vulnerability-in-gtkwave-3-3-115\/\"  data-wpil-monitor-id=\"41055\">GTKWave<\/a> 3.3.115. Specifically, the <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-28024-buffer-overflow-vulnerability-in-totolink-a810r-v4-1-2cu-5182-b20201026\/\"  data-wpil-monitor-id=\"39566\">vulnerability arises from multiple stack-based buffer overflow<\/a> vulnerabilities within the fstReaderVarint64 function. To exploit this vulnerability, an attacker would need to craft a malicious .fst file, which, when opened by a victim, could allow the attacker to <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-45428-remote-arbitrary-code-execution-vulnerability-in-tenda-ac9-v1-0-firmware\/\"  data-wpil-monitor-id=\"40044\">execute arbitrary code<\/a>. This could <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-32857-sql-injection-vulnerability-in-telecontrol-server-basic-leading-to-potential-system-compromise\/\"  data-wpil-monitor-id=\"39754\">potentially compromise the victim&#8217;s system and lead<\/a> to data leakage.<\/p>\n<p><strong>Conceptual Example Code<\/strong><\/p><div id=\"ameeb-1249993481\" 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>Given the nature of this vulnerability, a potential exploit could look something like this:<\/p>\n<pre><code class=\"\" data-line=\"\">#include &lt;stdio.h&gt;\n#include &lt;string.h&gt;\nvoid vulnerable_function(char *str) {\nchar buffer[10];\nstrcpy(buffer, str);\n}\nint main(int argc, char **argv) {\nvulnerable_function(argv[1]);\nreturn 0;\n}<\/code><\/pre>\n<p>In this hypothetical scenario, a <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-3619-critical-heap-buffer-overflow-vulnerability-in-google-chrome-codecs\/\"  data-wpil-monitor-id=\"40065\">buffer overflow<\/a> occurs when the `vulnerable_function` copies the input string to the `buffer` without checking its size. If the input string is larger than the `buffer`, it would overwrite the adjacent memory, causing a buffer overflow and <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-43971-critical-vulnerability-in-gobgp-paving-the-way-for-system-compromise\/\"  data-wpil-monitor-id=\"40121\">paving the way<\/a> for arbitrary code execution.<\/p>\n<p><strong>Mitigation Guidance<\/strong><\/p>\n<p>Users are advised to apply the vendor patch as soon as <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-54742-data-deserialization-vulnerability-in-wpevently-leading-to-possible-system-compromise\/\"  data-wpil-monitor-id=\"86442\">possible to mitigate the vulnerability<\/a>. In the interim, <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-5485-a-critical-vulnerability-pertaining-to-user-name-enumeration-in-web-management-interfaces\/\"  data-wpil-monitor-id=\"86443\">users can use a Web<\/a> Application Firewall (WAF) or an Intrusion Detection System (IDS) as a temporary mitigation. Regularly updating and monitoring <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-22636-cross-site-scripting-vulnerability-in-vr-frases-leads-to-potential-system-compromise\/\"  data-wpil-monitor-id=\"40179\">systems for any unusual activities can also prevent potential<\/a> exploitation.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview In the ever-evolving landscape of cyber threats, a new vulnerability has been discovered in GTKWave 3.3.115, a software used for viewing waveform data. Designated as CVE-2023-35703, this vulnerability, if exploited, can lead to arbitrary code execution, potentially compromising systems and leading to data leakage. This vulnerability specifically affects the FST LEB128 varint functionality of [&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":[86,80],"asset_type":[],"severity":[],"exploit_status":[],"class_list":["post-34698","post","type-post","status-publish","format-standard","hentry","category-uncategorized","attack_vector-buffer-overflow","attack_vector-rce"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/34698","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=34698"}],"version-history":[{"count":11,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/34698\/revisions"}],"predecessor-version":[{"id":79240,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/34698\/revisions\/79240"}],"wp:attachment":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/media?parent=34698"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/categories?post=34698"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/tags?post=34698"},{"taxonomy":"vendor","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/vendor?post=34698"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/product?post=34698"},{"taxonomy":"attack_vector","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/attack_vector?post=34698"},{"taxonomy":"asset_type","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/asset_type?post=34698"},{"taxonomy":"severity","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/severity?post=34698"},{"taxonomy":"exploit_status","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/exploit_status?post=34698"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}