Package: libxml2 / 2.9.14+dfsg-1.3~deb12u4
Metadata
| Package | Version | Patches format |
|---|---|---|
| libxml2 | 2.9.14+dfsg-1.3~deb12u4 | 3.0 (quilt) |
Patch series
view the series file| Patch | File delta | Description |
|---|---|---|
| install html.patch | (download) |
doc/Makefile.am |
48 47 + 1 - 0 ! |
install *all* the html docs The relevant makefile target was never updated since 2004.. Should probably look for a nicer way to do this than the current list before forwarding. |
| xml2 config fix.patch | (download) |
xml2-config.in |
16 2 + 14 - 0 ! |
display dynamic linking information with --libs, not static Don't bother about keeping support for the static variant, it's not needed in debian directly. |
| python3 unicode errors.patch | (download) |
python/libxml.c |
11 10 + 1 - 0 ! |
--- |
| CVE 2022 40303 Fix integer overflows with XML_PARSE_.patch | (download) |
parser.c |
233 121 + 112 - 0 ! |
[cve-2022-40303] fix integer overflows with xml_parse_huge |
| CVE 2022 40304 Fix dict corruption caused by entity .patch | (download) |
entities.c |
55 16 + 39 - 0 ! |
[cve-2022-40304] fix dict corruption caused by entity reference cycles |
| schemas Fix null pointer deref in xmlSchemaCheckCOSS.patch | (download) |
result/schemas/oss-fuzz-51295_0_0.err |
2 2 + 0 - 0 ! |
schemas: fix null-pointer-deref in xmlschemacheckcosstderivedok |
| CVE 2023 28484 Fix null deref in xmlSchemaFixupCompl.patch | (download) |
result/schemas/issue491_0_0.err |
1 1 + 0 - 0 ! |
[cve-2023-28484] fix null deref in xmlschemafixupcomplextype |
| CVE 2023 29469 Hashing of empty dict strings isn t d.patch | (download) |
dict.c |
3 2 + 1 - 0 ! |
[cve-2023-29469] hashing of empty dict strings isn't deterministic |
| Reset nsNr in xmlCtxtReset.patch | (download) |
parser.c |
2 2 + 0 - 0 ! |
reset nsnr in xmlctxtreset |
| Also reset nsNr in htmlCtxtReset.patch | (download) |
HTMLparser.c |
2 2 + 0 - 0 ! |
also reset nsnr in htmlctxtreset |
| CVE 2022 49043.patch | (download) |
xinclude.c |
3 2 + 1 - 0 ! |
[patch] malloc-fail: fix use-after-free in xmlxincludeaddnode Found with libFuzzer, see #344. |
| CVE 2024 34459.patch | (download) |
xmllint.c |
2 1 + 1 - 0 ! |
[patch] [cve-2024-34459] fix buffer overread with `xmllint --htmlout` Add a missing bounds check. |
| CVE 2024 56171.patch | (download) |
xmlschemas.c |
3 3 + 0 - 0 ! |
[patch] [cve-2024-56171] fix use-after-free after xmlSchemaItemListAdd xmlSchemaItemListAdd can reallocate the items array. Update local variables after adding item in - xmlSchemaIDCFillNodeTables - xmlSchemaBubbleIDCNodeTables Fixes #828. |
| CVE 2025 24928 pre1.patch | (download) |
valid.c |
3 2 + 1 - 0 ! |
[patch] valid: check for null node->name in xmlsnprintfelements Unfortunately, we can have NULL element names if xmlSetTreeDoc fails. |
| CVE 2025 24928.patch | (download) |
valid.c |
22 11 + 11 - 0 ! |
[patch] [cve-2025-24928] fix stack-buffer-overflow in xmlSnprintfElements Fixes #847. |
| CVE 2025 27113.patch | (download) |
pattern.c |
4 2 + 2 - 0 ! |
[patch] pattern: fix compilation of explicit child axis The child axis is the default axis and should generate XML_OP_ELEM like the case without an axis. |
| CVE 2023 39615_1.patch | (download) |
parser.c |
2 0 + 2 - 0 ! |
[patch] parser: fix old sax1 parser with custom callbacks For some reason, xmlCtxtUseOptionsInternal set the start and end element SAX handlers to the internal DOM builder functions when XML_PARSE_SAX1 was specified. This means that custom SAX handlers could never work with that flag because these functions would receive the wrong user data argument and crash immediately. Fixes #535. |
| CVE 2023 39615_2.patch | (download) |
SAX2.c |
11 7 + 4 - 0 ! |
[patch] sax: always initialize sax1 element handlers Follow-up to commit d0c3f01e. A parser context will be initialized to SAX version 2, but this can be overridden with XML_PARSE_SAX1 later, so we must initialize the SAX1 element handlers as well. Change the check in xmlDetectSAX2 to only look for XML_SAX2_MAGIC, so we don't switch to SAX1 if the SAX2 element handlers are NULL. |
| CVE 2023 45322.patch | (download) |
tree.c |
7 5 + 2 - 0 ! |
[patch] tree: fix #583 again Only set doc->intSubset after successful copy to avoid dangling pointers in error case. |
| CVE 2024 25062.patch | (download) |
xmlreader.c |
1 1 + 0 - 0 ! |
[patch] [cve-2024-25062] xmlreader: don't expand xincludes when backtracking Fixes a use-after-free if XML Reader if used with DTD validation and XInclude expansion. Fixes #604. |
| CVE 2025 32414 bug 889 v2.10.4 and below.patch | (download) |
python/libxml.c |
28 18 + 10 - 0 ! |
--- |
| CVE 2025 32415.patch | (download) |
xmlschemas.c |
4 2 + 2 - 0 ! |
[patch] [cve-2025-32415] schemas: fix heap buffer overflow in xmlSchemaIDCFillNodeTables Don't use local variable which could contain a stale value. Fixes #890. |
| CVE 2025 6021.patch | (download) |
tree.c |
12 9 + 3 - 0 ! |
tree: fix integer overflow in xmlbuildqname |
| CVE 2025 6170.patch | (download) |
debugXML.c |
15 10 + 5 - 0 ! |
fix potential buffer overflows of interactive shell |
| CVE 2025 49794_CVE 2025 49796.patch | (download) |
result/schematron/cve-2025-49794_0.err |
3 3 + 0 - 0 ! |
schematron: fix memory safety issues in xmlschematronreportoutput Fix use-after-free (CVE-2025-49794) and type confusion (CVE-2025-49796) in xmlSchematronReportOutput. |
| CVE 2025 7425.patch | (download) |
HTMLparser.c |
1 1 + 0 - 0 ! |
[patch] libxslt: heap-use-after-free in xmlfreeid caused by `atype` corruption * include/libxml/tree.h: (XML_ATTR_CLEAR_ATYPE): Add. (XML_ATTR_GET_ATYPE): Add. (XML_ATTR_SET_ATYPE): Add. (XML_NODE_ADD_EXTRA): Add. (XML_NODE_CLEAR_EXTRA): Add. (XML_NODE_GET_EXTRA): Add. (XML_NODE_SET_EXTRA): Add. (XML_DOC_ADD_PROPERTIES): Add. (XML_DOC_CLEAR_PROPERTIES): Add. (XML_DOC_GET_PROPERTIES): Add. (XML_DOC_SET_PROPERTIES): Add. - Add macros for accessing fields with upper bits that may be set by libxslt. * HTMLparser.c: (htmlNewDocNoDtD): * SAX2.c: (xmlSAX2StartDocument): (xmlSAX2EndDocument): * parser.c: (xmlParseEntityDecl): (xmlParseExternalSubset): (xmlParseReference): (xmlCtxtParseDtd): * runxmlconf.c: (xmlconfTestInvalid): (xmlconfTestValid): * tree.c: (xmlNewDoc): (xmlFreeProp): (xmlNodeSetDoc): (xmlSetNsProp): (xmlDOMWrapAdoptBranch): * valid.c: (xmlFreeID): (xmlAddIDInternal): (xmlValidateAttributeValueInternal): (xmlValidateOneAttribute): (xmlValidateRef): * xmlreader.c: (xmlTextReaderStartElement): (xmlTextReaderStartElementNs): (xmlTextReaderValidateEntity): (xmlTextReaderRead): (xmlTextReaderNext): (xmlTextReaderIsEmptyElement): (xmlTextReaderPreserve): * xmlschemas.c: (xmlSchemaPValAttrNodeID): * xmlschemastypes.c: (xmlSchemaValAtomicType): - Adopt macros by renaming the struct fields, recompiling and fixing compiler failures, then changing the struct field names back. |
