p PatchFirst

PatchFirst · Latest vulnerabilities

libxml2 vulnerabilities · Page 2

Vulnerabilities published for libxml2 in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 125

  1. CVE-2025-6170

    Low · CVSS 2.5EPSS 0.32%Fix available

    Libxml2: stack buffer overflow in xmllint interactive shell command handling

    A flaw was found in the interactive shell of the xmllint command-line tool, used for parsing XML files. When a user inputs an overly long command, the program does not check the input size properly, which can cause it to crash. This issue might allow attackers to run harmful code in rare configurations without modern protections.

    • Update to 2.12.7+dfsg+really2.9.14-2.1
    Published Updated
  2. CVE-2025-49796

    Critical · CVSS 9.1EPSS 1.56%Fix available

    Libxml: type confusion leads to denial of service (dos)

    A vulnerability was found in libxml2. Processing certain sch:name elements from the input XML file can trigger a memory corruption issue. This flaw allows an attacker to craft a malicious XML input file that can lead libxml to crash, resulting in a denial of service or other possible undefined behavior due to sensitive data being corrupted in memory.

    • Update to 2.12.7+dfsg+really2.9.14-2
    Published Updated
  3. CVE-2025-6021

    High · CVSS 7.5EPSS 1.37%Fix available

    Libxml2: integer overflow in xmlbuildqname() leads to stack buffer overflow in libxml2

    A flaw was found in libxml2's xmlBuildQName function, where integer overflows in buffer size calculations can lead to a stack-based buffer overflow. This issue can result in memory corruption or a denial of service when processing crafted input.

    • Update to 2.12.7+dfsg+really2.9.14-2
    Published Updated
  4. CVE-2025-32415

    Low · CVSS 2.9EPSS 0.59%Fix available

    CVE-2025-32415

    In libxml2 before 2.13.8 and 2.14.x before 2.14.2, xmlSchemaIDCFillNodeTables in xmlschemas.c has a heap-based buffer under-read. To exploit this, a crafted XML document must be validated against an XML schema with certain identity constraints, or a crafted XML schema must be used.

    • Update to 2.12.7+dfsg+really2.9.14-1
    Published Updated
  5. CVE-2025-32414

    Medium · CVSS 5.6EPSS 0.38%Fix available

    CVE-2025-32414

    In libxml2 before 2.13.8 and 2.14.x before 2.14.2, out-of-bounds memory access can occur in the Python API (Python bindings) because of an incorrect return value. This occurs in xmlPythonFileRead and xmlPythonFileReadRaw because of a difference between bytes and characters.

    • Update to 2.12.7+dfsg+really2.9.14-1
    Published Updated
  6. CVE-2024-56171

    High · CVSS 7.8EPSS 1.18%Public exploitFix available

    CVE-2024-56171

    libxml2 before 2.12.10 and 2.13.x before 2.13.6 has a use-after-free in xmlSchemaIDCFillNodeTables and xmlSchemaBubbleIDCNodeTables in xmlschemas.c. To exploit this, a crafted XML document must be validated against an XML schema with certain identity constraints, or a crafted XML schema must be used.

    • Update to 2.12.7+dfsg+really2.9.14-0.4
    Published Updated
  7. CVE-2023-45322

    Medium · CVSS 6.5EPSS 0.97%Fix available

    CVE-2023-45322

    libxml2 through 2.11.5 has a use-after-free that can only occur after a certain memory allocation fails. This occurs in xmlUnlinkNode in tree.c. NOTE: the vendor's position is "I don't think these issues are critical enough to warrant a CVE ID ... because an attacker typically can't control when memory allocations fail."

    • Update to 2.12.7+dfsg+really2.9.14-1
    Published Updated
  8. CVE-2023-39615

    Medium · CVSS 6.5EPSS 1.08%Fix available

    CVE-2023-39615

    Xmlsoft Libxml2 v2.11.0 was discovered to contain an out-of-bounds read via the xmlSAX2StartElement() function at /libxml2/SAX2.c. This vulnerability allows attackers to cause a Denial of Service (DoS) via supplying a crafted XML file. NOTE: the vendor's position is that the product does not support the legacy SAX1 interface with custom callbacks; there is a crash even without crafted input.

    • Update to 2.12.7+dfsg+really2.9.14-1
    Published Updated
  9. CVE-2023-29469

    Medium · CVSS 6.5EPSS 1.31%Fix available

    CVE-2023-29469

    An issue was discovered in libxml2 before 2.10.4. When hashing empty dict strings in a crafted XML document, xmlDictComputeFastKey in dict.c can produce non-deterministic values, leading to various logic and memory errors, such as a double free. This behavior occurs because there is an attempt to use the first byte of an empty string, and any value is possible (not solely the '\0' value).

    • Update to 2.9.14+dfsg-1.2
    Published Updated
  10. CVE-2022-40303

    High · CVSS 7.5EPSS 41.37%Fix available

    CVE-2022-40303

    An issue was discovered in libxml2 before 2.10.3. When parsing a multi-gigabyte XML document with the XML_PARSE_HUGE parser option enabled, several integer counters can overflow. This results in an attempt to access an array at a negative 2GB offset, typically leading to a segmentation fault.

    • Update to 2.9.14+dfsg-1.1
    Published Updated
  11. CVE-2022-2309

    Medium · CVSS 5.3EPSS 2.45%Fix available

    NULL Pointer Dereference in lxml/lxml

    NULL Pointer Dereference allows attackers to cause a denial of service (or application crash). This only applies when lxml is used together with libxml2 2.9.10 through 2.9.14. libxml2 2.9.9 and earlier are not affected. It allows triggering crashes through forged input data, given a vulnerable code sequence in the application. The vulnerability is caused by the iterwalk function (also used by the canonicalize function). Such code shouldn't be in wide-spread use, given that parsing + iterwalk would usually be replaced with the more efficient iterparse function. However, an XML converter that serialises to C14N would also be vulnerable, for exa

    • Update to 2.9.14+dfsg-1.3
    Published Updated
  12. CVE-2022-29824

    Medium · CVSS 6.5EPSS 3.75%Fix available

    CVE-2022-29824

    In libxml2 before 2.9.14, several buffer handling functions in buf.c (xmlBuf*) and tree.c (xmlBuffer*) don't check for integer overflows. This can result in out-of-bounds memory writes. Exploitation requires a victim to open a crafted, multi-gigabyte XML file. Other software using libxml2's buffer functions, for example libxslt through 1.1.35, is affected as well.

    • Update to 2.9.14+dfsg-1
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →