CVE-2024-34393
published high CVSS 3.1 · 8.1libxmljs2 attrs type confusion RCE
Package status and fixes
Description
libxmljs2 is vulnerable to a type confusion vulnerability when parsing a specially crafted XML while invoking a function on the result of attrs() that was called on a parsed node. This vulnerability might lead to denial of service (on both 32-bit systems and 64-bit systems), data leak, infinite loop and remote code execution (on 32-bit systems with the XML_PARSE_HUGE flag enabled).
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- JFROG · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| libxmljs2 | 0 through 0.37.0 (affected · semver)Default: unaffected | JFROG · cna | |
| libxmljs_project | libxmljs | 0 through 0.33.0 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-843 CWE-843 Access of Resource Using Incompatible Type ('Type Confusion')
References
2Provider assertions
3JFROG · cna
libxmljs2 attrs type confusion RCE
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ad914fb6605e1d9590314ac30ab540ecb1ed65041ea79e74543801c04a6c97a6
- Ingested
- 03 Oct 2026, 11:04:59 UTC
- Source record
- Official CVE record