CPANSA-YAML-LibYAML-2025-001: YAML-LibYAML vulnerability
| Publisher | giterlizzi | Document category | csaf_security_advisory |
|---|---|---|---|
| Initial release date | 2025-06-01T00:00:00 | Engine | CSAF Perl Toolkit 0.25 |
| Current release date | 2025-06-01T00:00:00 | Build Date | |
| Current version | 1 | Status | final |
| CVSS v3.1 Base Score | 9.1 | Severity | Critical |
| Original language | Language | en | |
| Also referred to | |||
Vulnerability Description
YAML-LibYAML prior to 0.903.0 for Perl uses 2-args open, allowing existing files to be modified
Vulnerabilities
CVE-2025-40908
Vulnerability DescriptionYAML-LibYAML prior to 0.903.0 for Perl uses 2-args open, allowing existing files to be modified
| Weakness | CWE-552 : Files or Directories Accessible to External Parties |
|---|
Product status
Known affected
| Product | Score | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| YAML-LibYAML less than 0.903.0 |
|
Fixed
- YAML-LibYAML greater than or equal 0.903.0
giterlizzi
Namespace: https://github.com/giterlizzi/
gdt@cpan.org
References
- CPANSA-YAML-LibYAML-2025-001 JSON self
https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2025/cpansa-yaml-libyaml-2025-001.json - https://www.cve.org/CVERecord?id=CVE-2025-40908 external
https://www.cve.org/CVERecord?id=CVE-2025-40908 - https://github.com/ingydotnet/yaml-libyaml-pm/issues/120 external
https://github.com/ingydotnet/yaml-libyaml-pm/issues/120 - https://github.com/ingydotnet/yaml-libyaml-pm/pull/121 external
https://github.com/ingydotnet/yaml-libyaml-pm/pull/121 - https://github.com/ingydotnet/yaml-libyaml-pm/pull/122 external
https://github.com/ingydotnet/yaml-libyaml-pm/pull/122 - CVE-2025-40908 (NVD) external
https://nvd.nist.gov/vuln/detail/CVE-2025-40908
Revision history
| Version | Date of the revision | Summary of the revision |
|---|---|---|
| 1 | Sun Jun 1 00:00:00 2025 | First release |
Sharing rules
TLP:WHITE
For the TLP version see: https://www.first.org/tlp/