OESA-2026-4254

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2026-4254
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2026-4254.json
JSON Data
https://api.osv.dev/v1/vulns/OESA-2026-4254
Upstream
CVE (2)
Published
2026-10-16T11:58:38Z
Modified
2026-10-16T12:15:05Z
Severity
  • 6.2 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
perl-DBI security update
Details

The DBI is the standard database interface module for Perl. It defines a set of methods, variables and conventions that provide a consistent database interface independent of the actual database being used. It is important to remember that the DBI is just an interface. The DBI is a layer of "glue" between an application and one or more database driver modules. It is the driver modules which do most of the real work. The DBI provides a standard interface and framework for the drivers to operate within.

Security Fix(es):

DBI versions before 1.654 for Perl incorrectly treat numeric values as strings in sql_type_cast_svpv.

When casting to SQL_NUMERIC, sql_type_cast_svpv passes the string pointer and length of the SV to grok_number without stringifying it first. An integer (IV) or floating-point (NV) value has no valid string pointer, so grok_number reads from an invalid address, triggering a segmentation fault.

This is reachable in Perl using the sql_type_cast function:

my $num = 42; DBI::sql_type_cast( $num, DBI::SQL_NUMERIC, 0 );(CVE-2026-88815)

DBI versions before 1.654 for Perl incorrectly treat numeric values as strings in FetchHashKeyName.

fetchrow_hashref uses the string pointer of the FetchHashKeyName attribute as the key name without stringifying it first. When FetchHashKeyName has been set to an integer (IV) or floating-point (NV) value, that pointer is invalid, so reading the key name triggers a segmentation fault.

This can be triggered with the following code:

my $dbh = DBI->connect( "dbi:ExampleP:", "", "", { RaiseError => 0, PrintError => 0 } ); $dbh->{FetchHashKeyName} = 42;

my $sth = $dbh->prepare("select mode, size, name from ."); $sth->execute; $sth->fetchrow_hashref;(CVE-2026-88816)

Database specific
{
    "severity":  "Medium"
}
References

Affected packages

openEuler:24.03-LTS-SP4 / perl-DBI

Package

Name
perl-DBI
Purl
pkg:rpm/openEuler/perl-DBI&distro=openEuler-24.03-LTS-SP4

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.648-8.oe2403sp4

Ecosystem specific

{
    "aarch64":  [
        "perl-DBI-1.648-8.oe2403sp4.aarch64.rpm",
        "perl-DBI-debuginfo-1.648-8.oe2403sp4.aarch64.rpm",
        "perl-DBI-debugsource-1.648-8.oe2403sp4.aarch64.rpm"
    ],
    "noarch":  [
        "perl-DBI-help-1.648-8.oe2403sp4.noarch.rpm"
    ],
    "src":  [
        "perl-DBI-1.648-8.oe2403sp4.src.rpm"
    ],
    "x86_64":  [
        "perl-DBI-1.648-8.oe2403sp4.x86_64.rpm",
        "perl-DBI-debuginfo-1.648-8.oe2403sp4.x86_64.rpm",
        "perl-DBI-debugsource-1.648-8.oe2403sp4.x86_64.rpm"
    ]
}

Database specific

source
"https://repo.openeuler.org/security/data/osv/OESA-2026-4254.json"