RHSA-2026:40486

Vulnerability from csaf_redhat - Published: 2026-07-15 22:40 - Updated: 2026-08-03 12:59
Summary
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
Severity
Moderate
Notes
Topic: An update for Red Hat Hardened Images RPMs is now available.
Details: This update includes the following RPMs: expat: * expat-2.8.2-1.1.hum1 (aarch64, x86_64) * expat-devel-2.8.2-1.1.hum1 (aarch64, x86_64) * expat-static-2.8.2-1.1.hum1 (aarch64, x86_64) * expat-2.8.2-1.1.hum1.src (src)
Terms of Use: This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.

A use-after-free vulnerability in libexpat occurs because handler call depth isn't properly tracked when XML_ResumeParser is invoked during policy violations. This flaw can lead to information disclosure, data corruption, or denial of service.

CWE-416 - Use After Free
Affected products
Product Identifier Version Remediation
Unresolved product id: Red Hat Hardened Images:expat-main@aarch64
Vendor Fix fix
Workaround
Unresolved product id: Red Hat Hardened Images:expat-main@src
Vendor Fix fix
Workaround
Unresolved product id: Red Hat Hardened Images:expat-main@x86_64
Vendor Fix fix
Workaround
Threats
Impact Moderate

A flaw was found in libexpat. This vulnerability, an integer overflow in the `addBinding` function, could allow a local attacker to execute arbitrary code. By exploiting this, an attacker could gain control over the affected system, compromising its confidentiality and integrity.

CWE-190 - Integer Overflow or Wraparound
Affected products
Product Identifier Version Remediation
Unresolved product id: Red Hat Hardened Images:expat-main@aarch64
Vendor Fix fix
Workaround
Unresolved product id: Red Hat Hardened Images:expat-main@src
Vendor Fix fix
Workaround
Unresolved product id: Red Hat Hardened Images:expat-main@x86_64
Vendor Fix fix
Workaround
Threats
Impact Moderate

An integer overflow exists in libexpat's doProlog function due to improper handling of entity value lengths. A local attacker could exploit this to execute arbitrary code or access sensitive system data.

CWE-190 - Integer Overflow or Wraparound
Affected products
Product Identifier Version Remediation
Unresolved product id: Red Hat Hardened Images:expat-main@aarch64
Vendor Fix fix
Workaround
Unresolved product id: Red Hat Hardened Images:expat-main@src
Vendor Fix fix
Workaround
Unresolved product id: Red Hat Hardened Images:expat-main@x86_64
Vendor Fix fix
Workaround
Threats
Impact Moderate

{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "Moderate"
    },
    "category": "csaf_security_advisory",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright \u00a9 Red Hat, Inc. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "summary",
        "text": "An update for Red Hat Hardened Images RPMs is now available.",
        "title": "Topic"
      },
      {
        "category": "general",
        "text": "This update includes the following RPMs:\n\nexpat:\n  * expat-2.8.2-1.1.hum1 (aarch64, x86_64)\n  * expat-devel-2.8.2-1.1.hum1 (aarch64, x86_64)\n  * expat-static-2.8.2-1.1.hum1 (aarch64, x86_64)\n  * expat-2.8.2-1.1.hum1.src (src)",
        "title": "Details"
      },
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://access.redhat.com/security/team/contact/",
      "issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
      "name": "Red Hat Product Security",
      "namespace": "https://www.redhat.com"
    },
    "references": [
      {
        "category": "self",
        "summary": "https://access.redhat.com/errata/RHSA-2026:40486",
        "url": "https://access.redhat.com/errata/RHSA-2026:40486"
      },
      {
        "category": "external",
        "summary": "https://images.redhat.com/",
        "url": "https://images.redhat.com/"
      },
      {
        "category": "external",
        "summary": "https://access.redhat.com/security/cve/CVE-2026-56407",
        "url": "https://access.redhat.com/security/cve/CVE-2026-56407"
      },
      {
        "category": "external",
        "summary": "https://access.redhat.com/security/updates/classification/",
        "url": "https://access.redhat.com/security/updates/classification/"
      },
      {
        "category": "external",
        "summary": "https://access.redhat.com/security/cve/CVE-2026-56404",
        "url": "https://access.redhat.com/security/cve/CVE-2026-56404"
      },
      {
        "category": "external",
        "summary": "https://access.redhat.com/security/cve/CVE-2026-56131",
        "url": "https://access.redhat.com/security/cve/CVE-2026-56131"
      },
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_40486.json"
      }
    ],
    "title": "Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update",
    "tracking": {
      "current_release_date": "2026-08-03T12:59:47+00:00",
      "generator": {
        "date": "2026-08-03T12:59:47+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "5.3.8"
        }
      },
      "id": "RHSA-2026:40486",
      "initial_release_date": "2026-07-15T22:40:53+00:00",
      "revision_history": [
        {
          "date": "2026-07-15T22:40:53+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2026-08-01T08:08:43+00:00",
          "number": "2",
          "summary": "Last updated version"
        },
        {
          "date": "2026-08-03T12:59:47+00:00",
          "number": "3",
          "summary": "Last generated version"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Hardened Images",
                "product": {
                  "name": "Red Hat Hardened Images",
                  "product_id": "Red Hat Hardened Images",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:hummingbird:1"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Hardened Images"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "expat-main@aarch64",
                "product": {
                  "name": "expat-main@aarch64",
                  "product_id": "expat-main@aarch64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/expat@2.8.2-1.1.hum1?arch=aarch64\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-aarch64-rpms"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "aarch64"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "expat-main@src",
                "product": {
                  "name": "expat-main@src",
                  "product_id": "expat-main@src",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/expat@2.8.2-1.1.hum1?arch=src\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-source-rpms"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "src"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "expat-main@x86_64",
                "product": {
                  "name": "expat-main@x86_64",
                  "product_id": "expat-main@x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/expat@2.8.2-1.1.hum1?arch=x86_64\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-x86_64-rpms"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "x86_64"
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "expat-main@aarch64 as a component of Red Hat Hardened Images",
          "product_id": "Red Hat Hardened Images:expat-main@aarch64"
        },
        "product_reference": "expat-main@aarch64",
        "relates_to_product_reference": "Red Hat Hardened Images"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "expat-main@src as a component of Red Hat Hardened Images",
          "product_id": "Red Hat Hardened Images:expat-main@src"
        },
        "product_reference": "expat-main@src",
        "relates_to_product_reference": "Red Hat Hardened Images"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "expat-main@x86_64 as a component of Red Hat Hardened Images",
          "product_id": "Red Hat Hardened Images:expat-main@x86_64"
        },
        "product_reference": "expat-main@x86_64",
        "relates_to_product_reference": "Red Hat Hardened Images"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2026-56131",
      "cwe": {
        "id": "CWE-416",
        "name": "Use After Free"
      },
      "discovery_date": "2026-06-19T05:01:01.868446+00:00",
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "2490668"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "A use-after-free vulnerability in libexpat occurs because handler call depth isn\u0027t properly tracked when XML_ResumeParser is invoked during policy violations. This flaw can lead to information disclosure, data corruption, or denial of service.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "libexpat: libexpat: Use-after-free vulnerability due to insufficient handler call depth tracking",
          "title": "Vulnerability summary"
        },
        {
          "category": "other",
          "text": "A Moderate impact use-after-free vulnerability exists in libexpat. This flaw, requiring local access and having high attack complexity, could lead to information disclosure, data corruption, or denial of service. The need for specific policy violations and local access substantially reduces the immediate risk in typical Red Hat environments.",
          "title": "Statement"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "fixed": [
          "Red Hat Hardened Images:expat-main@aarch64",
          "Red Hat Hardened Images:expat-main@src",
          "Red Hat Hardened Images:expat-main@x86_64"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2026-56131"
        },
        {
          "category": "external",
          "summary": "RHBZ#2490668",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2490668"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2026-56131",
          "url": "https://www.cve.org/CVERecord?id=CVE-2026-56131"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2026-56131",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-56131"
        },
        {
          "category": "external",
          "summary": "https://github.com/libexpat/libexpat/pull/1267",
          "url": "https://github.com/libexpat/libexpat/pull/1267"
        }
      ],
      "release_date": "2026-06-19T02:56:36.041000+00:00",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2026-07-15T22:40:53+00:00",
          "details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\nhttps://images.redhat.com/",
          "product_ids": [
            "Red Hat Hardened Images:expat-main@aarch64",
            "Red Hat Hardened Images:expat-main@src",
            "Red Hat Hardened Images:expat-main@x86_64"
          ],
          "restart_required": {
            "category": "none"
          },
          "url": "https://access.redhat.com/errata/RHSA-2026:40486"
        },
        {
          "category": "workaround",
          "details": "To mitigate this vulnerability, avoid processing untrusted XML data in affected applications or ensure your implementation strictly validates and rejects malformed XML payloads before parsing.",
          "product_ids": [
            "Red Hat Hardened Images:expat-main@aarch64",
            "Red Hat Hardened Images:expat-main@src",
            "Red Hat Hardened Images:expat-main@x86_64"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "HIGH",
            "attackVector": "LOCAL",
            "availabilityImpact": "LOW",
            "baseScore": 4.5,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "LOW",
            "integrityImpact": "LOW",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L",
            "version": "3.1"
          },
          "products": [
            "Red Hat Hardened Images:expat-main@aarch64",
            "Red Hat Hardened Images:expat-main@src",
            "Red Hat Hardened Images:expat-main@x86_64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Moderate"
        }
      ],
      "title": "libexpat: libexpat: Use-after-free vulnerability due to insufficient handler call depth tracking"
    },
    {
      "cve": "CVE-2026-56404",
      "cwe": {
        "id": "CWE-190",
        "name": "Integer Overflow or Wraparound"
      },
      "discovery_date": "2026-06-21T16:01:00.115109+00:00",
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "2491185"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "A flaw was found in libexpat. This vulnerability, an integer overflow in the `addBinding` function, could allow a local attacker to execute arbitrary code. By exploiting this, an attacker could gain control over the affected system, compromising its confidentiality and integrity.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "libexpat: libexpat: Arbitrary Code Execution via integer overflow in addBinding",
          "title": "Vulnerability summary"
        },
        {
          "category": "other",
          "text": "This Moderate impact flaw in libexpat, an XML parsing library, could lead to arbitrary code execution through an integer overflow in the `addBinding` function. Exploitation requires local access and high attack complexity, which limits its immediate risk in standard Red Hat deployments. The vulnerability primarily affects applications that process untrusted XML data.",
          "title": "Statement"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "fixed": [
          "Red Hat Hardened Images:expat-main@aarch64",
          "Red Hat Hardened Images:expat-main@src",
          "Red Hat Hardened Images:expat-main@x86_64"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2026-56404"
        },
        {
          "category": "external",
          "summary": "RHBZ#2491185",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2491185"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2026-56404",
          "url": "https://www.cve.org/CVERecord?id=CVE-2026-56404"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2026-56404",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-56404"
        },
        {
          "category": "external",
          "summary": "https://github.com/libexpat/libexpat/pull/1249",
          "url": "https://github.com/libexpat/libexpat/pull/1249"
        }
      ],
      "release_date": "2026-06-21T15:45:55.652000+00:00",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2026-07-15T22:40:53+00:00",
          "details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\nhttps://images.redhat.com/",
          "product_ids": [
            "Red Hat Hardened Images:expat-main@aarch64",
            "Red Hat Hardened Images:expat-main@src",
            "Red Hat Hardened Images:expat-main@x86_64"
          ],
          "restart_required": {
            "category": "none"
          },
          "url": "https://access.redhat.com/errata/RHSA-2026:40486"
        },
        {
          "category": "workaround",
          "details": "Do not process untrusted or unvalidated XML with libexpat-based applications. Enforce strict maximum size limits on XML input and namespace URI lengths before parsing",
          "product_ids": [
            "Red Hat Hardened Images:expat-main@aarch64",
            "Red Hat Hardened Images:expat-main@src",
            "Red Hat Hardened Images:expat-main@x86_64"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "HIGH",
            "attackVector": "LOCAL",
            "availabilityImpact": "LOW",
            "baseScore": 6.9,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L",
            "version": "3.1"
          },
          "products": [
            "Red Hat Hardened Images:expat-main@aarch64",
            "Red Hat Hardened Images:expat-main@src",
            "Red Hat Hardened Images:expat-main@x86_64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Moderate"
        }
      ],
      "title": "libexpat: libexpat: Arbitrary Code Execution via integer overflow in addBinding"
    },
    {
      "cve": "CVE-2026-56407",
      "cwe": {
        "id": "CWE-190",
        "name": "Integer Overflow or Wraparound"
      },
      "discovery_date": "2026-06-21T16:00:57.453826+00:00",
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "2491184"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "An integer overflow exists in libexpat\u0027s doProlog function due to improper handling of entity value lengths. A local attacker could exploit this to execute arbitrary code or access sensitive system data.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "libexpat: libexpat: Arbitrary code execution due to integer overflow",
          "title": "Vulnerability summary"
        },
        {
          "category": "other",
          "text": "This Moderate severity flaw in libexpat, an XML parsing library, is due to an integer overflow during the processing of entity declarations. While exploitation could lead to arbitrary code execution or information disclosure, the attack requires local access and has high complexity, limiting its immediate impact on typical Red Hat deployments.",
          "title": "Statement"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "fixed": [
          "Red Hat Hardened Images:expat-main@aarch64",
          "Red Hat Hardened Images:expat-main@src",
          "Red Hat Hardened Images:expat-main@x86_64"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2026-56407"
        },
        {
          "category": "external",
          "summary": "RHBZ#2491184",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2491184"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2026-56407",
          "url": "https://www.cve.org/CVERecord?id=CVE-2026-56407"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2026-56407",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-56407"
        },
        {
          "category": "external",
          "summary": "https://github.com/libexpat/libexpat/pull/1262",
          "url": "https://github.com/libexpat/libexpat/pull/1262"
        }
      ],
      "release_date": "2026-06-21T15:49:35.779000+00:00",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2026-07-15T22:40:53+00:00",
          "details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\nhttps://images.redhat.com/",
          "product_ids": [
            "Red Hat Hardened Images:expat-main@aarch64",
            "Red Hat Hardened Images:expat-main@src",
            "Red Hat Hardened Images:expat-main@x86_64"
          ],
          "restart_required": {
            "category": "none"
          },
          "url": "https://access.redhat.com/errata/RHSA-2026:40486"
        },
        {
          "category": "workaround",
          "details": "To prevent exploitation explicitly disable all internal and external XML entity processing within your application\u0027s parser configuration. Additionally, use a Web Application Firewall (WAF) to strictly limit the maximum size of incoming XML payloads to prevent the overflow trigger.",
          "product_ids": [
            "Red Hat Hardened Images:expat-main@aarch64",
            "Red Hat Hardened Images:expat-main@src",
            "Red Hat Hardened Images:expat-main@x86_64"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "HIGH",
            "attackVector": "LOCAL",
            "availabilityImpact": "LOW",
            "baseScore": 6.9,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L",
            "version": "3.1"
          },
          "products": [
            "Red Hat Hardened Images:expat-main@aarch64",
            "Red Hat Hardened Images:expat-main@src",
            "Red Hat Hardened Images:expat-main@x86_64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Moderate"
        }
      ],
      "title": "libexpat: libexpat: Arbitrary code execution due to integer overflow"
    }
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…