Integer Overflow or Wraparound Affecting expat-devel package, versions <0:2.5.0-6.el9_8.11


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.5% (44th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL9-EXPATDEVEL-22713716
  • published21 Nov 2026
  • disclosed28 Oct 2026

Introduced: 28 Oct 2026

NewCVE-2026-118370  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade RHEL:9 expat-devel to version 0:2.5.0-6.el9_8.11 or higher.
This issue was patched in RHSA-2026:100678.

NVD Description

Note: Versions mentioned in the description apply only to the upstream expat-devel package and not the expat-devel package as distributed by RHEL. See How to fix? for RHEL:9 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1