Skip to content

In-depth lesson · technique

Parser differentials

What every disclosed Parser differentials 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
32

Overview

What it is and why programs pay for it.

Parser differentials happen when two components in a request path read the same bytes differently. One parser may accept a header the other rejects, or both may accept it but disagree on where the request ends. In bug bounty terms this is the root of request smuggling and header injection: a front-end proxy and a back-end server, or a WAF and the application, or a browser and a server-side validator, each apply their own rules. The reports behind this lesson show the pattern across HTTP/1.1 and HTTP/2, Node.js and llhttp, Apache mod_proxy and AJP, Tomcat trailers, and even URL and filename parsing.

Programs care because a differential can turn a blocked request into an allowed one, or let an attacker append a second request that the front end never inspected. That can lead to bypassing proxy rules, reaching admin paths, poisoning caches, or leaking session cookies and tokens to a host the attacker controls. The same class of mistake appears outside HTTP too: Unicode normalisation gaps let homograph strings through, URL parsers disagree on the same crafted URL, and filename sanitisers miss reserved device names. The common thread is that validation and interpretation are split across components that do not share one strict grammar.

It is most often found where a proxy, load balancer, CDN or WAF sits in front of an application server, and where the two use different HTTP parsers or versions. Node.js and llhttp based services behind a front end are a recurring setting, as are Apache mod_proxy with HTTP/2 downgrade and mod_proxy_ajp to an AJP backend. It also turns up in user-facing features that display or compare Unicode, such as messages, about pages and talk sections, and in file upload and filename handling. The evidence here is drawn from 32 reports, 14 with summaries and 10 paid, so treat the specific parser behaviours as examples rather than a complete list.

How it works

The mechanics, as the reports show them.

Start with the architecture. Identify every component that reads the request before it reaches the application: CDN, reverse proxy, WAF, load balancer, application server. A differential needs at least two parsers, so map which one terminates the connection and which one forwards or interprets the body. The reports show front-end proxies falling back to Content-Length while a backend accepts a Transfer-Encoding header containing a space or tab as chunked, and Node.js processing only the first of duplicate Transfer-Encoding headers while a proxy uses the last.

Then look for grammar leniency. The specification is strict about header field syntax and the CRLF delimiter, but parsers often are not. Evidence includes a parser accepting whitespace between a header field name and the colon, llhttp not strictly enforcing CRLF as the header delimiter, a parser accepting a non-standard header block terminator instead of the exact double CRLF, and Node.js converting a carriage return inside a header name into a hyphen rather than rejecting it. Each of these is a place where one component may see a boundary the other does not.

Chunked encoding and trailers are another rich area. llhttp did not validate characters in a chunk extension, allowing a newline that a front-end proxy treated as a request boundary. Tomcat's trailer parser skipped lines without a colon until it found a valid header, so a second request could be read as a trailer. Multi-line Transfer-Encoding headers and unusual Transfer-Encoding values also produced disagreement between Node.js and a front-end proxy. The mechanism is the same: one side ends the message earlier or later than the other.

Protocol downgrades add more room for mismatch. Apache mod_proxy with HTTP/2 enabled did not reject spaces in the method pseudo-header before downgrading to HTTP/1.1, so a malformed request line could be forwarded to the backend. mod_proxy_ajp parsed HTTP request boundaries differently from the backend AJP server. In both cases the front end and back end are speaking different protocols or versions, and the translation layer is where the differential lives.

The same principle applies to non-HTTP parsing. Unicode characters that look like ASCII letters or digits passed through unchanged because the application did not validate or normalise them before display, and internationalised domain names rendered as trusted domains in messages, about pages and talk sections. URL parsers and validators interpreted the same crafted URL differently, and a WAF and backend parsed invalid JSON with Unicode escapes differently. Filename sanitisers missed Unicode forms of reserved Windows device names, and username normalisation was missing so whitespace variants became distinct accounts.

What makes it possible is that components are built by different teams, updated on different schedules, and tested against different interpretations of the same standard. A strict parser next to a lenient one, or two lenient parsers with different leniency, is enough. The fix is usually to normalise or reject malformed input at every layer, enforce the exact CRLF and header grammar, reject duplicate or ambiguous length headers, and validate Unicode before display or identity use. The reports show these as the underlying mistakes rather than as confirmed fixes.

Year by year

5 years

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

Reports per yearPeak 2026: 44
Reports per year
20175
20181
20195
202010
20216
202212
20233
20244
202520
202644
  1. 2025

    20 reports

    Kept working1

    • A non-standard header block terminator was sent to check whether the Node.js parser and a proxy disagreed on where the request ends in the disclosed reports.

    Turned up less2

    • Multi-line and unusual-value Transfer-Encoding header tests against Node.js, common in 2021 and 2022, are not represented this year in the disclosed reports.
    • AJP backend smuggling through mod_proxy_ajp, seen in 2022, is absent from this year's disclosed reports.

    Reports from 20251

  2. 2022

    12 reports · median $1,800

    New this year1

    • AJP backend smuggling through mod_proxy_ajp appears as a new target this year in the disclosed reports.

    Kept working4

    • Multi-line Transfer-Encoding headers were sent to check whether the Node.js parser and a front-end proxy disagreed on request boundaries in the disclosed reports.
    • Transfer-Encoding headers with unusual values were sent to check whether the Node.js parser validated them consistently with a front-end proxy in the disclosed reports.
    and 2 more

    Turned up less1

    • HTTP/2 pseudo-header smuggling, seen in 2021, is not represented this year in the disclosed reports.
  3. 2021

    6 reports · median $250

    New this year2

    • HTTP/2 pseudo-header manipulation appears as a fresh smuggling vector this year in the disclosed reports.
    • Duplicate Transfer-Encoding headers with conflicting values become a recurring test against Node.js in the disclosed reports.

    Kept working2

    • A Content-Length header with a space before the colon was sent with a body to check whether the backend honoured the length while a proxy ignored the header in the disclosed reports.
    • A chunked request with a newline inside a chunk extension was sent through a proxy that blocked an admin path to see whether the backend reached the path in the disclosed reports.

    Turned up less1

    • Unicode lookalike validation testing, present in 2017 and 2020, is absent from this year's disclosed reports.

    Reports from 20214

    Every point and report from 2021

Earlier years2

Every point, year by year

Root causes

12

The mistakes in the code or configuration behind the reports.

  1. The application did not validate or normalise Unicode characters before display, so homograph strings passed through unchanged.

    Seen in 5 reports
  2. The front end did not recognise a Transfer-Encoding header containing a space or tab and fell back to Content-Length while the backend accepted it as chunked.

    Seen in 2 reports
  3. Node.js converted a carriage return inside a header name into a hyphen instead of rejecting the malformed header.

    Seen in 1 report
  4. The Node.js parser did not reject or normalise duplicate Transfer-Encoding headers and processed only the first.

    Seen in 1 report
  5. The parser accepted whitespace between a header field name and the colon, contrary to the specification.

    Seen in 1 report
View all 12

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

Transfer-Encoding header quirks

of 3 ticked
More in Transfer-Encoding header quirks

Chunked encoding and trailers

of 2 ticked

Content-Length header quirks

of 2 ticked

HTTP/2 and AJP boundaries

of 2 ticked
View more things to try

Payouts

10 paid

Public bounties in US dollars, from the data. 10 of 123 reports show an amount.

a quarter paid up to
$488
median
$1,800
three quarters paid up to
$2,250
highest
$6,000

One in ten paid reports was paid $4,794 or more.

SeverityReportsPaidMedianHighest
Critical 9 1 $6,000 $6,000
High 15 1 $4,660 $4,660
Medium 38 7 $1,800 $2,400
Low 6 1 $250 $250
Informational 2 0 None paid None
Unrated 53 0 None paid None

Tips for beginners

12

Advice for a first hunt, drawn from the reports.

  1. Keep notes on which parser is which. When you write up, state the front end, the backend, the exact grammar difference and the observed consequence. The evidence is full of specific parser behaviours, so a report that names the components and the disagreement is far more useful than one that says smuggling is possible.

    Seen in 10 reports
  2. Start by fingerprinting the stack. Look at response headers and behaviour to work out which front end and which backend are in use. The evidence points to Node.js and llhttp, Apache mod_proxy with HTTP/2, mod_proxy_ajp, and Tomcat trailers as recurring settings, so those are sensible places to begin if you see them.

    Seen in 8 reports
  3. Do not stop at HTTP. Submit Unicode characters that look like ASCII letters or digits in fields that are later displayed or used for identity, and check whether the application normalises or rejects them. Enter an internationalised domain name that renders like a trusted domain in messages, about pages and talk sections, and check whether the UI shows the punycode form or warns the user.

    Seen in 5 reports
  4. Show impact, not just a difference. A parser disagreement on its own is not a vulnerability. Demonstrate a concrete consequence: a blocked admin path reached, a session cookie or token leaked to a host you control, a validation rule bypassed, or an account created that is visually indistinguishable from another. The reports tie smuggling to redirecting the victim's connection and leaking cookies, and tie Unicode gaps to identity confusion.

    Seen in 4 reports
  5. Avoid reporting out of scope or no impact. Do not report a third-party parser bug unless the programme covers that component, and do not report a differential that only produces a different error message. Check whether the behaviour is already known or fixed in the version you are testing, and keep your proof minimal and reproducible.

    Seen in 4 reports
View all 12

Guides and techniques

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

Keep learning

Where this lesson fits, and what to read next.

How this is made: our model read every listed Parser differentials 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 32 reports. All Parser differentials reports.