CVE-2024-50602
Exim vulnerability analysis and mitigation

Overview

A security vulnerability (CVE-2024-50602) was discovered in libexpat versions before 2.6.4. The vulnerability involves a crash within the XML_ResumeParser function due to XML_StopParser's ability to stop or suspend an unstarted parser (NVD, Debian Tracker).

Technical details

The vulnerability occurs when XML_StopParser attempts to stop or suspend a parser that hasn't been started, leading to a NULL pointer dereference in the normal_updatePosition function. This results in a crash with AddressSanitizer reporting a SEGV on an unknown address, specifically a READ memory access pointing to the zero page (GitHub PR). The vulnerability has been assigned a CVSS 3.1 Base Score of 5.9 (Medium) with the vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The vulnerability can lead to a crash of applications using the affected libexpat versions, potentially causing denial of service when processing XML data (NVD). This affects various systems and applications that depend on libexpat for XML parsing functionality.

Exploitability

The vulnerability can be triggered through XML parsing operations involving the XML_ResumeParser function when used in conjunction with XML_StopParser on an unstarted parser. The attack requires no privileges or user interaction, though it has high attack complexity (NVD).

Mitigation and workarounds

The vulnerability has been fixed in libexpat version 2.6.4. Users should upgrade to this version or apply the available patches. For Python users specifically, the fix is available in Python versions 3.13.1, 3.12.8, 3.11.11, 3.10.16, and 3.9.21, which include the updated libexpat (GitHub PR).

Additional resources


SourceThis report was generated using AI

Related Exim vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-45185CRITICAL9.8
  • Exim logoExim
  • exim4
NoYesMay 12, 2026
CVE-2026-40687CRITICAL9.1
  • Exim logoExim
  • mail-mta/exim
NoYesApr 30, 2026
CVE-2026-66140HIGH8.4
  • Exim logoExim
  • cpe:2.3:a:exim:exim
NoYesJul 24, 2026
CVE-2026-66141HIGH7.4
  • Exim logoExim
  • exim
NoYesJul 24, 2026
CVE-2026-48840MEDIUM5.3
  • Exim logoExim
  • exim-mon
NoYesMay 30, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management