Skip to content

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

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.

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.

Year by year

13 years

What each year's disclosed reports show, newest first. A year with few reports says less.

Reports per yearPeak 2026: 246
Reports per year
20102
20111
20125
20132
201433
201533
201642
201755
201827
201940
202045
202153
202261
202367
202481
2025124
2026246
  1. 2026

    246 reports · median $1,669

    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.
    and 1 more

    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.
    and 4 more

    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.
  2. 2025

    124 reports · median $250

    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.
    and 1 more

    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.
    and 4 more

    Turned up less1

    • Testing PKCS#1 v1.5 padding timing side channels, seen in the earlier disclosed reports, is not represented this year.
  3. 2024

    81 reports · median $750

    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.
    and 1 more

    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.
    and 1 more

    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.
Every point, year by year

Where it is found

1

The features and places the reports found it in, most-reported first.

  1. 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

Root causes

37

The mistakes in the code or configuration behind the reports.

  1. 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
  2. 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
  3. 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
  4. 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
  5. The encryption routine used AES in CFB mode without authentication, so ciphertext integrity was never verified.

    Seen in 2 reports
View all 37

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

Other

of 3 ticked
  • Seen in 5 reports
  • Seen in 4 reports
  • Seen in 3 reports
More in Other

Certificate validation and hostname checks

of 3 ticked
  • Seen in 6 reports
  • Seen in 5 reports
  • Seen in 3 reports
More in Certificate validation and hostname checks

Session resumption and connection reuse

of 3 ticked
More in Session resumption and connection reuse

HSTS and transport security headers

of 3 ticked
More in HSTS and transport security headers
View more things to try

Bypasses and variations

35

How reports got past filters, encoders and other defences.

  1. Requesting certificate status enforcement is silently bypassed on several backends and trust paths, so revoked certificates are accepted.

    Seen in 8 reports
  2. Pinning checks are skipped on some backends or protocol versions, so a different certificate or key is accepted.

    Seen in 5 reports
  3. Resuming a previously validated session skips re-checking the certificate, its expiry, revocation or host identity.

    Seen in 5 reports
  4. 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
  5. Reusing an existing connection ignores a later TLS requirement or STARTTLS upgrade, so cleartext is used where TLS was requested.

    Seen in 4 reports
View all 35

Payouts

45 paid

Public 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.

SeverityReportsPaidMedianHighest
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

Typical fixes

97

How programs fixed it, as the reports describe.

  1. Disable deprecated protocols such as SSLv2, SSLv3 and TLS 1.0 and enable only modern TLS versions.

    Seen in 10 reports
  2. Use a constant-time comparison function for API token and HMAC verification.

    Seen in 8 reports
  3. Disable 64-bit block ciphers such as 3DES.

    Seen in 6 reports
  4. Verify the certificate hostname in all TLS clients.

    Seen in 6 reports
  5. Use an authenticated encryption mode and return uniform error messages for decryption failures.

    Seen in 5 reports
View all 97

Tips for beginners

15

Advice for a first hunt, drawn from the reports.

  1. 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
  2. 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
  3. 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
  4. 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
  5. 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
View all 15

Guides and techniques

View all

The best explainers, cheat sheets and technique posts on Crypto, from around the web.

Keep learning

Where this lesson fits, and what 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.