Skip to content
Heist/ feed
Back to feed
HighFix available

expat security update

Type: advisorySources: OSV

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 before commit 13c5f63 contains a heap buffer over-read vulnerability in xmlparse.c. XML_ParseBuffer advances the parse buffer end with parser->m_bufferEnd += len using a caller-supplied length that is not validated against the allocated buffer size, so repeated XML_ParseBuffer calls move m_bufferEnd past the end of the heap allocation and subsequent parsing reads out of bounds. Reaching this path requires a parse buffer to already be present; otherwise XML_ParseBuffer returns XML_ERROR_NO_BUFFER. A buffer is present after a prior call to XML_GetBuffer, either directly (the common case) or indirectly through a prior XML_Parse call that allocates the buffer internally. The over-read discloses adjacent heap memory to the calling application, recovering heap pointers, libc function pointers, and code pointers sufficient to defeat ASLR and build further exploitation primitives.(CVE-2026-77214)

Products
expat
Affected versions
Not specified
Fixed versions
2.5.0-29.oe2403sp3
CVEs
CVE-2026-77214
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 20:40 UTC · Revision 1

Source evidence

expat security update

core-osv · Original source

Published 16 Oct 2026, 11:59 UTC

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 before commit 13c5f63 contains a heap buffer over-read vulnerability in xmlparse.c. XML_ParseBuffer advances the parse buffer end with parser->m_bufferEnd += len using a caller-supplied length that is not validated against the allocated buffer size, so repeated XML_ParseBuffer calls move m_bufferEnd past the end of the heap allocation and subsequent parsing reads out of bounds. Reaching this path requires a parse buffer to already be present; otherwise XML_ParseBuffer returns XML_ERROR_NO_BUFFER. A buffer is present after a prior call to XML_GetBuffer, either directly (the common case) or indirectly through a prior XML_Parse call that allocates the buffer internally. The over-read discloses adjacent heap memory to the calling application, recovering heap pointers, libc function pointers, and code pointers sufficient to defeat ASLR and build further exploitation primitives.(CVE-2026-77214)

osv:OESA-2026-4350

expat

Fixed versions: 2.5.0-29.oe2403sp3

Complete source record
{
  "id": "cceab2ffd27efd8cd89f3bae960128c1f1feb156aed33b9c9756e91c6ca1e879",
  "url": "https://osv.dev/vulnerability/OESA-2026-4350",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "expat security update",
    "summary": "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 before commit 13c5f63 contains a heap buffer over-read vulnerability in xmlparse.c. XML_ParseBuffer advances the parse buffer end with parser->m_bufferEnd += len using a caller-supplied length that is not validated against the allocated buffer size, so repeated XML_ParseBuffer calls move m_bufferEnd past the end of the heap allocation and subsequent parsing reads out of bounds. Reaching this path requires a parse buffer to already be present; otherwise XML_ParseBuffer returns XML_ERROR_NO_BUFFER. A buffer is present after a prior call to XML_GetBuffer, either directly (the common case) or indirectly through a prior XML_Parse call that allocates the buffer internally. The over-read discloses adjacent heap memory to the calling application, recovering heap pointers, libc function pointers, and code pointers sufficient to defeat ASLR and build further exploitation primitives.(CVE-2026-77214)",
    "evidence": "osv:OESA-2026-4350",
    "products": [
      {
        "name": {
          "value": "expat",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.5.0-29.oe2403sp3",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "OESA-2026-4350",
      "aliases": [
        "OESA-2026-4350"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.5.0-29.oe2403sp3"
                }
              ]
            }
          ],
          "package": {
            "name": "expat",
            "purl": "pkg:rpm/openEuler/expat&distro=openEuler-24.03-LTS-SP3",
            "ecosystem": "openEuler:24.03-LTS-SP3"
          },
          "database_specific": {
            "source": "https://repo.openeuler.org/security/data/osv/OESA-2026-4350.json"
          },
          "ecosystem_specific": {
            "src": [
              "expat-2.5.0-29.oe2403sp3.src.rpm"
            ],
            "noarch": [
              "expat-help-2.5.0-29.oe2403sp3.noarch.rpm"
            ],
            "x86_64": [
              "expat-2.5.0-29.oe2403sp3.x86_64.rpm",
              "expat-debuginfo-2.5.0-29.oe2403sp3.x86_64.rpm",
              "expat-debugsource-2.5.0-29.oe2403sp3.x86_64.rpm",
              "expat-devel-2.5.0-29.oe2403sp3.x86_64.rpm"
            ],
            "aarch64": [
              "expat-2.5.0-29.oe2403sp3.aarch64.rpm",
              "expat-debuginfo-2.5.0-29.oe2403sp3.aarch64.rpm",
              "expat-debugsource-2.5.0-29.oe2403sp3.aarch64.rpm",
              "expat-devel-2.5.0-29.oe2403sp3.aarch64.rpm"
            ]
          }
        }
      ],
      "modified": "2026-10-16T12:15:13.600770809Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-77214"
      ],
      "references": [
        "https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2026-4350",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-77214"
      ],
      "provider_metadata": {
        "severity": "High"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-77214",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/database_specific/severity"
  },
  "source_id": "core-osv",
  "document_id": 340841,
  "published_at": "2026-10-16T11:59:39+00:00"
}