CVE-2024-34393: CWE-843 Access of Resource Using Incompatible Type ('Type Confusion')
libxmljs2 contains a type confusion vulnerability when parsing specially crafted XML and invoking a function on the result of attrs() from a parsed node. This flaw can lead to denial of service on both 32-bit and 64-bit systems, data leaks, infinite loops, and remote code execution on 32-bit systems with the XML_PARSE_HUGE flag enabled.
AI Analysis
Technical Summary
CVE-2024-34393 is a type confusion vulnerability (CWE-843) in libxmljs2 that occurs during XML parsing when a function is called on the result of attrs() from a parsed node. This vulnerability can cause denial of service on 32-bit and 64-bit architectures, data leakage, infinite loops, and potentially remote code execution on 32-bit systems if the XML_PARSE_HUGE flag is enabled.
Potential Impact
The vulnerability allows attackers to cause denial of service conditions, leak sensitive data, trigger infinite loops, and execute arbitrary code remotely on 32-bit systems with XML_PARSE_HUGE enabled. The CVSS 3.1 score is 8.1 (high), indicating a significant security risk with network attack vector, high complexity, no privileges or user interaction required, and impacts on confidentiality, integrity, and availability.
Mitigation Recommendations
No official patch or remediation details are provided in the input data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid processing untrusted XML inputs or disable the XML_PARSE_HUGE flag on 32-bit systems if possible.
CVE-2024-34393: CWE-843 Access of Resource Using Incompatible Type ('Type Confusion')
Description
libxmljs2 contains a type confusion vulnerability when parsing specially crafted XML and invoking a function on the result of attrs() from a parsed node. This flaw can lead to denial of service on both 32-bit and 64-bit systems, data leaks, infinite loops, and remote code execution on 32-bit systems with the XML_PARSE_HUGE flag enabled.
CVSS v3.1
Score 8.1high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-34393 is a type confusion vulnerability (CWE-843) in libxmljs2 that occurs during XML parsing when a function is called on the result of attrs() from a parsed node. This vulnerability can cause denial of service on 32-bit and 64-bit architectures, data leakage, infinite loops, and potentially remote code execution on 32-bit systems if the XML_PARSE_HUGE flag is enabled.
Potential Impact
The vulnerability allows attackers to cause denial of service conditions, leak sensitive data, trigger infinite loops, and execute arbitrary code remotely on 32-bit systems with XML_PARSE_HUGE enabled. The CVSS 3.1 score is 8.1 (high), indicating a significant security risk with network attack vector, high complexity, no privileges or user interaction required, and impacts on confidentiality, integrity, and availability.
Mitigation Recommendations
No official patch or remediation details are provided in the input data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid processing untrusted XML inputs or disable the XML_PARSE_HUGE flag on 32-bit systems if possible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- JFROG
- Date Reserved
- 2024-05-02T11:56:38.360Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6ac11721a43b0b3b89cacf57
Added to database: 10/03/2026, 14:54:25 UTC
Last enriched: 10/03/2026, 14:55:28 UTC
Last updated: 10/03/2026, 14:55:36 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.