OESA-2026-5157

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2026-5157
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2026-5157.json
JSON Data
https://api.osv.dev/v1/vulns/OESA-2026-5157
Upstream
CVE (4)
Published
2026-11-26T12:13:12Z
Modified
2026-12-01T05:45:23Z
Severity
  • 8.2 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
expat security update
Details

expat is a stream-oriented XML parser library written in C. expat excels with files too large to fit RAM, and where performance and flexibility are crucial.

Security Fix(es):

libexpat through 2.9.0 contains a denial of service vulnerability because billion laughs protection in accountingDiffTolerated() in xmlparse.c detects entity amplification too late. Attackers can supply a moderately sized XML document with a large DTD and nested entity expansions to consume tens of seconds of CPU per parse.(CVE-2026-115506)

libexpat through 2.9.0 contains a NULL pointer dereference vulnerability in externalEntityInitProcessor2() in lib/xmlparse.c that mishandles the XML_TOK_NONE token from empty input. Attackers who control stream chunking can force an empty non-final first parse on an external entity subparser, causing a later parse to crash the application.(CVE-2026-117610)

libexpat through 2.9.0 contains a signed integer overflow vulnerability in storeAtts() in lib/xmlparse.c that allows attackers to trigger out-of-bounds writes via oversized attribute counts. Attackers can supply a multi-gigabyte document with a start tag carrying over 2^30 attributes to overflow attIndex and nPrefixes, crashing applications or corrupting heap memory.(CVE-2026-118370)

libexpat through 2.10.0 contains an out-of-bounds read vulnerability in unknown_toUtf8() and unknown_toUtf16() in xmltok.c when handling application-registered unknown encodings. Attackers can supply a document ending in a truncated multibyte sequence so the convert callback reads past the parse buffer, leaking adjacent memory or crashing applications.(CVE-2026-124317)

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

Affected packages

openEuler:24.03-LTS-SP1 / expat

Package

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

Affected ranges

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

Ecosystem specific

{
    "aarch64":  [
        "expat-2.5.0-33.oe2403sp1.aarch64.rpm",
        "expat-debuginfo-2.5.0-33.oe2403sp1.aarch64.rpm",
        "expat-debugsource-2.5.0-33.oe2403sp1.aarch64.rpm",
        "expat-devel-2.5.0-33.oe2403sp1.aarch64.rpm"
    ],
    "noarch":  [
        "expat-help-2.5.0-33.oe2403sp1.noarch.rpm"
    ],
    "src":  [
        "expat-2.5.0-33.oe2403sp1.src.rpm"
    ],
    "x86_64":  [
        "expat-2.5.0-33.oe2403sp1.x86_64.rpm",
        "expat-debuginfo-2.5.0-33.oe2403sp1.x86_64.rpm",
        "expat-debugsource-2.5.0-33.oe2403sp1.x86_64.rpm",
        "expat-devel-2.5.0-33.oe2403sp1.x86_64.rpm"
    ]
}

Database specific

source
"https://repo.openeuler.org/security/data/osv/OESA-2026-5157.json"