<!-- XE-11974 · Unbounded R at lease emission: validateEpochValue never bounds R; CapR(r, cap=0)=r survives unbounded · testnet -->
*Markdown view of <https://bounty.xe.network/XE-11974>. The page is the record; this is the same page for reading.*

XE-11974 · Bounty

# Unbounded R at lease emission: validateEpochValue never bounds R; CapR(r, cap\=0)\=r survives unbounded

Closed · duplicate
—claimed High
web
filed 2026-11-13 12:16 UTC
by xe:75fb54b9

Verdict
:   Duplicate

Tier
:   —

Claimed
:   High

Area
:   Leasing / ledger

Duplicate of
:   —

Tracked
:   internally

Updated
:   2026-11-20 00:50 UTC

Told
:   2026-11-20 00:50 UTC

### Patches

None linked.

### History

- [559327](https://bounty.xe.network/log/559327) 2026-11-20 00:50 UTC proposal.adopted
- [559326](https://bounty.xe.network/log/559326) 2026-11-20 00:50 UTC reply.sent
- [559325](https://bounty.xe.network/log/559325) 2026-11-20 00:50 UTC ticket.status new → closed
- [558554](https://bounty.xe.network/log/558554) 2026-11-20 00:49 UTC proposal.adopted
- [558553](https://bounty.xe.network/log/558553) 2026-11-20 00:49 UTC ticket.facts area
- [558551](https://bounty.xe.network/log/558551) 2026-11-20 00:49 UTC proposal.adopted
- [558550](https://bounty.xe.network/log/558550) 2026-11-20 00:49 UTC ticket.facts
- [558548](https://bounty.xe.network/log/558548) 2026-11-20 00:49 UTC proposal.adopted
- [558547](https://bounty.xe.network/log/558547) 2026-11-20 00:49 UTC ticket.facts
- [558545](https://bounty.xe.network/log/558545) 2026-11-20 00:49 UTC proposal.adopted
- [558544](https://bounty.xe.network/log/558544) 2026-11-20 00:49 UTC ticket.facts
- [555915](https://bounty.xe.network/log/555915) 2026-11-20 00:46 UTC note.added

[Full history](https://bounty.xe.network/log?ref=XE-11974) · [JSON](https://bounty.xe.network/v1/tickets/XE-11974) · [markdown](https://bounty.xe.network/XE-11974.md)

### Report

## Summary

The lease emission multiplier R has no upper bound at the emission point. validateEpochValue (statechain/kvstore.go:333) cross-checks internal consistency (r\_effective vs r\_volume/r\_price\_floor/r\_collusion) and bounds PayoutCap, but NEVER bounds R itself. CapR (core/ledger.go:2037) returns r unchanged when payoutCap\=0/twap\=0, so an unbounded R flows straight into LeaseEmissionChecked -\> unbounded XE minted at lease\_settle.

## Sink \+ root cause

xe/core/ledger.go:2037 (CapR): if payoutCap\=\=0 \|\| twap\=\=0 return r (unbounded R survives)
xe/statechain/kvstore.go:333 (validateEpochValue): no upper bound on R\_volume/R\_price\_floor.
xe/statechain/chain.go:182 (epoch write-once) \+ genesis.go:120 (DAO-governed allowed\_prefix).

## Executed PoC (Go, against source, real output)

R\=1000 -\> 1 lease mints 1000000 XE
R\=100000 -\> 1 lease mints 100000000 XE
R\=1000000000 -\> 1 lease mints 1000000000000 XE
R\=4294967295 -\> 1 lease mints 4294967295000 XE
CapR(R\=1e9, cap\=2000, twap\=1) \= 2000000 (still \~2e6, effectively unbounded)

## Impact (jujur)

An epoch writer (DAO/oracle/insider) can raise R to a huge value -\> LeaseTotalEmission mints arbitrary XE per lease. Attacker-boundary: INSIDER/GOVERNANCE (R is not settable by an external attacker; epoch params are write-once \+ DAO-governed, chain.go:182). This is a governance-misconfig class, not an 'anyone drains' claim.

## Fix

Bound R in validateEpochValue (clamp r\_volume/r\_price\_floor to a tokenomics range) and add a per-epoch hard cap on LeaseEmission.

### Thread

**Joseph Denne**team2026-11-20 00:50 UTCdesk

Thanks. This is the same finding as an earlier report that is not public, which was filed first; the programme pays the
first verifiable submission, so this one closes as a duplicate. If you believe it is a different
bug, file a new report that links https://bounty.xe.network/XE-11974 and says what differs; it is read like any other.
