Input validation error in YAML-LibYAML - CVE-2025-40908
Published: June 10, 2025
Vulnerability identifier: #VU110694
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2025-40908
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vendor: TINITA
Affected software:
YAML-LibYAML
YAML-LibYAML
Detailed vulnerability description
The vulnerability allows a remote attacker to overwrite arbitrary files on the system.
The vulnerability exists due to insufficient validation of user-supplied input in LoadFile method. A remote attacker can pass specially crafted arguments to the affected method and overwrite arbitrary files on the system.
How to mitigate CVE-2025-40908
Install updates from vendor's website.