CVE-2025-40908

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

Published Jun 1, 2025 CVSS 3.1 · 9.1 Critical EPSS < 1% KEV · Not listed
Description
YAML-LibYAML prior to 0.903.0 for Perl uses 2-args open, allowing existing files to be modified

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-16577 YAML-LibYAML prior to 0.903.0 for Perl uses 2-args open, allowing existing files to be modified
Ubuntu USN Ubuntu USN USN-7632-1 YAML-LibYAML vulnerability
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00037}

epss

{'score': 0.0005}

Type Values Removed Values Added
First Time appeared Ingydotnet
Ingydotnet yaml-libyaml
CPEs cpe:2.3:a:ingydotnet:yaml-libyaml:*:*:*:*:*:perl:*:*
Vendors & Products Ingydotnet
Ingydotnet yaml-libyaml
Type Values Removed Values Added
First Time appeared Redhat
Redhat enterprise Linux
Redhat rhel Eus
CPEs cpe:/a:redhat:enterprise_linux:8::crb
cpe:/a:redhat:enterprise_linux:9::crb
cpe:/a:redhat:rhel_eus:9.4::crb
Vendors & Products Redhat
Redhat enterprise Linux
Redhat rhel Eus
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'}

Type Values Removed Values Added
Description YAML-LibYAML prior to 0.903.0 for Perl uses 2-args open, allowing existing files to be modified
Title YAML-LibYAML prior to 0.903.0 for Perl uses 2-args open, allowing existing files to be modified
Weaknesses CWE-552
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
CPANSec
Published
Updated
Jun 2, 2025, 3:22 AM
Reserved
Apr 16, 2025, 9:05 AM
Status
Analyzed
Published
Jun 1, 2025, 2:15 PM
Modified
Jun 17, 2026, 9:22 AM
Severity
Important
Public date
Jun 1, 2025, 1:41 PM