Uncontrolled Recursion in jackson-dataformats-text - #VU156696
Published: October 21, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service by crashing the YAML parsing thread.
The vulnerability exists due to uncontrolled recursion in YAMLAnchorReplayingParser.getEvent() when processing deeply nested YAML merge keys (<<). A remote attacker can submit a specially crafted YAML document to an application using YAMLAnchorReplayingFactory to exhaust the parsing thread's stack and trigger a StackOverflowError.
The standard YAMLFactory, which is the default factory, is not affected.