CVE-2025-40908

Source
https://cve.org/CVERecord?id=CVE-2025-40908
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40908.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-40908
Downstream
Related
Published
2025-06-01T13:41:48.168Z
Modified
2026-07-15T01:48:51.116188834Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
YAML-LibYAML prior to 0.903.0 for Perl uses 2-args open, allowing existing files to be modified
Details

YAML-LibYAML prior to 0.903.0 for Perl uses 2-args open, allowing existing files to be modified

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40908.json",
    "cna_assigner": "CPANSec",
    "cwe_ids": [
        "CWE-552"
    ]
}
References

Affected packages

Git / github.com/ingydotnet/yaml-libyaml-pm

Affected ranges

Type
GIT
Repo
https://github.com/ingydotnet/yaml-libyaml-pm
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "cpe": "cpe:2.3:a:ingydotnet:yaml-libyaml:*:*:*:*:*:perl:*:*",
    "source": [
        "AFFECTED_FIELD",
        "CPE_RANGE"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "0.903.0"
        }
    ]
}

Affected versions

0.*
0.34
0.35
0.36
0.37
0.38
0.39
0.40
0.41
0.42
0.43
0.44
0.45
0.46
0.47
0.48
0.49
0.50
0.51
0.52
0.53
0.54
0.55
0.56
0.57
0.58
0.59
0.60
0.61
0.62
0.62_001
0.62_002
0.63
0.63_001
0.63_002
0.64
0.65
0.66
0.66_001
0.66_002
0.67
0.67_001
0.68
0.68_001
0.68_002
0.69
0.69_001
0.70
0.72
0.72_01
0.74
0.75
0.75_001
0.76
0.77
0.77_001
0.78
0.78_001
0.78_002
0.79
0.79_001
0.80
0.81
0.82
0.82_001
0.83
0.84
0.85
0.86
0.87
0.88
0.88_001
0.89
0.90
Other
chansen
v0.*
v0.901.0
v0.902.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40908.json"