2026-06-21 15:51CVE-2026-56408mitre
PUBLISHED5.2CWE-190

libexpat before 2.8.2 has an integer overflow in copyString.

Problem type

Affected products

libexpat project

libexpat

< 2.8.2 - AFFECTED

References

GitHub Security Advisories

GHSA-9jq5-63hm-6q5g

libexpat before 2.8.2 has an integer overflow in copyString.

https://github.com/advisories/GHSA-9jq5-63hm-6q5g

libexpat before 2.8.2 has an integer overflow in copyString.

JSON source

https://cveawg.mitre.org/api/cve/CVE-2026-56408
Click to expand
{
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "cveMetadata": {
    "cveId": "CVE-2026-56408",
    "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
    "assignerShortName": "mitre",
    "dateUpdated": "2026-06-21T15:51:11.303Z",
    "dateReserved": "2026-06-21T15:51:10.930Z",
    "datePublished": "2026-06-21T15:51:11.303Z",
    "state": "PUBLISHED"
  },
  "containers": {
    "cna": {
      "providerMetadata": {
        "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "shortName": "mitre",
        "dateUpdated": "2026-06-21T15:51:11.303Z"
      },
      "descriptions": [
        {
          "lang": "en",
          "value": "libexpat before 2.8.2 has an integer overflow in copyString."
        }
      ],
      "affected": [
        {
          "vendor": "libexpat project",
          "product": "libexpat",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "0",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "2.8.2"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "lang": "en",
              "description": "CWE-190 Integer Overflow or Wraparound",
              "cweId": "CWE-190",
              "type": "CWE"
            }
          ]
        }
      ],
      "references": [
        {
          "url": "https://github.com/libexpat/libexpat/commit/16e2efd867ea8567ffa012210b52ef5918e20817"
        }
      ],
      "metrics": [
        {
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ],
          "cvssV3_1": {
            "version": "3.1",
            "vectorString": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L",
            "attackVector": "LOCAL",
            "attackComplexity": "HIGH",
            "privilegesRequired": "NONE",
            "userInteraction": "NONE",
            "scope": "UNCHANGED",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "availabilityImpact": "LOW",
            "baseScore": 6.9,
            "baseSeverity": "MEDIUM"
          }
        }
      ]
    }
  }
}