{"id":49488,"date":"2025-06-07T19:49:28","date_gmt":"2025-06-07T19:49:28","guid":{"rendered":""},"modified":"2025-06-24T11:19:57","modified_gmt":"2025-06-24T17:19:57","slug":"cve-2024-52035-catdoc-ole-document-file-allocation-table-parser-integer-overflow-vulnerability","status":"publish","type":"post","link":"https:\/\/www.ameeba.com\/blog\/cve-2024-52035-catdoc-ole-document-file-allocation-table-parser-integer-overflow-vulnerability\/","title":{"rendered":"<strong>CVE-2024-52035: Catdoc OLE Document File Allocation Table Parser Integer Overflow Vulnerability<\/strong>"},"content":{"rendered":"<p><strong>Overview<\/strong><\/p>\n<p>The CVE-2024-52035 vulnerability represents a critical flaw found in catdoc version 0.95, an open-source program used to convert Microsoft Office and other document formats to plain text. This flaw is an integer overflow vulnerability that can lead to heap-based memory corruption, thus posing significant risks to the confidentiality, integrity, and availability of affected systems. Given the widespread use of catdoc in various applications and systems &#8211; from content <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-4336-arbitrary-file-upload-vulnerability-in-emagicone-store-manager-for-woocommerce-plugin\/\"  data-wpil-monitor-id=\"56688\">management systems to email services and more &#8211; this vulnerability<\/a>, if exploited, can have serious implications.<\/p>\n<p><strong>Vulnerability Summary<\/strong><\/p>\n<p>CVE ID: CVE-2024-52035<br \/>\nSeverity: Critical (8.4 CVSS Score)<br \/>\nAttack Vector: Local<br \/>\nPrivileges Required: Low<br \/>\nUser Interaction: Required<br \/>\nImpact: <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-32309-potential-system-compromise-due-to-remote-file-inclusion-in-php-program\/\"  data-wpil-monitor-id=\"56240\">Potential system compromise<\/a> or data leakage<\/p>\n<p><strong>Affected Products<\/strong><\/p><div id=\"ameeb-2280028468\" 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>Catdoc | 0.95<\/p>\n<p><strong>How the Exploit Works<\/strong><\/p>\n<p>The CVE-2024-52035 vulnerability stems from an <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2023-39316-integer-overflow-in-gtkwave-s-lxt2-num-dict-entries-functionality\/\"  data-wpil-monitor-id=\"55419\">integer overflow<\/a> in the OLE Document File Allocation Table Parser functionality of catdoc. When an attacker provides a specially crafted malformed file, it can trigger this vulnerability, <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-31263-critical-memory-handling-vulnerability-could-lead-to-system-compromise-or-data-leakage-in-macos-sequoia-15-4\/\"  data-wpil-monitor-id=\"57467\">leading to heap-based memory<\/a> corruption. Given the right conditions, this can allow the attacker to <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-48828-arbitrary-php-code-execution-in-vbulletin-via-template-conditionals\/\"  data-wpil-monitor-id=\"55724\">execute arbitrary code<\/a>, potentially leading to system compromise or data leakage.<\/p>\n<p><strong>Conceptual Example Code<\/strong><\/p><div id=\"ameeb-2770557424\" 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>Below is a conceptual example of how the vulnerability might be exploited using a shell command to input a malicious <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2024-57783-xss-vulnerability-in-dot-desktop-application-allows-command-execution\/\"  data-wpil-monitor-id=\"57466\">file into the catdoc<\/a> application:<\/p>\n<pre><code class=\"\" data-line=\"\">$ catdoc malicious_file.doc<\/code><\/pre>\n<p>In this hypothetical example, the &#8216;malicious_file.doc&#8217; would be a specially crafted document that triggers the integer <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-5228-critical-buffer-overflow-vulnerability-in-d-link-di-8100\/\"  data-wpil-monitor-id=\"55695\">overflow vulnerability<\/a> when processed by catdoc, leading to potential heap-based memory corruption.<br \/>\nPlease note that this is a conceptual example intended for educational purposes only, and not actual exploit code.<\/p>\n<p><strong>Recommended Mitigation Steps<\/strong><\/p>\n<p>To mitigate this vulnerability, it is advisable to apply the vendor&#8217;s patch as soon as it becomes available. In the meantime, using Web Application Firewalls (WAF) or Intrusion Detection Systems (IDS) can provide temporary mitigation. It&#8217;s also recommended to monitor network traffic for any unusual activity, especially involving the transfer of <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-47166-critical-deserialization-vulnerability-in-microsoft-office-sharepoint\/\"  data-wpil-monitor-id=\"61095\">Microsoft Office<\/a> files, and to limit the privileges of applications that use catdoc.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview The CVE-2024-52035 vulnerability represents a critical flaw found in catdoc version 0.95, an open-source program used to convert Microsoft Office and other document formats to plain text. This flaw is an integer overflow vulnerability that can lead to heap-based memory corruption, thus posing significant risks to the confidentiality, integrity, and availability of affected systems. [&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":[82],"product":[],"attack_vector":[],"asset_type":[],"severity":[],"exploit_status":[],"class_list":["post-49488","post","type-post","status-publish","format-standard","hentry","category-uncategorized","vendor-microsoft"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/49488","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=49488"}],"version-history":[{"count":7,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/49488\/revisions"}],"predecessor-version":[{"id":54774,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/49488\/revisions\/54774"}],"wp:attachment":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/media?parent=49488"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/categories?post=49488"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/tags?post=49488"},{"taxonomy":"vendor","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/vendor?post=49488"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/product?post=49488"},{"taxonomy":"attack_vector","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/attack_vector?post=49488"},{"taxonomy":"asset_type","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/asset_type?post=49488"},{"taxonomy":"severity","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/severity?post=49488"},{"taxonomy":"exploit_status","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/exploit_status?post=49488"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}