TINITA YAML-LibYAML up to 0.902.x on Perl YAML::LibYAML file access

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
3.4$0-$5k0.00

Summaryinfo

A vulnerability was found in TINITA YAML-LibYAML up to 0.902.x on Perl and classified as problematic. This issue affects the function YAML::LibYAML. The manipulation results in file access. This vulnerability is identified as CVE-2025-40908. There is not any exploit available. It is suggested to upgrade the affected component.

Detailsinfo

A vulnerability was found in TINITA YAML-LibYAML up to 0.902.x on Perl. It has been classified as problematic. Affected is the function YAML::LibYAML. The manipulation with an unknown input leads to a file access vulnerability. CWE is classifying the issue as CWE-552. The product makes files or directories accessible to unauthorized actors, even though they should not be. This is going to have an impact on confidentiality. CVE summarizes:

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

The weakness was released by @shlomif as 120. The advisory is shared for download at github.com. This vulnerability is traded as CVE-2025-40908 since 04/16/2025. There are known technical details, but no exploit is available. The MITRE ATT&CK project declares the attack technique as T1083.

The vulnerability scanner Nessus provides a plugin with the ID 240265 (RHEL 8 : perl-YAML-LibYAML (RHSA-2025:9329)), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 0.903.0 eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the vulnerability database at Tenable (240265). VulDB is the best source for vulnerability data and more expert information about this specific topic.

Productinfo

Vendor

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 3.5
VulDB Meta Temp Score: 3.4

VulDB Base Score: 3.5
VulDB Temp Score: 3.4
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: File access
CWE: CWE-552 / CWE-425
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Partially

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 240265
Nessus Name: RHEL 8 : perl-YAML-LibYAML (RHSA-2025:9329)

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: YAML-LibYAML 0.903.0
Patch: github.com

Timelineinfo

04/16/2025 🔍
06/01/2025 +46 days 🔍
06/01/2025 +0 days 🔍
06/23/2025 +22 days 🔍

Sourcesinfo

Advisory: 120
Researcher: @shlomif
Status: Confirmed

CVE: CVE-2025-40908 (🔍)
GCVE (CVE): GCVE-0-2025-40908
GCVE (VulDB): GCVE-100-310776

Entryinfo

Created: 06/01/2025 18:35
Updated: 06/23/2025 20:34
Changes: 06/01/2025 18:35 (59), 06/03/2025 05:15 (1), 06/23/2025 20:34 (2)
Complete: 🔍
Cache ID: 216::103

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!

n $_SERVER['REMOTE_ADDR'] ?? '0.0.0.0'; } } ?>