Skip to content
Fencer Intel
medium 5.0

CVE-2012-0845 json

SimpleXMLRPCServer.py in SimpleXMLRPCServer in Python before 2.6.8, 2.7.x before 2.7.3, 3.x before 3.1.5, and 3.2.x before 3.2.3 allows rem…

published 2012-10-05 14 y ago modified 2026-06-16 4 mo ago also EUVD-2012-0870

cvss
5.0
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
5.4%
EPSS 5.4% chance of exploitation in 30 days, percentile 92%
public exploits
0
none known

Summary

SimpleXMLRPCServer.py in SimpleXMLRPCServer in Python before 2.6.8, 2.7.x before 2.7.3, 3.x before 3.1.5, and 3.2.x before 3.2.3 allows remote attackers to cause a denial of service (infinite loop and CPU consumption) via an XML-RPC POST request that contains a smaller amount of data than specified by the Content-Length header.

Patch / fix

  • python2.7 Debian 11 2.7.3~rc1-1

debian advisories DEBIAN-CVE-2012-0845

  • python RHEL 6 2.6.6-29.el6_2.2
  • tkinter RHEL 6 2.6.6-29.el6_2.2
  • python-libs RHEL 6 2.6.6-29.el6_2.2
  • python-test RHEL 6 2.6.6-29.el6_2.2
  • python-tools RHEL 6 2.6.6-29.el6_2.2

red hat advisories RHSA-2012:0744

  • python SLE Module for Python 2 15 SP1, SLE Module for Desktop Applications 15 SP1, SLE Module for Desktop Applications 15 +2 more 2.7.17-7.32.2
  • python-base SLE Module for Python 2 15 SP1, SLE Module for Basesystem 15 SP1, SLE Module for Basesystem 15 2.7.17-7.32.1
  • python3 SLE Module for Basesystem 15 SP1, SLE Module for Basesystem 15 3.6.10-3.42.2
  • python3-base SLE Module for Development Tools 15 SP1, SLE Module for Development Tools 15, SLE Module for Basesystem 15 SP1 +1 more 3.6.10-3.42.2

suse advisories SUSE-SU-2020:0234-1SUSE-SU-2020:0114-1

  • python315 openSUSE Tumbleweed 3.15.0~a1-1.1
  • python314 openSUSE Tumbleweed 3.14.0~a1-1.1
  • python313 openSUSE Tumbleweed 3.13.0~b3-1.1
  • python-base openSUSE Tumbleweed 2.7.12-1.4
  • python openSUSE Tumbleweed 2.7.18-8.1
  • python310 openSUSE Tumbleweed 3.10.0rc1-4.2
  • python36 openSUSE Tumbleweed 3.6.15-1.1
  • python38 openSUSE Tumbleweed 3.8.12-1.2

opensuse advisories openSUSE-SU-2025:15713-1openSUSE-SU-2024:14434-1openSUSE-SU-2024:14109-1openSUSE-SU-2024:10536-1openSUSE-SU-2024:11202-1openSUSE-SU-2024:11283-1

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-0845 updated cvss 5.0

python: SimpleXMLRPCServer CPU usage DoS via malformed XML-RPC request

  • Red Hat Enterprise Linux Desktop (v. 6) python 2.6.6-29.el6_2.2, tkinter 2.6.6-29.el6_2.2, python-libs 2.6.6-29.el6_2.2 Red Hat Enterprise Linux Desktop Optional (v. 6) python 2.6.6-29.el6_2.2, python-test 2.6.6-29.el6_2.2, python-tools 2.6.6-29.el6_2.2 Red Hat Enterprise Linux HPC Node (v. 6) python 2.6.6-29.el6_2.2, python-libs 2.6.6-29.el6_2.2 Red Hat Enterprise Linux HPC Node Optional (v. 6) python 2.6.6-29.el6_2.2, tkinter 2.6.6-29.el6_2.2, python-test 2.6.6-29.el6_2.2, python-tools 2.6.6-29.el6_2.2 Red Hat Enterprise Linux Server (v. 6) python 2.6.6-29.el6_2.2, tkinter 2.6.6-29.el6_2.2, python-libs 2.6.6-29.el6_2.2 Red Hat Enterprise Linux Server Optional (v. 6) python 2.6.6-29.el6_2.2, tkinter 2.6.6-29.el6_2.2, python-test 2.6.6-29.el6_2.2, python-tools 2.6.6-29.el6_2.2
    +2 more products
    Red Hat Enterprise Linux Workstation (v. 6) python 2.6.6-29.el6_2.2, tkinter 2.6.6-29.el6_2.2, python-libs 2.6.6-29.el6_2.2 Red Hat Enterprise Linux Workstation Optional (v. 6) python 2.6.6-29.el6_2.2, python-test 2.6.6-29.el6_2.2, python-tools 2.6.6-29.el6_2.2
    fixed: vendor fix RHSA-2012:0744
  • Red Hat Enterprise Linux 4 python Red Hat Enterprise Linux 5 python
    not 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

5.40% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • bugs.python.org http://bugs.python.org/issue14001 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P

Classification

Weakness
  • CWE-399 Resource Management Errors

References

Sources

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.