OESA-2025-1225

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2025-1225
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2025-1225.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2025-1225
Upstream
Published
2025-02-28T15:34:47Z
Modified
2025-08-12T05:47:06.822345Z
Summary
libxml2 security update
Details

This library allows to manipulate XML files. It includes support to read, modify and write XML and HTML files. There is DTDs support this includes parsing and validation even with complex DtDs, either at parse time or later once the document has been modified. The output can be a simple SAX stream or and in-memory DOM like representations. In this case one can use the built-in XPath and XPointer implementation to select sub nodes or ranges. A flexible Input/Output mechanism is available, with existing HTTP and FTP modules and combined to an URI library.

Security Fix(es):

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.(CVE-2024-56171)

libxml2 before 2.12.10 and 2.13.x before 2.13.6 has a stack-based buffer overflow in xmlSnprintfElements in valid.c. To exploit this, DTD validation must occur for an untrusted document or untrusted DTD. NOTE: this is similar to CVE-2017-9047.(CVE-2025-24928)

libxml2 before 2.12.10 and 2.13.x before 2.13.6 has a NULL pointer dereference in xmlPatMatch in pattern.c.(CVE-2025-27113)

Database specific
{
    "severity": "High"
}
References

Affected packages

openEuler:22.03-LTS-SP4 / libxml2

Package

Name
libxml2
Purl
pkg:rpm/openEuler/libxml2&distro=openEuler-22.03-LTS-SP4

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.9.14-15.oe2203sp4

Ecosystem specific

{
    "aarch64": [
        "libxml2-2.9.14-15.oe2203sp4.aarch64.rpm",
        "libxml2-debuginfo-2.9.14-15.oe2203sp4.aarch64.rpm",
        "libxml2-debugsource-2.9.14-15.oe2203sp4.aarch64.rpm",
        "libxml2-devel-2.9.14-15.oe2203sp4.aarch64.rpm",
        "python3-libxml2-2.9.14-15.oe2203sp4.aarch64.rpm"
    ],
    "noarch": [
        "libxml2-help-2.9.14-15.oe2203sp4.noarch.rpm"
    ],
    "x86_64": [
        "libxml2-2.9.14-15.oe2203sp4.x86_64.rpm",
        "libxml2-debuginfo-2.9.14-15.oe2203sp4.x86_64.rpm",
        "libxml2-debugsource-2.9.14-15.oe2203sp4.x86_64.rpm",
        "libxml2-devel-2.9.14-15.oe2203sp4.x86_64.rpm",
        "python3-libxml2-2.9.14-15.oe2203sp4.x86_64.rpm"
    ],
    "src": [
        "libxml2-2.9.14-15.oe2203sp4.src.rpm"
    ]
}

openEuler:24.03-LTS / libxml2

Package

Name
libxml2
Purl
pkg:rpm/openEuler/libxml2&distro=openEuler-24.03-LTS

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.11.9-2.oe2403sp1

Ecosystem specific

{
    "aarch64": [
        "libxml2-2.11.5-5.oe2403.aarch64.rpm",
        "libxml2-debuginfo-2.11.5-5.oe2403.aarch64.rpm",
        "libxml2-debugsource-2.11.5-5.oe2403.aarch64.rpm",
        "libxml2-devel-2.11.5-5.oe2403.aarch64.rpm",
        "python3-libxml2-2.11.5-5.oe2403.aarch64.rpm",
        "libxml2-2.11.9-2.oe2403sp1.aarch64.rpm",
        "libxml2-debuginfo-2.11.9-2.oe2403sp1.aarch64.rpm",
        "libxml2-debugsource-2.11.9-2.oe2403sp1.aarch64.rpm",
        "libxml2-devel-2.11.9-2.oe2403sp1.aarch64.rpm",
        "python3-libxml2-2.11.9-2.oe2403sp1.aarch64.rpm"
    ],
    "noarch": [
        "libxml2-help-2.11.5-5.oe2403.noarch.rpm",
        "libxml2-help-2.11.9-2.oe2403sp1.noarch.rpm"
    ],
    "x86_64": [
        "libxml2-2.11.5-5.oe2403.x86_64.rpm",
        "libxml2-debuginfo-2.11.5-5.oe2403.x86_64.rpm",
        "libxml2-debugsource-2.11.5-5.oe2403.x86_64.rpm",
        "libxml2-devel-2.11.5-5.oe2403.x86_64.rpm",
        "python3-libxml2-2.11.5-5.oe2403.x86_64.rpm",
        "libxml2-2.11.9-2.oe2403sp1.x86_64.rpm",
        "libxml2-debuginfo-2.11.9-2.oe2403sp1.x86_64.rpm",
        "libxml2-debugsource-2.11.9-2.oe2403sp1.x86_64.rpm",
        "libxml2-devel-2.11.9-2.oe2403sp1.x86_64.rpm",
        "python3-libxml2-2.11.9-2.oe2403sp1.x86_64.rpm"
    ],
    "src": [
        "libxml2-2.11.5-5.oe2403.src.rpm",
        "libxml2-2.11.9-2.oe2403sp1.src.rpm"
    ]
}

openEuler:24.03-LTS-SP1 / libxml2

Package

Name
libxml2
Purl
pkg:rpm/openEuler/libxml2&distro=openEuler-24.03-LTS-SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.11.9-2.oe2403sp1

Ecosystem specific

{
    "aarch64": [
        "libxml2-2.11.9-2.oe2403sp1.aarch64.rpm",
        "libxml2-debuginfo-2.11.9-2.oe2403sp1.aarch64.rpm",
        "libxml2-debugsource-2.11.9-2.oe2403sp1.aarch64.rpm",
        "libxml2-devel-2.11.9-2.oe2403sp1.aarch64.rpm",
        "python3-libxml2-2.11.9-2.oe2403sp1.aarch64.rpm"
    ],
    "noarch": [
        "libxml2-help-2.11.9-2.oe2403sp1.noarch.rpm"
    ],
    "x86_64": [
        "libxml2-2.11.9-2.oe2403sp1.x86_64.rpm",
        "libxml2-debuginfo-2.11.9-2.oe2403sp1.x86_64.rpm",
        "libxml2-debugsource-2.11.9-2.oe2403sp1.x86_64.rpm",
        "libxml2-devel-2.11.9-2.oe2403sp1.x86_64.rpm",
        "python3-libxml2-2.11.9-2.oe2403sp1.x86_64.rpm"
    ],
    "src": [
        "libxml2-2.11.9-2.oe2403sp1.src.rpm"
    ]
}

openEuler:20.03-LTS-SP4 / libxml2

Package

Name
libxml2
Purl
pkg:rpm/openEuler/libxml2&distro=openEuler-20.03-LTS-SP4

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.9.10-43.oe2003sp4

Ecosystem specific

{
    "aarch64": [
        "libxml2-2.9.10-43.oe2003sp4.aarch64.rpm",
        "libxml2-debuginfo-2.9.10-43.oe2003sp4.aarch64.rpm",
        "libxml2-debugsource-2.9.10-43.oe2003sp4.aarch64.rpm",
        "libxml2-devel-2.9.10-43.oe2003sp4.aarch64.rpm",
        "python2-libxml2-2.9.10-43.oe2003sp4.aarch64.rpm",
        "python3-libxml2-2.9.10-43.oe2003sp4.aarch64.rpm"
    ],
    "noarch": [
        "libxml2-help-2.9.10-43.oe2003sp4.noarch.rpm"
    ],
    "x86_64": [
        "libxml2-2.9.10-43.oe2003sp4.x86_64.rpm",
        "libxml2-debuginfo-2.9.10-43.oe2003sp4.x86_64.rpm",
        "libxml2-debugsource-2.9.10-43.oe2003sp4.x86_64.rpm",
        "libxml2-devel-2.9.10-43.oe2003sp4.x86_64.rpm",
        "python2-libxml2-2.9.10-43.oe2003sp4.x86_64.rpm",
        "python3-libxml2-2.9.10-43.oe2003sp4.x86_64.rpm"
    ],
    "src": [
        "libxml2-2.9.10-43.oe2003sp4.src.rpm"
    ]
}

openEuler:22.03-LTS-SP3 / libxml2

Package

Name
libxml2
Purl
pkg:rpm/openEuler/libxml2&distro=openEuler-22.03-LTS-SP3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.9.14-15.oe2203sp3

Ecosystem specific

{
    "aarch64": [
        "libxml2-2.9.14-15.oe2203sp3.aarch64.rpm",
        "libxml2-debuginfo-2.9.14-15.oe2203sp3.aarch64.rpm",
        "libxml2-debugsource-2.9.14-15.oe2203sp3.aarch64.rpm",
        "libxml2-devel-2.9.14-15.oe2203sp3.aarch64.rpm",
        "python3-libxml2-2.9.14-15.oe2203sp3.aarch64.rpm"
    ],
    "noarch": [
        "libxml2-help-2.9.14-15.oe2203sp3.noarch.rpm"
    ],
    "x86_64": [
        "libxml2-2.9.14-15.oe2203sp3.x86_64.rpm",
        "libxml2-debuginfo-2.9.14-15.oe2203sp3.x86_64.rpm",
        "libxml2-debugsource-2.9.14-15.oe2203sp3.x86_64.rpm",
        "libxml2-devel-2.9.14-15.oe2203sp3.x86_64.rpm",
        "python3-libxml2-2.9.14-15.oe2203sp3.x86_64.rpm"
    ],
    "src": [
        "libxml2-2.9.14-15.oe2203sp3.src.rpm"
    ]
}