{"id":49489,"date":"2025-06-07T20:49:47","date_gmt":"2025-06-07T20:49:47","guid":{"rendered":""},"modified":"2025-06-08T23:56:08","modified_gmt":"2025-06-09T05:56:08","slug":"cve-2024-54028-critical-integer-underflow-vulnerability-in-catdoc-0-95","status":"publish","type":"post","link":"https:\/\/www.ameeba.com\/blog\/cve-2024-54028-critical-integer-underflow-vulnerability-in-catdoc-0-95\/","title":{"rendered":"<strong>CVE-2024-54028: Critical Integer Underflow Vulnerability in Catdoc 0.95<\/strong>"},"content":{"rendered":"<p><strong>Overview<\/strong><\/p>\n<p>A high severity vulnerability, CVE-2024-54028, has been identified in the OLE Document DIFAT Parser functionality of catdoc 0.95. This integer underflow vulnerability poses a significant threat as it can lead to heap-based memory corruption. The impact of this vulnerability can potentially result in <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-41651-critical-system-compromise-due-to-missing-authentication\/\"  data-wpil-monitor-id=\"55912\">system compromise<\/a> or data leakage, hence it is crucial for organizations employing catdoc 0.95 to understand the risk and swiftly apply the necessary mitigation actions.<\/p>\n<p><strong>Vulnerability Summary<\/strong><\/p>\n<p>CVE ID: CVE-2024-54028<br \/>\nSeverity: High (8.4 CVSS Score)<br \/>\nAttack Vector: Malicious file<br \/>\nPrivileges Required: None<br \/>\nUser Interaction: Required<br \/>\nImpact: System compromise and\/or <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-48383-django-select2-vulnerability-risking-data-leakage-and-unauthorized-access\/\"  data-wpil-monitor-id=\"56113\">data leakage<\/a><\/p>\n<p><strong>Affected Products<\/strong><\/p><div id=\"ameeb-783234819\" 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 exploit works by taking advantage of an integer <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2024-52035-catdoc-ole-document-file-allocation-table-parser-integer-overflow-vulnerability\/\"  data-wpil-monitor-id=\"57542\">underflow in the OLE Document DIFAT Parser functionality of catdoc<\/a> 0.95. An attacker crafts a malformed <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-27010-path-traversal-vulnerability-in-bslthemes-tastyc-leading-to-php-local-file-inclusion\/\"  data-wpil-monitor-id=\"55824\">file designed to trigger this vulnerability<\/a>. Once the malicious <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-31060-remote-file-inclusion-vulnerability-in-apustheme-capie\/\"  data-wpil-monitor-id=\"55862\">file is processed by the vulnerable<\/a> system, it results in heap-based memory corruption. This corruption can then be leveraged by 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=\"55753\">execute arbitrary code<\/a> or cause a denial of service, leading to potential system compromise and data leakage.<\/p>\n<p><strong>Conceptual Example Code<\/strong><\/p><div id=\"ameeb-3615531058\" 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 the specifics of the exploit would depend on the system and the attacker&#8217;s objectives, a conceptual example might involve a shell command delivering a malicious <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-31064-critical-php-remote-file-inclusion-vulnerability-in-vizeon-business-consulting-software\/\"  data-wpil-monitor-id=\"55863\">file to the vulnerable<\/a> system. It might look something like this:<\/p>\n<pre><code class=\"\" data-line=\"\">curl -X POST -H &#039;Content-Type: application\/octet-stream&#039; --data-binary &#039;@malicious_file.doc&#039; https:\/\/target_system\/catdoc\/parse<\/code><\/pre>\n<p>In this example, &#8216;malicious_file.doc&#8217; is a specially crafted <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-39458-critical-php-remote-file-inclusion-vulnerability-in-mikado-themes-foton\/\"  data-wpil-monitor-id=\"55893\">file designed to trigger the integer underflow vulnerability<\/a> in catdoc 0.95&#8217;s OLE Document DIFAT Parser functionality. The curl command sends this <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-39506-php-remote-file-inclusion-vulnerability-in-nasatheme-nasa-core\/\"  data-wpil-monitor-id=\"56039\">file to the vulnerable<\/a> system&#8217;s catdoc parse endpoint, potentially leading to heap-based memory corruption and further system compromise or data leakage.<\/p>\n<p><strong>Mitigation Guidance<\/strong><\/p>\n<p>Users who have catdoc 0.95 installed are advised to apply the vendor patch as soon as it is available. In the meantime, employing a Web Application Firewall (WAF) or Intrusion Detection System (IDS) can serve as a temporary mitigation measure, helping to detect and prevent attempts to <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-45997-exploiting-file-upload-vulnerability-in-web-based-pharmacy-product-management-system\/\"  data-wpil-monitor-id=\"57543\">exploit this vulnerability<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview A high severity vulnerability, CVE-2024-54028, has been identified in the OLE Document DIFAT Parser functionality of catdoc 0.95. This integer underflow vulnerability poses a significant threat as it can lead to heap-based memory corruption. The impact of this vulnerability can potentially result in system compromise or data leakage, hence it is crucial for organizations [&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":[87],"asset_type":[],"severity":[],"exploit_status":[],"class_list":["post-49489","post","type-post","status-publish","format-standard","hentry","category-uncategorized","attack_vector-dos"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/49489","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=49489"}],"version-history":[{"count":9,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/49489\/revisions"}],"predecessor-version":[{"id":51397,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/49489\/revisions\/51397"}],"wp:attachment":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/media?parent=49489"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/categories?post=49489"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/tags?post=49489"},{"taxonomy":"vendor","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/vendor?post=49489"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/product?post=49489"},{"taxonomy":"attack_vector","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/attack_vector?post=49489"},{"taxonomy":"asset_type","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/asset_type?post=49489"},{"taxonomy":"severity","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/severity?post=49489"},{"taxonomy":"exploit_status","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/exploit_status?post=49489"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}