CVE-2024-8176

Published Mar 14, 2025

Last updated 2 days ago

Overview

AI description

Automated description summarized from trusted sources.

CVE-2024-8176 is a stack overflow vulnerability found in the libexpat library. It stems from the way libexpat handles recursive entity expansion when parsing XML documents. The vulnerability occurs when an XML document contains deeply nested entity references. Libexpat can be forced into infinite recursion while processing these references, leading to stack exhaustion and a crash. This can potentially cause a denial-of-service (DoS) condition, and in some cases, may lead to memory corruption.

Description
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.
Source
secalert@redhat.com
NVD status
Deferred

Risk scores

CVSS 3.1

Type
Secondary
Base score
7.5
Impact score
3.6
Exploitability score
3.9
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Severity
HIGH

Weaknesses

secalert@redhat.com
CWE-674

Social media

Hype score
Not currently trending
  1. TRC analysis shows attackers exploiting libexpat vulnerabilities (CVE-2024-8176, CVE-2025-59375) in Hitachi Energy REB500 systems through crafted IEC 61850 messages. Memory exhaustion and stack overflow attacks target critical energy infrastructure. #CloudSecurity :link: Full

    @aviatrixtrc

    7 Oct 2026

    43 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  2. [CVE Analysis] CVE-2024-8176: Recursive XML Parsing Flaw Exposes Hitachi Energy ITT600 SA Explorer to Denial of Service https://t.co/DZ7CMDG90w #ICS #OTSecurity #SCADA #CriticalInfrastructure

    @breachspider

    21 Jun 2026

    49 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  3. ⚠️Actualizaciones de seguridad de Apple ❗CVE-2025-24223 ❗CVE-2025-24213 ❗CVE-2024-8176 ➡️Más info: https://t.co/5bvGNWSCU8 https://t.co/gKrrcbtAS2

    @CERTpy

    13 May 2025

    147 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  4. [JVNVU#94436634] XMLパーサーライブラリlibexpatにおける不適切な再帰制御の脆弱性(CVE-2024-8176) https://t.co/g6sIJglbD6 #jvn #脆弱性 #セキュリティ

    @jpsecuritynews

    13 May 2025

    28 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  5. JVNVU#94436634 XMLパーサーライブラリlibexpatにおける不適切な再帰制御の脆弱性(CVE-2024-8176) https://t.co/0zV3gp514H 該当のライブラリを利用されている方は早めのアップデートを。

    @Syynya

    12 May 2025

    36 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  6. 統合版 JPCERT/CC | JVN: XMLパーサーライブラリlibexpatにおける不適切な再帰制御の脆弱性(CVE-2024-8176) https://t.co/iVIpxODNfj #itsec_jp

    @itsec_jp

    12 May 2025

    87 Impressions

    1 Retweet

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  7. JVN: XMLパーサーライブラリlibexpatにおける不適切な再帰制御の脆弱性(CVE-2024-8176) https://t.co/8Kk3cyT1q0

    @AileenWoodstock

    12 May 2025

    34 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  8. XMLパーサーライブラリlibexpatにおける不適切な再帰制御の脆弱性(CVE-2024-8176) [https://t.co/5W9WRjsSFV]

    @securenews_web

    12 May 2025

    95 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  9. [2025/05/12 11:15 公表] XMLパーサーライブラリlibexpatにおける不適切な再帰制御の脆弱性(CVE-2024-8176) https://t.co/3grTXHOd3L

    @jvnjp

    12 May 2025

    2009 Impressions

    2 Retweets

    1 Like

    0 Bookmarks

    0 Replies

    1 Quote

  10. Recursion kills: The story behind CVE-2024-8176 / Expat 2.7.0 released, includes security fixes: https://t.co/rOyzAhGXFW

    @_ringzer0

    21 Mar 2025

    21 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  11. Qualys comments on the current exploitation of stack-clash vulnerabilities Re: expat vulnerability CVE-2024-8176 / impact of recursion stack overflow vulnerabilities https://t.co/MInMOq792O

    @andersonc0d3

    15 Mar 2025

    1316 Impressions

    1 Retweet

    16 Likes

    3 Bookmarks

    0 Replies

    0 Quotes

  12. 🚨 CVE-2024-8176 🔴 HIGH (7.5) 🏢 Red Hat - Red Hat Enterprise Linux 6 🏗️ None 🔗 https://t.co/oAzC6Hcecr 🔗 https://t.co/3cgeBvKfCI 🔗 https://t.co/Zdzkkte28Y #CyberCron #VulnAlert #InfoSec https://t.co/Cgt04plNy2

    @cybercronai

    14 Mar 2025

    12 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  13. Recursion kills: The story behind CVE-2024-8176 / Expat 2.7.0 released, includes security fixes https://t.co/rrnnRqa3cu

    @Dinosn

    14 Mar 2025

    1299 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  14. Recursion kills: The story behind CVE-2024-8176 in libexpat: https://t.co/d0IqVVMXWa

    @yoshiks

    14 Mar 2025

    13 Impressions

    0 Retweets

    1 Like

    0 Bookmarks

    0 Replies

    0 Quotes

  15. CVE-2024-8176 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 d… https://t.co/d4rcabLqkx

    @CVEnew

    14 Mar 2025

    413 Impressions

    0 Retweets

    2 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  16. Recursion kills: The story behind CVE-2024-8176 / Expat 2.7.0 released, includes security fixes https://t.co/9ZqdztslqX

    @ytroncal

    14 Mar 2025

    10 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  17. Recursion kills: The story behind CVE-2024-8176 / Expat 2.7.0 released, includes security fixes https://t.co/HHLRWZlHe6 https://t.co/aLwrjpT3yv

    @secharvesterx

    14 Mar 2025

    31 Impressions

    0 Retweets

    1 Like

    0 Bookmarks

    0 Replies

    0 Quotes

  18. Recursion kills: The story behind CVE-2024-8176 in libexpat #HackerNews https://t.co/UOQshWsvtG

    @hackernewstop5

    13 Mar 2025

    7 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  19. Recursion kills: The story behind CVE-2024-8176 in libexpat https://t.co/9bZSpcOwoB 3

    @cevaboyz

    13 Mar 2025

    7 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

References

Sources include official advisories and independent security research.