Home / Python / Keyring / CVE-2012-4571
CVE-2012-4571: is it exploited, and which versions of Python Keyring are affected and fixed?
CVE-2012-4571 is a weak encryption vulnerability in Python Keyring. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 06:38 UTC). Affected: keyring before 0.9.2 (GitHub advisory GHSA-p3h7-3c45-qj4v). Fixed in 0.9.2 (GitHub advisory GHSA-p3h7-3c45-qj4v). Severity: Low (2.1, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 06:38 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:48 UTC.
What is CVE-2012-4571?
Python Keyring 0.9.1 does not securely initialize the cipher when encrypting passwords for CryptedFileKeyring files, which makes it easier for local users to obtain passwords via a brute-force attack.
From the CVE record by redhat, last updated September 17, 2024, 03:07 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | keyring | < 0.9.2 | 0.9.2 | GHSA-p3h7-3c45-qj4v |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 27, 2024. Summary: Python Keyring does not securely initialize encryption cipher.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| python | keyring | 0.9.1 | application |
NVD analysis (status Modified), last modified June 16, 2026, 23:45 UTC.
How severe is CVE-2012-4571?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 2.1 | CVSS 2.0 | AV:L/AC:L/Au:N/C:P/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2012-4571 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.37% probability of exploitation activity in the next 30 days, percentile 32.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- http://pypi.python.org/pypi/keyring x_refsource_CONFIRM
- https://bugs.launchpad.net/ubuntu/+source/python-keyring/+bug/1004845 x_refsource_MISC
- [oss-security] 20121031 Re: CVE Request: Python keyring mailing-list, x_refsource_MLIST
- USN-1634-1 vendor-advisory, x_refsource_UBUNTU
When was it published, and where is the official record?
- Reserved
- August 21, 2012
- Published
- November 30, 2012, 22:00 UTC
- CVE record updated
- September 17, 2024, 03:07 UTC by redhat
- NVD
- Modified, last modified June 16, 2026, 23:45 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:48 UTC; KEV December 3, 2026, 06:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2012-4571
Is CVE-2012-4571 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 06:38 UTC. FIRST's EPSS gives it a 0.37% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Python Keyring are affected by CVE-2012-4571?
keyring before 0.9.2, per the GitHub advisory GHSA-p3h7-3c45-qj4v. The tables above give every range the sources list.
Which version fixes CVE-2012-4571?
0.9.2, per the GitHub advisory GHSA-p3h7-3c45-qj4v. Check the vendor's advisory before you rely on it.
How severe is CVE-2012-4571?
Low (2.1, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2012-4571?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.