yaml-libyaml vulnerabilities and fixes
Recent CVEs affecting yaml-libyaml, with upgrade or downgrade steps. 1 tracked.
Also searched as: yaml libyaml.
yaml-libyaml has 1 tracked vulnerability, 1 critical. A fixed release or vendor patch exists for 1. Most recent: 2025-06-01. Highest priority: CVE-2025-40908 (score 52/100).
- CVE-2025-40908 CRITICAL 9.1 UPGRADE YAML-LibYAML prior to 0.903.0 for Perl uses 2-args open, allowing existing files to be modified
FAQ
How do I fix yaml-libyaml vulnerabilities?
Open the CVE for your version, check the affected range, then follow the listed action: upgrade to the fixed release, or downgrade or mitigate if no fix exists yet. Commands for each OS are shown on every CVE page.
Is yaml-libyaml being exploited right now?
None of the tracked yaml-libyaml CVEs are on the CISA Known Exploited Vulnerabilities list at the moment. This is checked every 20 minutes.
Which yaml-libyaml CVE should I patch first?
CVE-2025-40908 currently ranks highest (52/100): YAML-LibYAML prior to 0.903.0 for Perl uses 2-args open, allowing existing files to be modified.