CVE-2025-40908

CRITICAL
Published Jun 1, 2025 Modified Jul 2, 2025 CWE-552

Description

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

CVSS v3.1 Score

9.1
CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Weakness Type (CWE)

CWE-552 CWE-552

Affected Products

Vendor Product
ingydotnet yaml-libyaml

References

Frequently Asked Questions

What is CVE-2025-40908? +
YAML-LibYAML prior to 0.903.0 for Perl uses 2-args open, allowing existing files to be modified It has a CVSS v3.1 base score of 9.1 (CRITICAL).
How severe is CVE-2025-40908? +
CVE-2025-40908 has a CVSS v3.1 score of 9.1 out of 10, rated CRITICAL. This is a critical vulnerability that should be patched immediately.
What products are affected by CVE-2025-40908? +
CVE-2025-40908 affects products from ingydotnet, specifically: yaml-libyaml. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2025-40908? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2025-40908 — free, no signup required.

Start Free Scan