Skip to main content

Reachable Assertion


Severity High
Score 7.5/10


The function "Token& Scanner::peek" in scanner.cpp in yaml-cpp before 0.7.0 and earlier allows remote attackers to cause a denial of service (assertion failure and application exit) via a '!2' string.

  • LOW
  • NONE
  • NONE
  • NONE
  • NONE
  • HIGH

CWE-617 - Reachable Assertion

The product contains an assert() or similar statement that can be triggered by an attacker, which leads to an application exit or other behavior that is more severe than necessary.

Advisory Timeline

  • Published