{"id":36870,"date":"2025-05-10T12:03:11","date_gmt":"2025-05-10T12:03:11","guid":{"rendered":""},"modified":"2025-05-31T05:06:50","modified_gmt":"2025-05-31T11:06:50","slug":"cve-2023-37574-use-after-free-vulnerabilities-in-gtkwave-3-3-115","status":"publish","type":"post","link":"https:\/\/www.ameeba.com\/blog\/cve-2023-37574-use-after-free-vulnerabilities-in-gtkwave-3-3-115\/","title":{"rendered":"<strong>CVE-2023-37574: Use-After-Free Vulnerabilities in GTKWave 3.3.115<\/strong>"},"content":{"rendered":"<p><strong>Overview<\/strong><\/p>\n<p>The CVE-2023-37574 is a critical vulnerability that affects GTKWave 3.3.115, a fully featured GTK+ based wave viewer. The vulnerability pertains to a use-after-free flaw in the VCD get_vartoken realloc functionality of the software. If exploited successfully, it can lead to arbitrary <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-32444-remote-code-execution-vulnerability-in-vllm-integration-with-mooncake\/\"  data-wpil-monitor-id=\"41880\">code execution<\/a>, potentially compromising the system and leading to data leakage. This vulnerability is especially concerning as it can be triggered simply by opening a malicious .vcd file, making it a <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-39406-high-risk-php-remote-file-inclusion-vulnerability-in-wpams\/\"  data-wpil-monitor-id=\"52589\">high-risk issue for users who frequently handle .vcd files<\/a>.<\/p>\n<p><strong>Vulnerability Summary<\/strong><\/p>\n<p>CVE ID: CVE-2023-37574<br \/>\nSeverity: High (7.8)<br \/>\nAttack Vector: Local<br \/>\nPrivileges Required: Low<br \/>\nUser Interaction: Required<br \/>\nImpact: <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2023-49129-stack-overflow-vulnerability-in-solid-edge-se2023-allows-potential-system-compromise\/\"  data-wpil-monitor-id=\"43544\">Potential system<\/a> compromise and data leakage<\/p>\n<p><strong>Affected Products<\/strong><\/p><div id=\"ameeb-256751497\" 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 exploit takes advantage of a use-after-free <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2023-35959-command-injection-vulnerability-in-gtkwave-3-3-115\/\"  data-wpil-monitor-id=\"41589\">vulnerability present in the VCD get_vartoken realloc functionality of GTKWave<\/a> 3.3.115. By <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-24189-memory-corruption-vulnerability-due-to-maliciously-crafted-web-content-in-various-operating-systems\/\"  data-wpil-monitor-id=\"52590\">crafting a malicious<\/a> .vcd file, an attacker can trigger this vulnerability. When the file is opened, the <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-0984-critical-file-upload-and-xss-vulnerability-in-netoloji-software-e-flow\/\"  data-wpil-monitor-id=\"43973\">software attempts to read the file<\/a>. During the file parsing process, <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-4083-process-isolation-vulnerability-in-thunderbird-and-firefox-due-to-improper-handling-of-javascript-uris\/\"  data-wpil-monitor-id=\"41660\">due to the aforementioned vulnerability<\/a>, previously freed memory spaces are reaccessed, leading to a state of memory corruption. This state can then be exploited by the attacker to execute <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2023-35995-gtkwave-array-index-validation-vulnerability-leading-to-arbitrary-code-execution\/\"  data-wpil-monitor-id=\"42021\">arbitrary code<\/a>, compromising the system.<\/p>\n<p><strong>Conceptual Example Code<\/strong><\/p><div id=\"ameeb-3262149824\" 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>Here is a conceptual example of how a malicious .vcd file might look. This is not a real exploit, but a simplified representation to illustrate the concept.<\/p>\n<pre><code class=\"\" data-line=\"\">$timescale 1 ns $end\n$var wire 1 ! clk $end\n$var wire 64 # data $end\n$var wire 1 $ en $end\n$var wire 1 % rd_wr $end\n$var wire 1 &amp; irq $end\n$upscope $end\n$enddefinitions $end\n#0\n$dumpvars\n0!\nbxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx #\n0$\n0%\n0&amp;\n$end<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Overview The CVE-2023-37574 is a critical vulnerability that affects GTKWave 3.3.115, a fully featured GTK+ based wave viewer. The vulnerability pertains to a use-after-free flaw in the VCD get_vartoken realloc functionality of the software. If exploited successfully, it can lead to arbitrary code execution, potentially compromising the system and leading to data leakage. This vulnerability [&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-36870","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\/36870","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=36870"}],"version-history":[{"count":7,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/36870\/revisions"}],"predecessor-version":[{"id":47051,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/36870\/revisions\/47051"}],"wp:attachment":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/media?parent=36870"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/categories?post=36870"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/tags?post=36870"},{"taxonomy":"vendor","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/vendor?post=36870"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/product?post=36870"},{"taxonomy":"attack_vector","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/attack_vector?post=36870"},{"taxonomy":"asset_type","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/asset_type?post=36870"},{"taxonomy":"severity","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/severity?post=36870"},{"taxonomy":"exploit_status","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/exploit_status?post=36870"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}