Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

mpmath

Latest version: v1.5.0a2

Overview

Last scanned
30 Oct 2026
Published
30 Oct 2026
PyPI package Publisher: fredrik
1,233 Stars
229 Forks
1 Versions
125.1M Downloads
Python Repo language

Scan summary

mpmath was last scanned on 30 Oct 2026 at version 1.5.0a2. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: First and only release on 30 Oct 2026.
  • Findings: No rules fired in version 1.5.0a2.
  • Downloads: 125,116,373 downloads.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
1.5.0a2 LATEST 30 Oct 2026 No rules fired

No rules fired in 1.5.0a2

Findings

Findings for v1.5.0a2. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 1.5.0a2; other versions have their own rules, not their own score.

Known vulnerabilities

1 CVE · last 21 Jun 2021

0 CRITICAL 1 HIGH 0 MEDIUM 0 LOW

Versions

  • ≥ 1.3.0
  • < 1.3.0 1 HIGH

Vulnerabilities

  • CVE-2021-29063 High 21 Jun 2021 A Regular Expression Denial of Service (ReDOS) vulnerability was disco ... Fixed in 1.3.0

README

The publisher’s own README, as collected from the registry.

mpmath

|pypi version| |Build status| |Zenodo Badge|

.. |pypi version| image:: https://img.shields.io/pypi/v/mpmath.svg :target: https://pypi.python.org/pypi/mpmath .. |Build status| image:: https://github.com/mpmath/mpmath/workflows/test/badge.svg :target: https://github.com/mpmath/mpmath/actions?workflow=test .. |Zenodo Badge| image:: https://zenodo.org/badge/2934512.svg :target: https://zenodo.org/badge/latestdoi/2934512

A Python library for arbitrary-precision floating-point arithmetic.

Website: https://mpmath.org/ Main author: Fredrik Johansson fredrik.johansson@gmail.com

Mpmath is free software released under the New BSD License (see the LICENSE file for details).

  1. History and credits

The following people (among others) have contributed major patches or new features to mpmath:

Numerous other people have contributed by reporting bugs, requesting new features, or suggesting improvements to the documentation.

For a detailed changelog, including individual contributions, see the CHANGES file.

Fredrik's work on mpmath during summer 2008 was sponsored by Google as part of the Google Summer of Code program.

Fredrik's work on mpmath during summer 2009 was sponsored by the American Institute of Mathematics under the support of the National Science Foundation Grant No. 0757627 (FRG: L-functions and Modular Forms).

Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the sponsors.

Credit also goes to:

  • The authors of the GMP library and the Python wrapper gmpy, enabling mpmath to become much faster at high precision
  • The authors of MPFR, pari/gp, MPFUN, and other arbitrary-precision libraries, whose documentation has been helpful for implementing many of the algorithms in mpmath
  • Wikipedia contributors; Abramowitz & Stegun; Gradshteyn & Ryzhik; Wolfram Research for MathWorld and the Wolfram Functions site. These are the main references used for special functions implementations.
  • George Brandl for developing the Sphinx documentation tool used to build mpmath's documentation

Release history:

  • Version 1.4.1 released on March 15, 2026
  • Version 1.4.0 released on February 23, 2026
  • Version 1.3.0 released on March 7, 2023
  • Version 1.2.1 released on February 9, 2021
  • Version 1.2.0 released on February 1, 2021
  • Version 1.1.0 released on December 11, 2018
  • Version 1.0.0 released on September 27, 2017
  • Version 0.19 released on June 10, 2014
  • Version 0.18 released on December 31, 2013
  • Version 0.17 released on February 1, 2011
  • Version 0.16 released on September 24, 2010
  • Version 0.15 released on June 6, 2010
  • Version 0.14 released on February 5, 2010
  • Version 0.13 released on August 13, 2009
  • Version 0.12 released on June 9, 2009
  • Version 0.11 released on January 26, 2009
  • Version 0.10 released on October 15, 2008
  • Version 0.9 released on August 23, 2008
  • Version 0.8 released on April 20, 2008
  • Version 0.7 released on March 12, 2008
  • Version 0.6 released on January 13, 2008
  • Version 0.5 released on November 24, 2007
  • Version 0.4 released on November 3, 2007
  • Version 0.3 released on October 5, 2007
  • Version 0.2 released on October 2, 2007
  • Version 0.1 released on September 27, 2007
  1. Download & installation

Mpmath requires Python 3.10 or later versions. It has been tested with CPython 3.10 through 3.15, with PyPy 7.3.23 and with GraalPy 25.3.

The latest release of mpmath can be downloaded from the mpmath website and from https://github.com/mpmath/mpmath/releases

It should also be available in the Python Package Index at https://pypi.python.org/pypi/mpmath

To install latest release of Mpmath with pip, simply run

pip install mpmath

or from the source tree

pip install .

The latest development code is available from https://github.com/mpmath/mpmath

See the main documentation for more detailed instructions.

  1. Documentation

Documentation in reStructuredText format is available in the docs directory included with the source package. These files are human-readable, but can be compiled to prettier HTML using Sphinx <https://www.sphinx-doc.org/>_.

The most recent documentation is also available in HTML format:

https://mpmath.readthedocs.io/

  1. Running tests

The unit tests in mpmath/tests/ can be run with pytest <https://pytest.org/>_, see the main documentation.

You may also want to check out the demo scripts in the demo directory.

The master branch is automatically tested on the Github Actions.

  1. Known problems

Mpmath is a work in progress. Major issues include:

  • Some functions may return incorrect values when given extremely large arguments or arguments very close to singularities.

  • Directed rounding works for arithmetic operations. It is implemented heuristically for other operations, and their results may be off by one or two units in the last place (even if otherwise accurate).

  • Some IEEE 754 features are not available. Inifinities and NaN are partially supported, there is no signed zero; denormal rounding is not available at all.

  • The interface for switching precision and rounding is not finalized. The current method is not threadsafe.

  1. Help and bug reports

General questions and comments can be sent <mailto:mpmath@googlegroups.com>_ to the mpmath mailinglist <https://groups.google.com/g/mpmath>_.

You can also report bugs and send patches to the mpmath issue tracker, https://github.com/mpmath/mpmath/issues

See also our contributing guidelines <https://github.com/mpmath/mpmath/blob/master/.github/CONTRIBUTING.rst>_.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases mpmath

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Frame 2085668439 (1)
Group 1261154229