Highlights
Integer Overflow: 2 prior fixes. Scrutinize any change in this area.
contracts/PRBMath.sol: most-fixed (1 issue). Treat as high-risk during review.
2 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns
The bug types that recur here, drawn from past fixes, not open vulnerabilities.
Integer Overflow: Downcasting arbitrary signed fixed-point types (SD59x18) to lower precision types (SD1x18 and UD2x18) without explicit bounds checks allows underflow and overflow conditions to bypass Solidity's built-in compiler protections. This can lead to corrupted state or incorrect balance calculations in consuming contracts.
Integer Overflow: Unsafe multiplication during exponential loops in base math calculations can trigger integer overflows when intermediate values are squared without checking boundaries. This was mitigated by introducing explicit safety limits on the operands and utilizing the overflow-safe mulDiv utility.