Python: An issue was discovered in libexpat before 2.6.4. (CVE-2024-50602)
A vulnerability in libexpat before version 2.6.4 causes a crash in the XML_ResumeParser function due to XML_StopParser stopping or suspending an unstarted parser. This issue affects multiple Python versions and is rated as medium severity. A patch is available to address this denial-of-service condition. Red Hat has issued a security advisory with updates for affected products.
AI Analysis
Technical Summary
CVE-2024-50602 is a denial-of-service vulnerability in libexpat versions prior to 2.6.4. The flaw occurs because the XML_ResumeParser function can crash if XML_StopParser is called on a parser that has not yet started. This leads to a denial-of-service condition. The vulnerability affects Python versions <3.9.21, >=3.10.0 <3.10.16, >=3.11.0 <3.11.11, >=3.12.0 <3.12.8, and >=3.13.0 <3.13.1. Red Hat has released patches for their Enterprise Linux distributions to mitigate this issue.
Potential Impact
The vulnerability allows an attacker to cause a denial-of-service (DoS) by crashing the XML parser in libexpat. This can disrupt applications or services that rely on XML parsing using the affected versions of libexpat, including certain Python versions. There is no indication of code execution or data breach from this vulnerability. No known exploits are reported in the wild.
Mitigation Recommendations
A patch is available to fix this vulnerability. Users should apply the updates provided by their vendors, such as the Red Hat advisory RHSA-2025:3350, which addresses this issue in Red Hat Enterprise Linux 9.2 Extended Update Support. Refer to the vendor advisory for detailed update instructions. No additional mitigation steps are indicated by the vendor.
Python: An issue was discovered in libexpat before 2.6.4. (CVE-2024-50602)
Description
A vulnerability in libexpat before version 2.6.4 causes a crash in the XML_ResumeParser function due to XML_StopParser stopping or suspending an unstarted parser. This issue affects multiple Python versions and is rated as medium severity. A patch is available to address this denial-of-service condition. Red Hat has issued a security advisory with updates for affected products.
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-50602 is a denial-of-service vulnerability in libexpat versions prior to 2.6.4. The flaw occurs because the XML_ResumeParser function can crash if XML_StopParser is called on a parser that has not yet started. This leads to a denial-of-service condition. The vulnerability affects Python versions <3.9.21, >=3.10.0 <3.10.16, >=3.11.0 <3.11.11, >=3.12.0 <3.12.8, and >=3.13.0 <3.13.1. Red Hat has released patches for their Enterprise Linux distributions to mitigate this issue.
Potential Impact
The vulnerability allows an attacker to cause a denial-of-service (DoS) by crashing the XML parser in libexpat. This can disrupt applications or services that rely on XML parsing using the affected versions of libexpat, including certain Python versions. There is no indication of code execution or data breach from this vulnerability. No known exploits are reported in the wild.
Mitigation Recommendations
A patch is available to fix this vulnerability. Users should apply the updates provided by their vendors, such as the Red Hat advisory RHSA-2025:3350, which addresses this issue in Red Hat Enterprise Linux 9.2 Extended Update Support. Refer to the vendor advisory for detailed update instructions. No additional mitigation steps are indicated by the vendor.
Technical Details
- Gcve Source
- db.gcve.eu
- Csaf Category
- csaf_security_advisory
- Csaf Version
- 2.0
- Publisher
- Red Hat Product Security
- Advisory Id
- RHSA-2025:3350
- Cve Count
- 1
Threat ID: 6a3da1d64853345fc1827293
Added to database: 06/25/2026, 21:47:02 UTC
Last enriched: 09/08/2026, 15:12:44 UTC
Last updated: 09/10/2026, 19:36:48 UTC
Views: 18
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.