Research Library · Idea
Parser differentials
A parser differential occurs when components reading the same data disagree about whether it is valid or what it represents. The disagreement can cause inconsistent records when independent services process the same message. It also matters when one component validates a message and another acts on it, because the validation decision applies to the first component's interpretation. 1
JSON illustrates the interoperability issue. RFC 8259 recommends unique member names within each object and documents differences in how implementations handle repeated names. Its companion profile, I-JSON, requires unique member names and UTF-8 encoding. That tighter contract gives producers and consumers a common set of acceptance rules. 1 2
For a system that controls its data format, choose a profile that each component can enforce and validate it at the first point of entry. Where practical, pass the validated structure to downstream code so consumers share the same interpretation. During parser upgrades, use compatibility tests to confirm that supported implementations agree on acceptance and on the values produced. 1 2
Source · RFC 8259, The JavaScript Object Notation (JSON) Data Interchange Format (opens in a new tab) · IETF
References
Research articles
- Be whoever you want to be: why SAML service providers keep failing at the verifier · Software security
- Dot dot slash: why two components rarely agree on what a file name means · Software security
- Every input is a program: language-theoretic security from the Chomsky hierarchy to parser differentials · Computer science
- The second stack: IPv6 security on networks that never chose it · Infrastructure & network security
- Two servers, one byte stream: why HTTP request smuggling keeps coming back · Software security
- Fetch this address for me: server-side request forgery, the cloud metadata service and the helpful server as proxy · Software security
- Protected but not patched: how far a compensating control can stand in for the fix · Software security
- The verifier is the security: how JSON Web Tokens fail · Software security
In the news
- Addressable native IDNA backend truncates a host at a pct-encoded NUL when no... · CVE: New ·
- Addressable URI userinfo setters store delimiters raw, so the serialized URI ... · CVE: New ·
- Ghost Bits: Imperva Customers Protected Against Unicode Encoding Bypass Attacks · Imperva Blog ·
- emailjs 3.2.0 before 5.0.4 Recipient Injection via addressparser Tokenizerema... · CVE: New ·
- HCSEC-2026-43 - Vault Inconsistent ACL Policy Evaluation May Allow Bypass of Deny Restrictions · HashiCorp security bulletins ·
See what connects to it on the map of ideas →

SecSIG