Home/CVE/The XML parser (xmlparse.c) in expat before 2.1.0 computes hash values without restricting the ability to trigger hash c
CVE

CVE-2012-0876

The XML parser (xmlparse.c) in expat before 2.1.0 computes hash values without restricting the ability to trigger hash c

The XML parser (xmlparse.c) in expat before 2.1.0 computes hash values without restricting the ability to trigger hash collisions predictably, which allows context-dependent attackers to cause a denial of service (CPU consumption) via an XML file with many identifiers with the same value.

MEDIUM · CVSS 4.3 EPSS 0.00166
Monitor
  • No active-exploitation, high-EPSS, or public-exploit signals - routine patching cadence
Sigma rules16 YARA rules0

Weakness Classification

Affected Products & Versions

14
python>= 2.6.0 and < 2.6.8
python>= 2.7.0 and < 2.7.3
python>= 3.1.0 and < 3.1.5
python>= 3.2.0 and < 3.2.3
debian linuxall versions
oracle solarisall versions

Sigma Hunt Rules

16
Exact rules name this CVE ID. Product rules name an affected product in their title. Related rules cover techniques used by actors who exploited this CVE. Showing the most relevant matches; the complete related set is on the full drill-down.
producthighPython Reverse Shell Execution Via PTY And Socket Modules
producthighInline Python Execution - Spawn Shell Via OS System Library
producthighPython One-Liners with Base64 Decoding - Linux
producthighPython Function Execution Security Warning Disabled In Excel
producthighPython One-Liners with Base64 Decoding
producthighPython Spawning Pretty TTY on Windows

Scoring & Timeline

4.3
MEDIUM · CVSS v2 (legacy) · secalert@redhat.com
View on NVD
This CVE predates CVSS v3; the legacy v2 score is shown so triage still has a severity to work with.
v2 Vector
AV:N/AC:M/Au:N/C:N/I:N/A:P
Published to NVD03 Jul 2012 · 07:55 PM

Vendor Advisories

14
suse-csafopenSUSE-SU-2024:10077-1
suse-csafSUSE-SU-2020:0497-1
suse-csafSUSE-SU-2017:2699-1
suse-csafSUSE-SU-2017:2700-1
rhsaRHSA-2017:3239Moderate
🔗

References & Sources

22
Source URLs (vendor pages, mailing lists, write-ups). Exploit/PoC links are in their own section above to avoid duplication.
http://bugs.python.org/issue13703#msg151870Issue TrackingThird Party Advisory
Intelligence Graph · click any node to traverse
CVETechnique ActorTool Family
drag to reposition · click any node to traverse · button top-right enlarges
External lookups - second-class, for what we don’t hold ourselves
Vulnerabilities
CISA KEV catalog
CWE weaknesses
CAPEC attack patterns
Package vulnerabilities
Threat intelligence
Threat actors
Tools & malware
ATT&CK techniques
IOCs
Detection & defense
Sigma rules
YARA rules
Atomic Red Team tests
D3FEND countermeasures
Compliance
NIST 800-53
ISO 27001:2022
SOC 2 TSC
PCI-DSS v4.0
CIS Controls v8.1
About
All capabilities
Live statistics
Data sources
Privacy policy
Terms of service
threatengine.sh  ·  Open-source threat intelligence platform  ·  100+ authoritative sources  ·  Every fact traces to its origin