SecurityContext

CVE-2024-34391: libxmljs - Type Confusion

  • Cve: CVE-2024-34391
  • Name: libxmljs - Type Confusion
  • Description: libxmljs 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).
  • Impact: Attackers can cause denial of service, data leaks, infinite loops, or remote code execution, compromising system stability and security.
  • Remediation: Update to the latest version of libxmljs that addresses this vulnerability or apply patches that fix the type confusion issue.
  • Vulnerability impact: denial_of_service, information_disclosure, remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.01112
  • Epss percentile: 0.66655
  • Assignee: [email protected]
  • Published at: 2024-05-02T19:15:06Z
  • Age in days: 936
  • Modified at: 2026-06-17T07:33:18Z
  • Patch available: yes
  • Public exploits total: 2
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-34391
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: vulnerability type, requirements, hackerone

Cwe

IdName
CWE-843Access of Resource Using Incompatible Type

Public exploits

UrlSourceAdded date
https://github.com/libxmljs/libxmljs/issues/645nvd2024-05-02
https://research.jfrog.com/vulnerabilities/libxmljs-attrs-type-confusion-rce-jfsa-2024-001033988/nvd2024-05-02

References

UrlSourceTags
https://github.com/libxmljs/libxmljs/issues/645nvdExploit, Issue Tracking
https://research.jfrog.com/vulnerabilities/libxmljs-attrs-type-confusion-rce-jfsa-2024-001033988/nvdExploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
libxmljs_project:libxmljs< 1.0.11nonvd/v1/products/libxmljs_project/libxmljs

Projects

RepositoryLink kindsIndexedUrl
libxmljs/libxmljsissues, packageyes/v1/repositories/libxmljs/libxmljs

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2024-05-02
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts