CVE-2024-34394: CWE-843 Access of Resource Using Incompatible Type ('Type Confusion')
libxmljs2 contains a type confusion vulnerability (CWE-843) triggered when parsing specially crafted XML involving the namespaces() function on a grand-child node referencing an entity. This flaw can result in denial of service or remote code execution.
AI Analysis
Technical Summary
CVE-2024-34394 describes a type confusion vulnerability in libxmljs2 versions up to 0.37.0. The issue occurs during XML parsing when the namespaces() function invokes XmlNode::get_local_namespaces() on a grand-child node that refers to an entity. This improper handling leads to type confusion, which can be exploited to cause denial of service or potentially remote code execution.
Potential Impact
Successful exploitation of this vulnerability can allow an attacker to cause denial of service or execute arbitrary code remotely, impacting confidentiality, integrity, and availability of affected systems.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
CVE-2024-34394: CWE-843 Access of Resource Using Incompatible Type ('Type Confusion')
Description
libxmljs2 contains a type confusion vulnerability (CWE-843) triggered when parsing specially crafted XML involving the namespaces() function on a grand-child node referencing an entity. This flaw can result in denial of service or remote code execution.
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-34394 describes a type confusion vulnerability in libxmljs2 versions up to 0.37.0. The issue occurs during XML parsing when the namespaces() function invokes XmlNode::get_local_namespaces() on a grand-child node that refers to an entity. This improper handling leads to type confusion, which can be exploited to cause denial of service or potentially remote code execution.
Potential Impact
Successful exploitation of this vulnerability can allow an attacker to cause denial of service or execute arbitrary code remotely, impacting confidentiality, integrity, and availability of affected systems.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- JFROG
- Date Reserved
- 2024-05-02T11:56:38.361Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6ac0cb77a43b0b3b89b56f14
Added to database: 10/03/2026, 09:31:35 UTC
Last enriched: 10/03/2026, 09:46:03 UTC
Last updated: 10/03/2026, 13:14:59 UTC
Views: 8
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.