OESA-2025-1898

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2025-1898
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2025-1898.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2025-1898
Upstream
Published
2025-07-25T13:16:56Z
Modified
2025-08-12T05:51:39.329504Z
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):

A use-after-free vulnerability was found in libxml2. This issue occurs when parsing XPath elements under certain circumstances when the XML schematron has the <sch:name path="..."/> schema elements. This flaw allows a malicious actor to craft a malicious XML document used as input for libxml, resulting in the program's crash using libxml or other possible undefined behaviors.(CVE-2025-49794)

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.(CVE-2025-49796)

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.(CVE-2025-6170)

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

Affected packages

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-48.oe2003sp4

Ecosystem specific

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