In-depth lesson · technique
Limit overrun
What every disclosed Limit overrun report in the index teaches, put together: how it works, how it changed year by year, where it turns up, and things to try. Every point shows the reports it is seen in.
- reports cited in this lesson
- 82
- median public bounty
- $2,500
Overview
What it is and why programs pay for it.
Limit overrun is a race condition where a check that should happen once, such as a quota, a one-per-user action or a single-use token, is performed separately from the write it guards. When several requests arrive close together, each one passes the check before any of them has recorded its effect, so the limit is exceeded. The reports behind this lesson show the same shape across very different targets: fee withdrawal and reward claim functions in contracts, upvote and reaction buttons, promo code redemption, email change and verification, team permission mutations and token endpoints.
Programs care because the consequence is usually a direct loss of value or a break in a security boundary: fees paid twice, rewards claimed repeatedly, discounts applied more than once, extra accounts or credentials issued, or admin access surviving a transfer. In the database this lesson draws on 84 reports, 56 with a summary and 17 paid, so it is a well represented class rather than a rare curiosity. It most often appears wherever a limit is enforced in application code without a matching atomic step, and in shared caches and buffers where threads touch the same structure.
The features where it turns up range from staking and lending contracts and governance voting with transferable tokens, through checkout and loyalty claim flows, to lower level code such as shared DNS, cookie and HSTS caches, UTF-8 decoding of shared buffers and file handling around setuid binaries and log rotation. The common thread is a window between a decision and the action that depends on it.
Seen in these reports11
-
-
-
Medium
Show 5 moreShow fewer
-
Medium -
Low -
High -
Low -
Medium
How it works
The mechanics, as the reports show them.
The basic pattern starts with a request that reads some state to decide whether an action is allowed: has this user already voted, has this code been used, is the quota full, has this period been claimed. The decision is made, the request proceeds, and only afterwards is the effect written down. If a second request arrives in that gap, it reads the same pre-action state and is also allowed.
What makes it possible is the absence of an atomic guard. The operation is not wrapped in a transaction, a lock or a unique constraint, so parallel requests each succeed independently. Where a database constraint does exist at application level only, duplicates and cyclic states still get through. Where a lock exists elsewhere for the same structure, one code path may simply not take it.
A second family involves time of check to time of use on files and paths. A file or path is checked and then reopened or executed later, so it can be swapped in between. The same idea appears in shared memory that is validated and then converted in place without copying, letting another thread change it after the check.
A third family is asynchronous or transitional state. Approval removal after a new commit is processed asynchronously, leaving a window to merge. A permission callback runs before the object is marked protected. Resources are accepted before a policy enforcement webhook is operational. A channel is set as active after a check that ignores channels in a transitional state.
The fixes show what the missing ingredient was: enforce limits and duplicate checks atomically in the same step as the write, bind one-time codes to a single request and invalidate them after use, hold an open file handle between check and use, take the cache lock around every mutation, make payment processing idempotent, and add database level constraints. Each of these closes the window rather than narrowing it.
Seen in these reports22
-
Medium -
$15,250 Critical -
$10,000 High
Show 5 moreShow fewer
-
$6,000 -
$3,000 High -
$1,337 -
$1,000
-
$500 Low
Year by year
10 yearsWhat each year's disclosed reports show, newest first. A year with few reports says less.
| 2013 | 3 |
|---|---|
| 2015 | 4 |
| 2016 | 7 |
| 2017 | 4 |
| 2018 | 5 |
| 2019 | 7 |
| 2020 | 14 |
| 2021 | 11 |
| 2022 | 12 |
| 2023 | 17 |
| 2024 | 34 |
| 2025 | 89 |
| 2026 | 166 |
-
2026
New this year3
- Shared DNS, cookie and HSTS caches used across threads became a clear focus in the disclosed reports.
- UTF-8 decoding of shared buffers and buffer allocation under VM timeouts appeared as new memory safety race targets.
- Triggering an HSTS entry deletion with a zero max-age while another thread parsed the same shared cache to check for use after free was a new pattern.
Kept working6
- Recent source and hardware reports focused on memory safety races in shared caches, buffers and kernel structures.
- Running two threads that shared a DNS cache and both resolved non-existent names to watch for heap corruption or a double free worked.
Turned up less1
- Web application races on voting, coupons, invitations and verification flows, common in earlier years, were much rarer in this batch of source and hardware reports.
-
2025
New this year3
- Later reports mention single-packet delivery to widen the race window, a technique that first clearly appears here.
- Recent source and hardware reports focused on memory safety races in shared caches, buffers and kernel structures.
- Racing an interchain account channel upgrade by opening a competing channel with a different encoding in the window before the active channel was set appeared.
Kept working2
- Interleaving an email change request with a verification request so that the confirmation for one address applied to a different address remained productive.
- Racing a file upload against the case-sensitivity check on a case-insensitive file system and checking whether the file was later treated as executable was effective.
-
2024
New this year3
- GraphQL mutations for claiming and updating team permissions during repository transfer or detach appeared as a new target.
- Racing a user-to-organisation conversion to retain administrative access was a new pattern.
- Sending parallel verification requests to a cloud backend to exceed the maximum allowed verification count appeared.
Kept working2
- Sending several parallel 2FA reset requests, cancelling one, and checking whether the others remained active was productive.
- Sending the add-email request many times at once with different addresses and checking whether the per-account maximum was bypassed worked.
Earlier years7
Where it is found
45The features and places the reports found it in, most-reported first.
-
Voting endpoints for upvoting and downvoting on report, term and post pages.
Seen in 3 reports
-
Promo code redemption and payment link checkout flows.
Seen in 3 reports
-
Email change and verification flows in account and partner settings.
Seen in 3 reports
-
GraphQL mutations for claiming and updating team permissions.
Seen in 3 reports
-
One-per-user reaction and like buttons on community and social pages.
Seen in 3 reports
Technologies in these reports16
Root causes
14The mistakes in the code or configuration behind the reports.
-
A limit or duplicate check runs as a separate step from the write, so concurrent requests all pass before any is recorded.
Seen in 17 reports
-
The operation is not wrapped in a transaction, lock or unique constraint, so parallel requests each succeed.
Seen in 11 reports
-
Shared state is read or mutated without the lock that other code paths use for the same structure.
Seen in 5 reports
-
A file or path is checked and then reopened or executed later, allowing it to be swapped in between.
Seen in 4 reports
-
Shared memory is validated and then converted in place without copying, so another thread can change it.
Things to try
The most-reported tests in the largest contexts. Tick what you have tried; ticks stay in this browser and carry over to the full checklist. Test only what a program's scope allows.
ticked in this lesson
Kernel and privileged operations
of 3 ticked-
Seen in 1 report
-
Seen in 1 report
-
Seen in 1 report
Team and organisation permissions
of 3 ticked-
Seen in 2 reports
-
Seen in 1 report
Promo codes and discounts
of 3 ticked-
Seen in 3 reports
-
Seen in 1 report
Bypasses and variations
23How reports got past filters, encoders and other defences.
-
Send one request with the victim's address and one with your own in parallel so both receive the same one-time code.
Seen in 2 reports
-
Apply a permission mutation during a transfer or detach so the change lands after the operation completes.
Seen in 2 reports
-
Send many invites at once and cancel them afterwards to regain the credits.
-
Use a legacy publish request during the installation window instead of the normal purchase flow.
Seen in 1 report
-
Package the theme in a themepack file to avoid the mark-of-the-web warning.
Seen in 1 report
Payouts
18 paidPublic bounties in US dollars, from the data. 18 of 441 reports show an amount.
- a quarter paid up to
- $1,000
- median
- $2,500
- three quarters paid up to
- $5,750
- highest
- $31k
One in ten paid reports was paid $12k or more.
| Severity | Reports | Paid | Median | Highest |
|---|---|---|---|---|
| Critical | 12 | 2 | $10k | $15k |
| High | 40 | 3 | $10k | $10k |
| Medium | 66 | 0 | None paid | None |
| Low | 29 | 3 | $500 | $2,000 |
| Informational | 4 | 0 | None paid | None |
| Unrated | 290 | 10 | $1,669 | $31k |
Highest-paid reports5
-
$30,500 -
$15,250 Critical -
$10,000 High -
$10,000 High -
$6,000
Typical fixes
12How programs fixed it, as the reports describe.
-
Enforce limits and duplicate checks atomically, using a lock or a database unique constraint in the same step as the write.
Seen in 15 reports
-
Bind one-time codes and verification results to a single request and invalidate them after use.
Seen in 3 reports
-
Hold an open file handle or use no-follow opens between the check and the use of a path.
Seen in 3 reports
-
Take the cache lock around every mutation and refcount change of shared structures.
Seen in 3 reports
-
Make payment and retest processing idempotent so a repeated request cannot trigger a second payment.
Tips for beginners
12Advice for a first hunt, drawn from the reports.
-
Show impact in terms of the limit that was broken: extra credits, a second payout, a discount applied twice, an account created beyond the maximum, or access that should have been removed. A duplicate record with no consequence is weak evidence.
Seen in 5 reports
-
Test limits that are described in a plan or quota: store locations, workspace creation, verification counts, subscriber limits. Send several create requests at the same moment and see whether more than the plan allows are created.
Seen in 4 reports
-
Start with features that have an obvious one-per-user or one-per-period rule: reaction and like buttons, promo code redemption, reward claims keyed by period or snapshot, and first-time customer claims. These are the easiest places to see whether the rule is enforced atomically.
Seen in 3 reports
-
For account and verification flows, interleave an email change with a verification request, or replay one verified registration request with different usernames and emails, and check whether the confirmation applies to the wrong address or several accounts are created.
Seen in 3 reports
-
Check scope before you spend time. Some of the items in this evidence are in components that programs may exclude, such as third party libraries, kernel internals or infrastructure outside the target. Confirm the endpoint or contract is in scope first.
Seen in 3 reports
Guides and techniques
The best explainers, cheat sheets and technique posts on Limit overrun, from around the web.
-
Metasploit Wrap Up: Breaking Zimbra's Identity BoundariesMetasploit adds Zimbra modules for an authorisation bypass and a GraphQL rate-limit bypass, plus a shared SOAP authentication mixin.
Rapid7
-
Concurrency exploits: The ultimate Bug Bounty guide to exploiting race condition vulnerabilities in web applicationsCovers race condition exploitation using last-byte synchronisation and single-packet attacks with Turbo Intruder, plus mitigation advice.
Explainer yeswehack.com
-
Mastering API Rate Limiting Bypasses: 10 Real-World Case Studies Every Pentester Should KnowPresents ten case studies of API rate limit bypasses, useful for testing login and OTP throttling.
Technique medium.com
-
Detecting and exploiting limit overrun race conditions with Burp RepeaterShows how to detect and exploit limit overrun race conditions using Burp Repeater's parallel send feature.
Technique cyberw1ng.medium.com
-
The Object Was Never Finished — Race Conditions Part 3: Advanced Techniques & PreventionExplains partial construction race conditions where objects exist briefly in an incomplete state, and how to exploit and prevent them.
Technique medium.com
Keep learning
Where this lesson fits, and what to read next.
The whole class
Related techniques
How this is made: our model read every listed Limit overrun report in the index (our own summary where we have one, otherwise the title and the platform's label), listed the patterns, and merged them. Each point was kept only if the reports it cites exist, are listed and belong here; payouts are computed from the data, not written by the model. Read the originals before relying on a point. Generated 27 Nov 2026 from 84 reports. All Limit overrun reports.