Skip to content
OpenAdvisories

Package · Hackage

scientific

2 known vulnerabilities.

2 results · Feed

  • Unscored —

    Out-of-bounds read in Eq and Ord on numbers with extreme exponents

    # Out-of-bounds read in Eq and Ord on numbers with extreme exponents `scientific-0.3.9.0` reimplemented `Eq` and `Ord` without normalising their arguments. The new implementation short-circuits on `integerLog10' c + e` computed in `Int`, which overflows when …

  • Unscored —

    Superlinear encoding of numbers with large coefficients

    # Superlinear encoding of numbers with large coefficients Encoding (pretty-printing) a `Scientific` number whose coefficient has many digits took time quadratic in the number of digits: the decimal digits were extracted by repeatedly dividing the whole coeffi…