fkie_cve-2024-8176
Vulnerability from fkie_nvd
Published
2025-03-14 09:15
Modified
2025-08-14 16:15
Summary
A stack overflow vulnerability exists in the libexpat library due to the way it handles recursive entity expansion in XML documents. When parsing an XML document with deeply nested entity references, libexpat can be forced to recurse indefinitely, exhausting the stack space and causing a crash. This issue could lead to denial of service (DoS) or, in some cases, exploitable memory corruption, depending on the environment and library usage.
References
secalert@redhat.comhttps://access.redhat.com/errata/RHSA-2025:13681
secalert@redhat.comhttps://access.redhat.com/errata/RHSA-2025:3531
secalert@redhat.comhttps://access.redhat.com/errata/RHSA-2025:3734
secalert@redhat.comhttps://access.redhat.com/errata/RHSA-2025:3913
secalert@redhat.comhttps://access.redhat.com/errata/RHSA-2025:4048
secalert@redhat.comhttps://access.redhat.com/errata/RHSA-2025:4446
secalert@redhat.comhttps://access.redhat.com/errata/RHSA-2025:4447
secalert@redhat.comhttps://access.redhat.com/errata/RHSA-2025:4448
secalert@redhat.comhttps://access.redhat.com/errata/RHSA-2025:4449
secalert@redhat.comhttps://access.redhat.com/errata/RHSA-2025:7444
secalert@redhat.comhttps://access.redhat.com/errata/RHSA-2025:7512
secalert@redhat.comhttps://access.redhat.com/errata/RHSA-2025:8385
secalert@redhat.comhttps://access.redhat.com/security/cve/CVE-2024-8176
secalert@redhat.comhttps://bugzilla.redhat.com/show_bug.cgi?id=2310137
secalert@redhat.comhttps://github.com/libexpat/libexpat/issues/893
af854a3a-2127-422b-91ae-364da2661108http://www.openwall.com/lists/oss-security/2025/03/15/1
af854a3a-2127-422b-91ae-364da2661108https://blog.hartwork.org/posts/expat-2-7-0-released/
af854a3a-2127-422b-91ae-364da2661108https://bugzilla.suse.com/show_bug.cgi?id=1239618
af854a3a-2127-422b-91ae-364da2661108https://github.com/libexpat/libexpat/blob/R_2_7_0/expat/Changes#L40-L52
af854a3a-2127-422b-91ae-364da2661108https://gitlab.alpinelinux.org/alpine/aports/-/commit/d068c3ff36fc6f4789988a09c69b434db757db53
af854a3a-2127-422b-91ae-364da2661108https://security-tracker.debian.org/tracker/CVE-2024-8176
af854a3a-2127-422b-91ae-364da2661108https://security.netapp.com/advisory/ntap-20250328-0009/
af854a3a-2127-422b-91ae-364da2661108https://ubuntu.com/security/CVE-2024-8176
af854a3a-2127-422b-91ae-364da2661108https://www.kb.cert.org/vuls/id/760160
Impacted products
Vendor Product Version



{
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "A stack overflow vulnerability exists in the libexpat library due to the way it handles recursive entity expansion in XML documents. When parsing an XML document with deeply nested entity references, libexpat can be forced to recurse indefinitely, exhausting the stack space and causing a crash. This issue could lead to denial of service (DoS) or, in some cases, exploitable memory corruption, depending on the environment and library usage."
    },
    {
      "lang": "es",
      "value": "Existe una vulnerabilidad de desbordamiento de pila en la librer\u00eda libexpat debido a la forma en que gestiona la expansi\u00f3n recursiva de entidades en documentos XML. Al analizar un documento XML con referencias a entidades profundamente anidadas, libexpat puede verse forzado a recurrir indefinidamente, agotando el espacio de pila y provocando un bloqueo. Este problema podr\u00eda provocar una denegaci\u00f3n de servicio (DoS) o, en algunos casos, una corrupci\u00f3n de memoria explotable, seg\u00fan el entorno y el uso de la librer\u00eda."
    }
  ],
  "id": "CVE-2024-8176",
  "lastModified": "2025-08-14T16:15:31.497",
  "metrics": {
    "cvssMetricV31": [
      {
        "cvssData": {
          "attackComplexity": "LOW",
          "attackVector": "NETWORK",
          "availabilityImpact": "HIGH",
          "baseScore": 7.5,
          "baseSeverity": "HIGH",
          "confidentialityImpact": "NONE",
          "integrityImpact": "NONE",
          "privilegesRequired": "NONE",
          "scope": "UNCHANGED",
          "userInteraction": "NONE",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "version": "3.1"
        },
        "exploitabilityScore": 3.9,
        "impactScore": 3.6,
        "source": "secalert@redhat.com",
        "type": "Secondary"
      }
    ]
  },
  "published": "2025-03-14T09:15:14.157",
  "references": [
    {
      "source": "secalert@redhat.com",
      "url": "https://access.redhat.com/errata/RHSA-2025:13681"
    },
    {
      "source": "secalert@redhat.com",
      "url": "https://access.redhat.com/errata/RHSA-2025:3531"
    },
    {
      "source": "secalert@redhat.com",
      "url": "https://access.redhat.com/errata/RHSA-2025:3734"
    },
    {
      "source": "secalert@redhat.com",
      "url": "https://access.redhat.com/errata/RHSA-2025:3913"
    },
    {
      "source": "secalert@redhat.com",
      "url": "https://access.redhat.com/errata/RHSA-2025:4048"
    },
    {
      "source": "secalert@redhat.com",
      "url": "https://access.redhat.com/errata/RHSA-2025:4446"
    },
    {
      "source": "secalert@redhat.com",
      "url": "https://access.redhat.com/errata/RHSA-2025:4447"
    },
    {
      "source": "secalert@redhat.com",
      "url": "https://access.redhat.com/errata/RHSA-2025:4448"
    },
    {
      "source": "secalert@redhat.com",
      "url": "https://access.redhat.com/errata/RHSA-2025:4449"
    },
    {
      "source": "secalert@redhat.com",
      "url": "https://access.redhat.com/errata/RHSA-2025:7444"
    },
    {
      "source": "secalert@redhat.com",
      "url": "https://access.redhat.com/errata/RHSA-2025:7512"
    },
    {
      "source": "secalert@redhat.com",
      "url": "https://access.redhat.com/errata/RHSA-2025:8385"
    },
    {
      "source": "secalert@redhat.com",
      "url": "https://access.redhat.com/security/cve/CVE-2024-8176"
    },
    {
      "source": "secalert@redhat.com",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2310137"
    },
    {
      "source": "secalert@redhat.com",
      "url": "https://github.com/libexpat/libexpat/issues/893"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.openwall.com/lists/oss-security/2025/03/15/1"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://blog.hartwork.org/posts/expat-2-7-0-released/"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://bugzilla.suse.com/show_bug.cgi?id=1239618"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://github.com/libexpat/libexpat/blob/R_2_7_0/expat/Changes#L40-L52"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://gitlab.alpinelinux.org/alpine/aports/-/commit/d068c3ff36fc6f4789988a09c69b434db757db53"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://security-tracker.debian.org/tracker/CVE-2024-8176"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://security.netapp.com/advisory/ntap-20250328-0009/"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://ubuntu.com/security/CVE-2024-8176"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://www.kb.cert.org/vuls/id/760160"
    }
  ],
  "sourceIdentifier": "secalert@redhat.com",
  "vulnStatus": "Awaiting Analysis",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-674"
        }
      ],
      "source": "secalert@redhat.com",
      "type": "Secondary"
    }
  ]
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…