YAML-LibYAML prior to 0.903.0 for Perl uses 2-args open, allowing existing files to be modified
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40908.json",
"cna_assigner": "CPANSec",
"cwe_ids": [
"CWE-552"
]
}{
"cpe": "cpe:2.3:a:ingydotnet:yaml-libyaml:*:*:*:*:*:perl:*:*",
"source": [
"AFFECTED_FIELD",
"CPE_RANGE"
],
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "0.903.0"
}
]
}