CVE-2012-2921 json
feedparser denial of service vulnerability
published 2012-05-21 14 y ago modified 2026-06-16 4 mo ago also GHSA-hjf3-r7gw-9rwg , PYSEC-2012-14 , EUVD-2012-0008
- cvss
- 7.5
- version 3.1, GitHub
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.7%
- EPSS 2.7% chance of exploitation in 30 days, percentile 86%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi feedparser 5.1.2
- feedparser Debian 14, Debian 13, Debian 12 5.1.2-1
debian advisories DEBIAN-CVE-2012-2921
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2012-2921 updated cvss 4.3
python-feedparser: DoS via memory consumption processing ENTITY declarations
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.74% chance of exploitation in the next 30 days, higher than 86% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | feedparser | <5.1.2 |
5.1.2 |
Classification
References
-
mandriva.com
/security/advisories?name=MDVSA-2013:118
vendor-advisory, advisory
-
osvdb.org
/81701
vdb-entry, web
-
code.google.com
/p/feedparser/source/browse/trunk/NEWS?spec=svn706&r=706
web
-
wiki.mageia.org
/en/Support/Advisories/MGASA-2012-0157
web
-
code.google.com
/p/feedparser/source/detail?r=703&path=/trunk/feedparser/feedparser.py
web
-
securityfocus.com
/bid/53654
vdb-entry, web
-
freecode.com
/projects/feedparser/releases/344371
web
-
secunia.com
/advisories/49256
third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2012-2921
advisory
-
github.com
/advisories/GHSA-hjf3-r7gw-9rwg
advisory
-
github.com
/kurtmckee/feedparser
package
-
github.com
/pypa/advisory-database/tree/main/vulns/feedparser/PYSEC-2012-14.yaml
web
-
web.archive.org
/web/20120604210617/http://www.securityfocus.com/bid/53654
web
-
web.archive.org
/web/20150523060531/http://www.mandriva.com/en/support/security/advisories/advisory/MDVSA-2013:118/?name=MDVSA
web
Sources
- CVE List CVE-2012-2921
- GitHub Advisory GHSA-hjf3-r7gw-9rwg
- NVD CVE-2012-2921
- OSV PYSEC-2012-14
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.