title: yaml libyaml emitter.c yaml_emitter_emit_flow_sequence_item heap-based overflow
description: A vulnerability was found in yaml libyaml up to 0.2.5 and classified as critical. Affected by this issue is the function yaml_emitter_emit_flow_sequence_item of the file /src/libyaml/src/emitter.c. The manipulation leads to heap-based buffer overflow. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. The identifier of this vulnerability is VDB-259052. NOTE: The vendor was contacted early about this disclosure but did not respond in any way.
problem types: CWE-122 Heap-based Buffer Overflow
affected:
{
vendor: yaml
product: libyaml
versions:
version: 0.2.0, status: affected
version: 0.2.1, status: affected
version: 0.2.2, status: affected
version: 0.2.3, status: affected
version: 0.2.4, status: affected
version: 0.2.5, status: affected
}
metrics:
cvssV3_1: [
version: 3.1
baseScore: 7.3
vectorString: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
baseSeverity: HIGH
]