Skip to content

Protocol, parser, and resource-boundary batch

Source: GitHub Security Advisories updated 2026-05-13.

This batch is durable because protocol parsers and native/runtime libraries failed at state-machine, bounds, or resource-budget boundaries. The reusable lesson is to treat every peer response, archive/media file, database string literal, and consensus object as hostile even when the surrounding application is authenticated.

Advisories covered

Operator triage

  1. Patch libraries that parse untrusted email, images, PDFs, Office/CFB files, SSH handshakes, templates, SQL text, and consensus/blockchain data.
  2. Add CPU, memory, file-size, recursion-depth, and wall-clock limits around parsing even after patching.
  3. For STARTTLS/protocol state issues, verify fail-closed transitions with a malicious peer harness; do not rely only on happy-path integration tests.
  4. For consensus clients, upgrade all validators/miners/nodes together enough to avoid network splits and monitor fork/divergence telemetry.

Durable controls

  • Protocol parsers should model state transitions explicitly and reject unexpected responses before mutating security state.
  • Resource budgets belong at every parser boundary: bytes read, object count, recursion, iterations, and output expansion ratio.
  • Native and “safe language” libraries still need integer-overflow tests around dimensions, offsets, counts, and multiplication.
  • Query builders must parse placeholders with the same grammar as the database engine; ad-hoc scanning around comments/strings is not enough.