Debian Libxml2 vulnerabilities

121 known vulnerabilities affecting debian/libxml2.

Total CVEs
121
CISA KEV
0
Public exploits
8
Exploited in wild
0
Severity breakdown
CRITICAL14HIGH38MEDIUM44LOW25

Vulnerabilities

Page 2 of 7
CVE-2023-39615MEDIUMCVSS 6.5fixed in libxml2 2.9.14+dfsg-1.3~deb12u2 (bookworm)2023
CVE-2023-39615 [MEDIUM] CVE-2023-39615: libxml2 - Xmlsoft Libxml2 v2.11.0 was discovered to contain an out-of-bounds read via the ... 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
debian
CVE-2023-45322MEDIUMCVSS 6.5fixed in libxml2 2.9.14+dfsg-1.3~deb12u2 (bookworm)2023
CVE-2023-45322 [MEDIUM] CVE-2023-45322: libxml2 - libxml2 through 2.11.5 has a use-after-free that can only occur after a certain ... 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." Scope: local bookworm: resolved (fixed in 2
debian
CVE-2023-28484MEDIUMCVSS 6.5fixed in libxml2 2.9.14+dfsg-1.2 (bookworm)2023
CVE-2023-28484 [MEDIUM] CVE-2023-28484: libxml2 - In libxml2 before 2.10.4, parsing of certain invalid XSD schemas can lead to a N... In libxml2 before 2.10.4, parsing of certain invalid XSD schemas can lead to a NULL pointer dereference and subsequently a segfault. This occurs in xmlSchemaFixupComplexType in xmlschemas.c. Scope: local bookworm: resolved (fixed in 2.9.14+dfsg-1.2) bullseye: resolved (fixed in 2.9.10+dfsg-6.7+deb11u4) forky: resolved (fixed in 2.9.14+dfsg-1.2) sid: resolved (fixe
debian
CVE-2023-29469MEDIUMCVSS 6.5fixed in libxml2 2.9.14+dfsg-1.2 (bookworm)2023
CVE-2023-29469 [MEDIUM] CVE-2023-29469: libxml2 - An issue was discovered in libxml2 before 2.10.4. When hashing empty dict string... 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 (no
debian
CVE-2022-40303HIGHCVSS 7.5fixed in libxml2 2.9.14+dfsg-1.1 (bookworm)2022
CVE-2022-40303 [HIGH] CVE-2022-40303: libxml2 - An issue was discovered in libxml2 before 2.10.3. When parsing a multi-gigabyte ... 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. Scope: local bookworm: resolved (fixed in 2.9.14+dfsg-1.1) bullseye: resol
debian
CVE-2022-40304HIGHCVSS 7.8fixed in libxml2 2.9.14+dfsg-1.1 (bookworm)2022
CVE-2022-40304 [HIGH] CVE-2022-40304: libxml2 - An issue was discovered in libxml2 before 2.10.3. Certain invalid XML entity def... An issue was discovered in libxml2 before 2.10.3. Certain invalid XML entity definitions can corrupt a hash table key, potentially leading to subsequent logic errors. In one case, a double-free can be provoked. Scope: local bookworm: resolved (fixed in 2.9.14+dfsg-1.1) bullseye: resolved (fixed in 2.9.10+dfsg-6.7+deb11u3) forky: resolved (fixed in 2.9.14+dfsg-1.1) s
debian
CVE-2022-23308HIGHCVSS 7.5fixed in libxml2 2.9.13+dfsg-1 (bookworm)2022
CVE-2022-23308 [HIGH] CVE-2022-23308: libxml2 - valid.c in libxml2 before 2.9.13 has a use-after-free of ID and IDREF attributes... valid.c in libxml2 before 2.9.13 has a use-after-free of ID and IDREF attributes. Scope: local bookworm: resolved (fixed in 2.9.13+dfsg-1) bullseye: resolved (fixed in 2.9.10+dfsg-6.7+deb11u1) forky: resolved (fixed in 2.9.13+dfsg-1) sid: resolved (fixed in 2.9.13+dfsg-1) trixie: resolved (fixed in 2.9.13+dfsg-1)
debian
CVE-2022-2309HIGHCVSS 7.5fixed in libxml2 2.9.14+dfsg-1.3~deb12u1 (bookworm)2022
CVE-2022-2309 [HIGH] CVE-2022-2309: libxml2 - NULL Pointer Dereference allows attackers to cause a denial of service (or appli... 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 iterwa
debian
CVE-2022-49043HIGHCVSS 8.1fixed in libxml2 2.9.14+dfsg-1.3~deb12u2 (bookworm)2022
CVE-2022-49043 [HIGH] CVE-2022-49043: libxml2 - xmlXIncludeAddNode in xinclude.c in libxml2 before 2.11.0 has a use-after-free. xmlXIncludeAddNode in xinclude.c in libxml2 before 2.11.0 has a use-after-free. Scope: local bookworm: resolved (fixed in 2.9.14+dfsg-1.3~deb12u2) bullseye: resolved (fixed in 2.9.10+dfsg-6.7+deb11u6) forky: resolved (fixed in 2.12.7+dfsg+really2.9.14-0.4) sid: resolved (fixed in 2.12.7+dfsg+really2.9.14-0.4) trixie: resolved (fixed in 2.12.7+dfsg+really2.9.14-0.4)
debian
CVE-2022-29824MEDIUMCVSS 6.5fixed in libxml2 2.9.14+dfsg-1 (bookworm)2022
CVE-2022-29824 [MEDIUM] CVE-2022-29824: libxml2 - In libxml2 before 2.9.14, several buffer handling functions in buf.c (xmlBuf*) a... 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.
debian
CVE-2021-3517HIGHCVSS 8.6fixed in libxml2 2.9.10+dfsg-6.6 (bookworm)2021
CVE-2021-3517 [HIGH] CVE-2021-3517: libxml2 - There is a flaw in the xml entity encoding functionality of libxml2 in versions ... There is a flaw in the xml entity encoding functionality of libxml2 in versions before 2.9.11. An attacker who is able to supply a crafted file to be processed by an application linked with the affected functionality of libxml2 could trigger an out-of-bounds read. The most likely impact of this flaw is to application availability, with some potential impact to confide
debian
CVE-2021-3518HIGHCVSS 8.8fixed in libxml2 2.9.10+dfsg-6.6 (bookworm)2021
CVE-2021-3518 [HIGH] CVE-2021-3518: libxml2 - There's a flaw in libxml2 in versions before 2.9.11. An attacker who is able to ... There's a flaw in libxml2 in versions before 2.9.11. An attacker who is able to submit a crafted file to be processed by an application linked with libxml2 could trigger a use-after-free. The greatest impact from this flaw is to confidentiality, integrity, and availability. Scope: local bookworm: resolved (fixed in 2.9.10+dfsg-6.6) bullseye: resolved (fixed in 2.9.10+
debian
CVE-2021-3516HIGHCVSS 7.8fixed in libxml2 2.9.10+dfsg-6.6 (bookworm)2021
CVE-2021-3516 [HIGH] CVE-2021-3516: libxml2 - There's a flaw in libxml2's xmllint in versions before 2.9.11. An attacker who i... There's a flaw in libxml2's xmllint in versions before 2.9.11. An attacker who is able to submit a crafted file to be processed by xmllint could trigger a use-after-free. The greatest impact of this flaw is to confidentiality, integrity, and availability. Scope: local bookworm: resolved (fixed in 2.9.10+dfsg-6.6) bullseye: resolved (fixed in 2.9.10+dfsg-6.6) forky: re
debian
CVE-2021-3537MEDIUMCVSS 5.9fixed in libxml2 2.9.10+dfsg-6.6 (bookworm)2021
CVE-2021-3537 [MEDIUM] CVE-2021-3537: libxml2 - A vulnerability found in libxml2 in versions before 2.9.11 shows that it did not... A vulnerability found in libxml2 in versions before 2.9.11 shows that it did not propagate errors while parsing XML mixed content, causing a NULL dereference. If an untrusted XML document was parsed in recovery mode and post-validated, the flaw could be used to crash the application. The highest threat from this vulnerability is to system availability. Scope: local
debian
CVE-2021-3541MEDIUMCVSS 6.5fixed in libxml2 2.9.10+dfsg-6.7 (bookworm)2021
CVE-2021-3541 [MEDIUM] CVE-2021-3541: libxml2 - A flaw was found in libxml2. Exponential entity expansion attack its possible by... A flaw was found in libxml2. Exponential entity expansion attack its possible bypassing all existing protection mechanisms and leading to denial of service. Scope: local bookworm: resolved (fixed in 2.9.10+dfsg-6.7) bullseye: resolved (fixed in 2.9.10+dfsg-6.7) forky: resolved (fixed in 2.9.10+dfsg-6.7) sid: resolved (fixed in 2.9.10+dfsg-6.7) trixie: resolved (fixe
debian
CVE-2020-7595HIGHCVSS 7.5fixed in libxml2 2.9.10+dfsg-2.1 (bookworm)2020
CVE-2020-7595 [HIGH] CVE-2020-7595: libxml2 - xmlStringLenDecodeEntities in parser.c in libxml2 2.9.10 has an infinite loop in... xmlStringLenDecodeEntities in parser.c in libxml2 2.9.10 has an infinite loop in a certain end-of-file situation. Scope: local bookworm: resolved (fixed in 2.9.10+dfsg-2.1) bullseye: resolved (fixed in 2.9.10+dfsg-2.1) forky: resolved (fixed in 2.9.10+dfsg-2.1) sid: resolved (fixed in 2.9.10+dfsg-2.1) trixie: resolved (fixed in 2.9.10+dfsg-2.1)
debian
CVE-2020-24977LOWCVSS 6.5fixed in libxml2 2.9.10+dfsg-6.2 (bookworm)2020
CVE-2020-24977 [MEDIUM] CVE-2020-24977: libxml2 - GNOME project libxml2 v2.9.10 has a global buffer over-read vulnerability in xml... GNOME project libxml2 v2.9.10 has a global buffer over-read vulnerability in xmlEncodeEntitiesInternal at libxml2/entities.c. The issue has been fixed in commit 50f06b3e. Scope: local bookworm: resolved (fixed in 2.9.10+dfsg-6.2) bullseye: resolved (fixed in 2.9.10+dfsg-6.2) forky: resolved (fixed in 2.9.10+dfsg-6.2) sid: resolved (fixed in 2.9.10+dfsg-6.2) trixie
debian
CVE-2019-20388HIGHCVSS 7.5fixed in libxml2 2.9.10+dfsg-2.1 (bookworm)2019
CVE-2019-20388 [HIGH] CVE-2019-20388: libxml2 - xmlSchemaPreRun in xmlschemas.c in libxml2 2.9.10 allows an xmlSchemaValidateStr... xmlSchemaPreRun in xmlschemas.c in libxml2 2.9.10 allows an xmlSchemaValidateStream memory leak. Scope: local bookworm: resolved (fixed in 2.9.10+dfsg-2.1) bullseye: resolved (fixed in 2.9.10+dfsg-2.1) forky: resolved (fixed in 2.9.10+dfsg-2.1) sid: resolved (fixed in 2.9.10+dfsg-2.1) trixie: resolved (fixed in 2.9.10+dfsg-2.1)
debian
CVE-2019-19956HIGHCVSS 7.5fixed in libxml2 2.9.10+dfsg-2 (bookworm)2019
CVE-2019-19956 [HIGH] CVE-2019-19956: libxml2 - xmlParseBalancedChunkMemoryRecover in parser.c in libxml2 before 2.9.10 has a me... xmlParseBalancedChunkMemoryRecover in parser.c in libxml2 before 2.9.10 has a memory leak related to newDoc->oldNs. Scope: local bookworm: resolved (fixed in 2.9.10+dfsg-2) bullseye: resolved (fixed in 2.9.10+dfsg-2) forky: resolved (fixed in 2.9.10+dfsg-2) sid: resolved (fixed in 2.9.10+dfsg-2) trixie: resolved (fixed in 2.9.10+dfsg-2)
debian
CVE-2018-14404LOWCVSS 6.5fixed in libxml2 2.9.10+dfsg-2 (bookworm)2018
CVE-2018-14404 [MEDIUM] CVE-2018-14404: libxml2 - A NULL pointer dereference vulnerability exists in the xpath.c:xmlXPathCompOpEva... A NULL pointer dereference vulnerability exists in the xpath.c:xmlXPathCompOpEval() function of libxml2 through 2.9.8 when parsing an invalid XPath expression in the XPATH_OP_AND or XPATH_OP_OR case. Applications processing untrusted XSL format inputs with the use of the libxml2 library may be vulnerable to a denial of service attack due to a crash of the applicat
debian