Denial of Service Vulnerability in Universal Feed Parser

feedparser Updated 02 Oct 2025

Summary

21/05/2012
N/A
Yes i
Unrated
Not published

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 consumption) via a crafted XML ENTITY declaration in a non-ASCII encoded document. Affects feedparser versions < 5.1.2-1. Fixed in 5.1.2-1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Universal Feed Parser (also known as feedparser or python-feedparser) is a Python library used for parsing RSS and Atom feeds. It provides a convenient way to extract data from feed documents and is widely used in various applications. However, versions prior to 5.1.2 are vulnerable to a denial of service attack.

Vulnerability Detail

The vulnerability, identified as CVE-2012-2921, allows remote attackers to cause a denial of service by exploiting a memory consumption issue. By sending a crafted XML ENTITY declaration in a non-ASCII encoded document, an attacker can cause the parser to consume excessive memory, leading to resource exhaustion and potential system instability.

How To Fix

Minimum fixed version

5.1.2-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade feedparser

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to update the library to the fixed version to mitigate the risk of a denial of service attack.

Conclusion

The denial of service vulnerability in Universal Feed Parser can be mitigated by updating the library to version 5.1.2-1 or later. It is crucial to apply this fix to prevent potential resource exhaustion and system instability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for feedparser →

Share this vulnerability

FAQ

Universal Feed Parser is a Python library used for parsing RSS and Atom feeds. It allows developers to extract data from feed documents easily.

The vulnerability can be exploited by remote attackers to cause a denial of service, leading to excessive memory consumption and potential system instability.

To fix this vulnerability, update the Universal Feed Parser library to version 5.1.2-1 or later.

No, there is no known workaround for this vulnerability. Updating the library to the fixed version is the recommended solution.

Related vulnerabilities

Recent vulnerabilities recorded for feedparser.

How To Fix

Minimum fixed version

5.1.2-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade feedparser

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback