CVE-2025-40908

Name
CVE-2025-40908
Description
YAML-LibYAML prior to 0.903.0 for Perl uses 2-args open, allowing existing files to be modified
NVD Severity
unknown
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
issue-tracking https://github.com/ingydotnet/yaml-libyaml-pm/issues/120
patch https://github.com/ingydotnet/yaml-libyaml-pm/pull/121
patch https://github.com/ingydotnet/yaml-libyaml-pm/pull/122

Match rules

CPE URI Source package Min version Max version
yaml::libyaml >= 0 < 0.903.0
cpe:2.3:a:ingydotnet:yaml-libyaml:*:*:*:*:*:perl:*:* perl-yaml-libyaml >= None < 0.903.0

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
perl-yaml-libyaml edge-main 0.902.0-r0 Celeste <cielesti@protonmail.com> possibly vulnerable
perl-yaml-libyaml 3.21-main 0.902.0-r0 Celeste <cielesti@protonmail.com> possibly vulnerable
perl-yaml-libyaml 3.20-main 0.89-r1 Celeste <cielesti@protonmail.com> possibly vulnerable
perl-yaml-libyaml 3.19-main 0.88-r1 Valery Kartel <valery.kartel@gmail.com> possibly vulnerable