Impact
A type‑confusion flaw (CWE‑843) in DBI’s dbi_profile occurs when a database handle is destroyed while a Profile Path contains an {attr} element. The profiled code mistakenly reads the handle’s inner hash and dereferences a null or invalid pointer, causing the process to terminate with a segmentation fault. The crash is deterministic once the buggy path is exercised, denying service to the application.
Affected Systems
Perl applications that use the DBI module version 1.655 or lower are affected regardless of the database driver. The flaw can be triggered through the default DBI configuration or by an application that sets a Profile Path via the DBI_PROFILE environment variable or a Profile handle attribute. Any system running these Perl applications is at risk.
Risk and Exploitability
The CVSS score is 2.9 and the EPSS score is < 1%, but the vulnerability is not listed in the CISA KEV catalog. The most likely attack vector is local or uncontrolled configuration: an attacker with the ability to influence the DBI_PROFILE environment variable or the Profile Path setting can cause the targeted process to crash. The impact is a denial of service, and the exploit requires no additional privileges beyond those needed to execute the vulnerable Perl program.
OpenCVE Enrichment