{"id":"CVE-2025-40908","sourceIdentifier":"9b29abf9-4ab0-4765-b253-1875cd9b441e","published":"2025-06-01T14:15:21.113","lastModified":"2026-06-17T09:22:16.177","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"YAML-LibYAML prior to 0.903.0 for Perl uses 2-args open, allowing existing files to be modified"},{"lang":"es","value":"YAML-LibYAML anterior a 0.903.0 para Perl usa 2 argumentos abiertos, lo que permite modificar archivos existentes"}],"affected":[{"source":"9b29abf9-4ab0-4765-b253-1875cd9b441e","affectedData":[{"vendor":"TINITA","product":"YAML::LibYAML","defaultStatus":"unaffected","collectionURL":"https://cpan.org/modules","packageName":"YAML-LibYAML","programFiles":["lib/YAML/XS.pm"],"repo":"https://github.com/ingydotnet/yaml-libyaml-pm","versions":[{"version":"0","lessThan":"0.903.0","versionType":"custom","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","baseScore":9.1,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE"},"exploitabilityScore":3.9,"impactScore":5.2}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2025-06-02T03:22:02.219115Z","id":"CVE-2025-40908","options":[{"exploitation":"none"},{"automatable":"yes"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"9b29abf9-4ab0-4765-b253-1875cd9b441e","type":"Secondary","description":[{"lang":"en","value":"CWE-552"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:ingydotnet:yaml-libyaml:*:*:*:*:*:perl:*:*","versionEndExcluding":"0.903.0","matchCriteriaId":"6F3A4FBC-0D8D-47B0-A8FB-07C0A1294A32"}]}]}],"references":[{"url":"https://github.com/ingydotnet/yaml-libyaml-pm/issues/120","source":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":["Exploit","Issue Tracking"]},{"url":"https://github.com/ingydotnet/yaml-libyaml-pm/pull/121","source":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":["Issue Tracking","Patch"]},{"url":"https://github.com/ingydotnet/yaml-libyaml-pm/pull/122","source":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":["Issue Tracking","Patch"]}]}