Skip to main content

Perl DBI CVE-2026-88815

| EUVDEUVD-2026-88342 MEDIUM
Access of Resource Using Incompatible Type (Type Confusion) (CWE-843)
2026-09-24 vendor:ubuntu
6.2
CVSS 3.1 · Vendor: vendor:ubuntu
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach code path invoking DBI::sql_type_cast
  2. Delivery
    Supply IV/NV-typed scalar value
  3. Exploit
    Trigger mishandled integer/numeric cast
  4. Execution
    Out-of-bounds read or type confusion
  5. Impact
    Crash or memory disclosure

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Type safety enforcement
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the affected application actually invoke DBI::sql_type_cast on a Perl scalar holding an internal integer (IV) or numeric/double (NV) value - the specific code path the fix addresses - with a value the attacker can influence. Limiting factors: this is an internal library routine, so reachability depends on the DBD driver and application logic rather than any default remote endpoint; there is no evidence of unauthenticated network exposure, and impact appears confined to incorrect casting, a crash, or limited memory over-read rather than code execution. No CVSS vector was provided to confirm attack vector, privilege, or user-interaction requirements.

Impact

This entry is extremely data-sparse: no CVSS score or vector, no CWE, no EPSS, no KEV listing, and no POC - the only substantive artifact is a commit-message-style title ('Fix DBI::sql_type_cast on IV/NV') and an Ubuntu vendor report. Exploitation status is therefore 'no public exploit identified at time of analysis,' and authentication requirements cannot be confirmed because no CVSS vector was provided. The affected code, DBI::sql_type_cast, is an XS/C-level routine in the Perl DBI database-interface module that casts a Perl scalar to a SQL type; the 'IV/NV' qualifier points to mishandling of scalars that already carry an integer (IV) or double (NV) internal value rather than a string, which is characteristic of a type-confusion or out-of-bounds read/miscast rather than a directly remotely-weaponizable flaw. Real-world risk is best treated as LOW-to-MODERATE and application-dependent: DBI is very widely deployed in the Perl ecosystem, but reachability of this specific cast path depends entirely on whether an application feeds attacker-influenced values through sql_type_cast, so this is more of a correctness/hardening fix than a broadly exploitable network vulnerability. Because the CVSS vector is missing, any attack-vector/complexity/privilege claim below is INFERRED from the code semantics, not confirmed - this should be verified against the upstream DBI changelog and the Ubuntu security advisory.

Exploit ScenarioDerived

An application passes attacker-influenceable data (e.g., query-result values or user input) through DBI's sql_type_cast with an integer or numeric-valued scalar, triggering the IV/NV mishandling to produce an incorrect cast or an out-of-bounds read. In the worst realistic case this yields a crash (DoS) or leakage of adjacent memory contents; no public exploit code is identified at time of analysis, and reachability is entirely dependent on how the host application uses the function.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 25, 2026

Incorrect type casting in the Perl DBI module's internal DBI::sql_type_cast routine can cause incorrect conversion results, a crash, or a limited memory over-read when an affected application invokes that routine on a Perl scalar holding an internal integer (IV) or numeric/double (NV) value that an attacker can influence. The independently assessed vector (CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L) indicates a local, high-complexity attack requiring low privileges and no user interaction, with only low confidentiality, integrity and availability impact, and no public exploit code was identified at time of analysis. The entry is extremely data-sparse - no CVSS score or vector, no CWE, no EPSS, no CISA KEV listing and no POC were supplied - so the only substantive artifacts are a commit-message-style fix title ('Fix DBI::sql_type_cast on IV/NV') and a vendor report from Ubuntu, meaning exploitability depends entirely on whether a specific DBD driver or application actually reaches the affected code path with attacker-controlled input.

RemediationAI

No release-specific fix version is confirmed in the provided data; the commit-message-style title suggests an upstream source-level fix exists (upstream fix available (commit); released patched version not independently confirmed), and no vendor-released patch version for this CVE was supplied. Primary action: track the Ubuntu security notice for the DBI source package and upgrade the perl DBI package (and any locally installed CPAN DBI copies, which are not covered by distribution patching) to the first version containing the sql_type_cast fix once the vendor names it; verify with the package version and the upstream DBI changelog rather than assuming any newer build is fixed. Compensating controls, with trade-offs: (1) audit application and DBD driver code paths that call sql_type_cast or bind Perl scalars that may hold IV/NV values influenced by untrusted input, and force stringification or explicit validation of those values before they reach DBI - this can change SQL parameter typing behavior and requires regression testing per driver; (2) if the vulnerable routine cannot be avoided, run the affected Perl service under a dedicated low-privilege account and restrict who can influence its input data, accepting that the assessed local, low-privilege vector means this shrinks but does not eliminate exposure; (3) monitor for abnormal process crashes or memory errors in Perl processes using DBI, since the failure mode is more likely a crash or limited over-read than code execution. Do not disable DBI globally or block network ports as a blanket measure - that would break database connectivity without addressing a local library-level defect.

Affected ProductsAI

The affected component is the Perl DBI module (DBI.pm and its XS internals), specifically the DBI::sql_type_cast code path handling Perl scalars whose internal representation is an integer (IV) or numeric (NV) value. No exact version range, release numbers, or CPE identifiers were supplied in the available data; the only affected-product signal is a vendor report from Ubuntu, indicating that DBI as shipped in Ubuntu (and potentially other distributions or CPAN-installed DBI copies, since Perl module packaging varies) is the tracked package. Because the vulnerability is in an internal library routine rather than a standalone network service, the practical set of affected applications is every Perl program that links against the vulnerable DBI build and reaches this cast path through its DBD driver. Administrators should treat the vendor advisory for the DBI package in their distribution (Ubuntu security notices for the DBI source package) and the upstream DBI release notes as the authoritative source for the exact affected and fixed versions, since the provided data does not enumerate them.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Perl's DBI is the standard database interface layer for Perl; DBD drivers use it to bind application values to SQL parameter types, and sql_type_cast is an internal helper that inspects a Perl scalar's internal representation and casts it toward a target SQL type. Perl scalars can internally hold an integer value (IV) or a numeric/double value (NV) rather than a string, and the fix title indicates the routine misbehaved specifically when handed a scalar that already carried an IV or NV. The root-cause class is therefore incorrect type/representation handling in a conversion routine (a type-confusion-adjacent class), but no CWE was provided, so no specific CWE mapping can be asserted. Reachability is not through a network endpoint by default: this is an internal library routine, so exposure depends on the calling DBD driver and application logic, and the assessed vector (AV:L/AC:H/PR:L/UI:N) confirms the impact is confined to a local, high-complexity path requiring low privileges, with low C/I/A rather than remote code execution. No CPE strings were included in the provided intelligence; the affected component is the DBI module as packaged and tracked by Ubuntu.

Know when Perl gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vendor:ubuntu) PRIMARY 6.2 MEDIUM
AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 4.5 MEDIUM

Library-internal cast bug whose reachability and impact are application-dependent, implying local vector, high complexity, and only limited confidentiality/integrity/availability effect; low confidence due to absent CVSS/CWE data.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
4.0 AV:L/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
SUSE MEDIUM
Red Hat 7.5 HIGH

Primary rating from Vendor (vendor:ubuntu).

CVSS VectorVendor: vendor:ubuntu

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
CVSS changed
Sep 30, 2026 - 20:53 NVD
6.2 (MEDIUM)
CVE Published
Sep 24, 2026 - 00:00 cve.org
MEDIUM

DescriptionCVE.org

[Fix DBI::sql_type_cast on IV/NV]

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Prevalence
High
DBI is the de-facto standard database interface library across Perl deployments
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
High

Priority Score

31
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +31
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Perl

View all
CVE-2012-6329 HIGH POC
7.5 Jan 04

The _compile function in Maketext.pm in the Locale::Maketext implementation in Perl before 5.17.7 does not properly hand

CVE-2017-12814 CRITICAL POC
9.8 Sep 28

Stack-based buffer overflow in the CPerlHost::Add method in win32/perlhost.h in Perl before 5.24.3-RC1 and 5.26.x before

CVE-2015-8608 CRITICAL POC
9.8 Feb 07

The VDir::MapPathA and VDir::MapPathW functions in Perl 5.22 allow remote attackers to cause a denial of service (out-of

CVE-2018-18314 CRITICAL POC
9.8 Dec 07

Perl before 5.26.3 has a buffer overflow via a crafted regular expression that triggers invalid write operations. Rated

CVE-2018-18312 CRITICAL POC
9.8 Dec 05

Perl before 5.26.3 and 5.28.0 before 5.28.1 has a buffer overflow via a crafted regular expression that triggers invalid

CVE-2018-18313 CRITICAL POC
9.1 Dec 07

Perl before 5.26.3 has a buffer over-read via a crafted regular expression that triggers disclosure of sensitive informa

CVE-2016-2381 HIGH
7.5 Apr 08

Perl might allow context-dependent attackers to bypass the taint protection mechanism in a child process via duplicate e

CVE-2023-31484 HIGH POC
8.1 Apr 29

CPAN.pm before 2.35 does not verify TLS certificates when downloading distributions over HTTPS. Rated high severity (CVS

CVE-2016-6185 HIGH POC
7.8 Aug 02

The XSLoader::load method in XSLoader in Perl does not properly locate .so files when called in a string eval, which mig

CVE-2018-12015 HIGH POC
7.5 Jun 07

In Perl through 5.26.2, the Archive::Tar module allows remote attackers to bypass a directory-traversal protection mecha

CVE-2020-10543 HIGH
8.2 Jun 05

Perl before 5.30.3 on 32-bit platforms allows a heap-based buffer overflow because nested regular expression quantifiers

CVE-2015-8853 HIGH
7.5 May 25

The (1) S_reghop3, (2) S_reghop4, and (3) S_reghopmaybe3 functions in regexec.c in Perl before 5.24.0 allow context-depe

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 Fixed
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS Affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS Affected
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy