In-depth lesson · bug class
Cryptographic weaknesses
What every disclosed Crypto 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
- 395
- median public bounty
- $900
Learning Crypto reading list
Overview
What it is and why programs pay for it.
Cryptographic weaknesses are flaws in how software uses encryption, signatures, certificates or randomness, rather than breaks of the underlying maths. In bug bounty terms they usually show up as a check that is missing, skipped or applied to the wrong thing: a TLS client that does not verify a hostname, a session cache that resumes across different trust settings, a token generator seeded from a clock. The evidence here is dominated by TLS and SSH client libraries, where certificate, hostname, OCSP and pinning checks are implemented per backend and one backend quietly disagrees with another.
Programs care because these flaws turn into interception, impersonation and account takeover. A skipped hostname check lets an attacker with any trusted certificate read or alter traffic; a session resumed across trust settings carries a weaker decision into a stronger context; a predictable token or a weak session secret lets someone forge their way in. The reports behind this lesson range from protocol-level issues in TLS stacks to application-level mistakes such as a naive hash construction or a non-constant-time comparison.
It is most often found in client-side and library code rather than in a single web endpoint: HTTP client TLS backends, SSH backends, mail clients, proxy agents, mobile apps and SDKs. It also appears in application logic that touches secrets, tokens, sessions and signatures. The common thread is that the security decision is made in one place and assumed everywhere else, so a per-backend or per-path difference is where the bug lives.
Seen in these reports17
-
$2,580 Medium -
$1,500 Critical -
$560 Low
Show 5 moreShow fewer
-
$150 Low -
$100 Medium -
$25 High -
Low -
How it works
The mechanics, as the reports show them.
Start from the trust decision the code is supposed to make. For a TLS client that means: is this certificate chained to a trusted root, is it valid now, is it revoked, does its name match the host I meant to reach, and does its key match what I pinned. Each of those is a separate check, and the evidence shows them being implemented per backend, so the first question is which backend is in use and whether it performs all of them.
Then look at what the check is actually conditioned on. A hostname check guarded by the presence of a server name indication means connections by IP address skip it. A status check that tests whether a response is present rather than whether the status inside it is good never reaches the revoked case. A flag that skips the OpenSSL OCSP check assumes another trust path enforces it, but that path only sees a stapled response when one exists. The mistake is a condition that is true in the common case and false exactly when it matters.
Caching and reuse are where decisions leak between contexts. If the session cache key omits part of the connection identity, such as the signature algorithms, the native CA store or the SSL context callback, a session validated under one policy can be resumed under another. The same pattern appears with connection reuse: a later request that requires TLS, or a STARTTLS upgrade, is served over an existing connection that was established under weaker terms.
Some weaknesses are in the primitive itself. Encryption without authentication means ciphertext integrity is never verified, so modified ciphertext is accepted. A padding check rewritten to be constant-time but not checking that enough data is present for both MAC and padding still leaks. A hash built as secret concatenated with message instead of an HMAC allows length extension. A pseudo-random generator seeded from a low-resolution clock gives a small set of predictable seeds.
Finally, look at what the signature or token actually covers. A request signature that omits the endpoint and payload lets signed requests be altered. A signature extractor that ends the signed block at the first blank line folds trailing headers into the signed data. A verifier that does not pin the signing algorithm accepts an HMAC token signed with the public key used as the secret. The question is always: what exactly is committed to, and what can change without invalidating it.
Seen in these reports28
-
$2,580 Medium -
Medium -
Medium
Show 5 moreShow fewer
-
$4,000 High -
$2,500 -
$1,337 High -
$750 Medium -
$560 Low
Year by year
13 yearsWhat each year's disclosed reports show, newest first. A year with few reports says less.
| 2010 | 2 |
|---|---|
| 2011 | 1 |
| 2012 | 5 |
| 2013 | 2 |
| 2014 | 33 |
| 2015 | 33 |
| 2016 | 42 |
| 2017 | 55 |
| 2018 | 27 |
| 2019 | 40 |
| 2020 | 45 |
| 2021 | 53 |
| 2022 | 61 |
| 2023 | 67 |
| 2024 | 81 |
| 2025 | 124 |
| 2026 | 246 |
-
2026
New this year4
- Testing browser network, loader, CORS and federated identity flows with crafted certificates first appears in the disclosed reports.
- Testing HSTS cache import dropping parent or child entries first appears in the disclosed reports.
- Testing client authentication only certificates against server connections first appears in the disclosed reports.
Kept working6
- Reports clustered heavily on the TLS backend layer of a single HTTP client library, with many marked as incomplete fixes of earlier reports.
- Testing OCSP stapling bypass and revoked certificate acceptance across backends and trust paths worked in the disclosed reports.
Turned up less2
- Testing WebSocket masking key reuse, seen in the earlier disclosed reports, is not represented this year.
- Testing clock-seeded token generators, seen in the earlier disclosed reports, is not represented this year.
-
2025
New this year4
- Testing WebSocket masking key reuse across frames first appears in the disclosed reports.
- Testing clock-seeded token generators for small seed space first appears in the disclosed reports.
- Testing CA bundle environment variable trust injection first appears in the disclosed reports.
Kept working6
- Reports clustered on the TLS backend layer of a single HTTP client library, testing certificate, hostname, OCSP and pinning checks per backend.
- Inspecting library default cipher and protocol choices for deprecated algorithms worked in the disclosed reports.
Turned up less1
- Testing PKCS#1 v1.5 padding timing side channels, seen in the earlier disclosed reports, is not represented this year.
-
2024
New this year4
- Testing QUIC error paths for skipped certificate verification first appears in the disclosed reports.
- Testing git commit signature blocks with extra headers to keep verified badges first appears in the disclosed reports.
- Testing blockchain block merging without changing the block hash first appears in the disclosed reports.
Kept working3
- Reports clustered on the TLS backend layer of a single HTTP client library, testing certificate, hostname, OCSP and pinning checks per backend.
- Testing raw IP address hosts against TLS backends that rely on hostname being set found issues in the disclosed reports.
Turned up less2
- ECDSA nonce reuse testing, seen in the earlier disclosed reports, is not represented this year.
- Testing HSTS bypass via trailing dots and IDN, seen in the earlier disclosed reports, is not represented this year.
Earlier years10
Where it is found
1The features and places the reports found it in, most-reported first.
-
Many reports cluster on the TLS backend layer of a single HTTP client library, where certificate, hostname, OCSP and pinning checks are implemented per backend
Seen in 23 reports
Technologies in these reports16
Root causes
37The mistakes in the code or configuration behind the reports.
-
SSH backends were written without a host key verification callback or known hosts handling, so the state machine went straight from connection to transfer.
Seen in 4 reports
-
Session cache keys omitted part of the connection identity (signature algorithms, native CA store, SSL context callback), so sessions were resumed across different trust settings.
Seen in 3 reports
-
Verification code checked whether a status response was present rather than whether the status inside it was good, so revoked or failed cases were never reached.
Seen in 3 reports
-
A flag that skipped the OpenSSL OCSP check assumed the Apple trust path enforced OCSP, but that path only sees a stapled response when one is present.
Seen in 3 reports
-
The encryption routine used AES in CFB mode without authentication, so ciphertext integrity was never verified.
Seen in 2 reports
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
Certificate validation and hostname checks
of 3 ticked-
Seen in 6 reports
-
Seen in 5 reports
-
Seen in 3 reports
Session resumption and connection reuse
of 3 ticked-
Seen in 4 reports
-
Seen in 3 reports
HSTS and transport security headers
of 3 ticked-
Seen in 5 reports
-
Seen in 3 reports
More contexts
- TLS protocol versions and legacy SSL
- SSH host keys and algorithm configuration
- Package signing and software updates
- STARTTLS and mail transport security
- TLS libraries and OpenSSL version flaws
- Session cookies and signing keys
- Certificate pinning and trust stores
- Cipher suites and export-grade ciphers
Bypasses and variations
35How reports got past filters, encoders and other defences.
-
Requesting certificate status enforcement is silently bypassed on several backends and trust paths, so revoked certificates are accepted.
Seen in 8 reports
-
Pinning checks are skipped on some backends or protocol versions, so a different certificate or key is accepted.
Seen in 5 reports
-
Resuming a previously validated session skips re-checking the certificate, its expiry, revocation or host identity.
Seen in 5 reports
-
Writing an IP address in non-canonical or fullwidth digits, or with a leading dot, causes the hostname check to treat it as a DNS name.
Seen in 4 reports
-
Reusing an existing connection ignores a later TLS requirement or STARTTLS upgrade, so cleartext is used where TLS was requested.
Seen in 4 reports
Payouts
45 paidPublic bounties in US dollars, from the data. 45 of 993 reports show an amount.
- a quarter paid up to
- $280
- median
- $900
- three quarters paid up to
- $1,800
- highest
- $13k
One in ten paid reports was paid $2,564 or more.
| Severity | Reports | Paid | Median | Highest |
|---|---|---|---|---|
| Critical | 48 | 1 | $1,500 | $1,500 |
| High | 198 | 12 | $1,000 | $4,000 |
| Medium | 250 | 11 | $1,000 | $2,580 |
| Low | 77 | 8 | $275 | $1,500 |
| Informational | 34 | 1 | $300 | $300 |
| Unrated | 386 | 12 | $1,000 | $13k |
Highest-paid reports5
-
$13,000
-
$11,250 -
$4,000 -
$4,000 High -
$2,580 Medium
Typical fixes
97How programs fixed it, as the reports describe.
-
Disable deprecated protocols such as SSLv2, SSLv3 and TLS 1.0 and enable only modern TLS versions.
Seen in 10 reports
-
Use a constant-time comparison function for API token and HMAC verification.
Seen in 8 reports
-
Disable 64-bit block ciphers such as 3DES.
Seen in 6 reports
-
Verify the certificate hostname in all TLS clients.
Seen in 6 reports
-
Use an authenticated encryption mode and return uniform error messages for decryption failures.
Seen in 5 reports
Tips for beginners
15Advice for a first hunt, drawn from the reports.
-
Avoid reporting configuration hygiene with no demonstrated impact. A missing CAA record, a short HSTS max-age or an absent SPF record is only worth reporting if you can show how it enables a concrete attack, and many programs treat these as informational.
Seen in 10 reports
-
Check the fix, not just the bug. When a program patches a check, retest the sibling backends and the reuse paths, because the evidence shows fixes applied in one place while another path still skips the check.
Seen in 10 reports
-
Test token and secret generation by collecting many samples and analysing them for predictability or low entropy. Check whether the generator is seeded from a clock, whether invitation tokens are short enough to brute force, and whether framework secret keys are default or guessable.
Seen in 9 reports
-
Stay in scope. Many of these findings are in third-party libraries or in protocol versions the program has explicitly excluded. Check the policy before spending time on SSLv2, SSLv3, TLS 1.0, 3DES or SHA-1, and do not report a deprecated protocol the program already knows about.
Seen in 9 reports
-
Test SSH host key handling. Connect with a backend that has no host key callback, or with an invalid signature, and check whether an unknown host key or bad signature is accepted. Also check whether a default protocol setting that selects SSH skips verification.
Seen in 7 reports
Guides and techniques
View allThe best explainers, cheat sheets and technique posts on Crypto, from around the web.
-
Don't let TEEs break your MPCTrail of Bits explains how trusted execution environments can undermine multi party computation designs and how to avoid it.
Explainer blog.trailofbits.com
-
alg:none and Friends — A JWT Hacking Field GuideField guide to JWT attacks covering the alg none bypass, weak key cracking and algorithm confusion tricks.
Cheat sheet kd-200.medium.com
-
State of Post Quantum CryptographySurveys the state of post quantum cryptography and what migration means for security teams.
Explainer wiz.io
-
Exploiting JWT vulnerabilities: A complete guideCovers common JWT flaws such as the none algorithm, key confusion, JWK spoofing and kid injection leading to path traversal or SQL injection.
Explainer intigriti.com
-
Into The Rainbow: Google’s NTLMv1 Rainbow Tables Explained in a Bit Too Much DetailDeep dive into Google's published NTLMv1 rainbow tables and how they speed up cracking of legacy hashes.
Technique specterops.io
Keep learning
Where this lesson fits, and what to read next.
Learning paths
Lessons to read next
How this is made: our model read every listed Crypto 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 26 Nov 2026 from 418 reports. All Crypto reports.