Skip to content

Code4rena

Blend V2 Audit + Certora Formal Verification

Every publicly disclosed report for Blend V2 Audit + Certora Formal Verification and what kind of bugs they were.

disclosed reports
21
most reported class
Business logic
bug classes found
2
first disclosure
2025
Find Blend V2 Audit + Certora Formal Verification on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Blend V2 Audit + Certora Formal Verification chose to make public.

Business logic

Utilization ratio can exceed 100% due to missing validation in withdrawal functions

The protocol's maximum utilization check is only applied when borrowing, not when withdrawing, so a large withdrawal can push utilization above 100%. This can cause extreme interest rates and market instability, potentially leading to bad debt and insolvency.

Blend V2 Audit + Certora Formal Verification

High
Business logic

Invalid utilization ratio check, blocking users from submitting a flash loan

The flash loan function checks the asset's utilization ratio immediately after adding the loan liability, before the user can execute actions and repay. This causes legitimate flash loans that would end below the maximum utilization to revert, blocking users from using the feature.

Blend V2 Audit + Certora Formal Verification

Medium
Business logic

Missing update_rz_emis_data calls in draw and donate functions lead to incorrect emissions distribution

The execute_draw and execute_donate functions modify the non_queued_tokens value without first updating the reward zone emissions data, causing the emissions index to be calculated with incorrect token amounts. This leads to unfair distribution of emissions: pools that have tokens drawn earn fewer emissions, while pools that receive donations earn more than they should.

Blend V2 Audit + Certora Formal Verification

Medium
Business logic

Removing a pool from the reward zone leads to the loss of ungulped emissions

When a pool is removed from the reward zone, its unaccrued emissions are not accounted for, so those emissions are permanently lost and cannot be claimed. An attacker could not directly exploit this, but the pool's users lose their share of emissions.

Blend V2 Audit + Certora Formal Verification

Medium
Business logic

Malicious actors can repeatedly dilute emissions to a longer timeframe

The gulp_emissions function could be called repeatedly with no minimum time between calls, allowing anyone to dilute existing rewards over a longer timeframe and delay emissions. This could unfairly reduce rewards for current stakers.

Blend V2 Audit + Certora Formal Verification

Medium
Business logic

Edge case breaks APR cap calculation and leads to excessive fee extraction from the pool

The fee vault's update_rate function uses integer division that can round the target growth rate down to 1.0 when the product of 100,000, target APR, and elapsed time is less than seconds per year. This causes the protocol to take 100% of any interest growth as fees, even when the growth is below the configured APR cap.

Blend V2 Audit + Certora Formal Verification

Medium
Business logic

Bad debt can be permanently blocked from being moved to backstop

The bad-debt transfer function refuses to move a position's debt to the backstop whenever the position still holds any collateral, and there is no minimum collateral size. The position owner can therefore deposit a dust amount of collateral to permanently block the bad debt from being auctioned, and the dust cannot be liquidated either.

Blend V2 Audit + Certora Formal Verification

Medium
Business logic

Pools outside of the reward zone can keep receiving Blend tokens

A pool removed from the reward zone could still accrue Blend emissions because the gulp function reset its emission index. An attacker could create a pool, get it into the reward zone, then remove it and keep receiving emissions, diverting tokens from legitimate pools.

Blend V2 Audit + Certora Formal Verification

Medium
Business logic

A reserve’s d_supply is incorrectly updated and stored after flash loan execution

The flash loan execution path updates a reserve's d_supply but fails to cache the reserve, so a subsequent repay request loads a stale d_supply from storage and overwrites the correct value. This can let a user borrow beyond the maximum utilisation, distort interest accrual, make d_supply negative, and inflate BLEND token rewards.

Blend V2 Audit + Certora Formal Verification

High
Business logic

User can steal other users’ emissions due to vulnerable claim implementation

The claim function in the backstop contract fails to update emission data for the recipient address when claiming on behalf of another address, allowing the recipient to claim emissions without proper accumulation. An attacker can exploit this to steal emissions from other users by claiming to a new address and then immediately claiming from that address.

Blend V2 Audit + Certora Formal Verification

High
Business logic

Flash loans allow borrowing from frozen pools, bypassing security controls

The flash loan function in Blend's lending pool did not check the pool's status, so a user could borrow assets even when the pool was frozen or on-ice. An attacker could use a flash loan to effectively perform a borrow operation that should have been blocked by the pool's risk controls.

Blend V2 Audit + Certora Formal Verification

Medium
Business logic

Users can create overpriced bad debt and interest auctions by providing duplicate reserves

The auction creation functions did not check for duplicate reserves in the provided lot, allowing an attacker to inflate the auction's value by repeating the same reserve multiple times. This could create overpriced interest or bad debt auctions, potentially causing losses for the protocol or fillers.

Blend V2 Audit + Certora Formal Verification

Medium
Business logic

Pool’s gulped emissions could be lost if a reserve has no supply

The emission distribution logic does not skip reserves with zero supply, so emissions allocated to such reserves are permanently lost and cannot be claimed. An attacker could not directly exploit this, but the protocol loses funds that should have gone to other reserves or future suppliers.

Blend V2 Audit + Certora Formal Verification

Medium
Business logic

When code defaults on remaining liability, it does not delete remaining auction, which is problematic if the user has called fill with a % less than 100

When a bad debt auction is partially filled and the backstop threshold falls below 5%, the code defaults the remaining liability but leaves the remaining auction in storage. This allows a later filler to obtain the remaining backstop tokens without taking on any debt, causing a loss to backstop stakers.

Blend V2 Audit + Certora Formal Verification

Medium
Business logic

Fee-vault can be made insolvent in case of defaults

The fee vault caches the pool's b_rate and skips updating it if the timestamp matches, so within a single block a default that lowers the pool's b_rate leaves the vault using an outdated higher rate. An attacker can bundle a deposit, a liquidation causing default, and a withdrawal in one block to make the vault burn fewer b_tokens than the pool actually burns, creating a deficit that makes the vault insolvent for the last withdrawer.

Blend V2 Audit + Certora Formal Verification

Medium
Business logic

Attackers can maliciously inflate total_supply temporarily to exceed utilization rate limit and push the pool towards 100% util rate, potentially causing a loss of lender funds

The pool's utilisation rate limit was only checked during the borrow action, so a user could temporarily inflate total_supply with a supply action, borrow past the limit, then withdraw the supplied funds in the same transaction. This allowed pushing the pool towards 100% utilisation without providing real funds, potentially causing lender losses from bad debt.

Blend V2 Audit + Certora Formal Verification

Medium