OESA-2026-3477

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2026-3477
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2026-3477.json
JSON Data
https://api.osv.dev/v1/vulns/OESA-2026-3477
Upstream
Published
2026-08-20T10:01:03Z
Modified
2026-08-20T10:15:15.435148612Z
Severity
  • 7.7 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/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.652 for Perl allow a heap out-of-bounds write via an unvalidated numeric placeholder that sets the binder counter in preparse.

preparse reserves seven output bytes per input byte, the width of the longest ':p99999' expansion. The ':N' branch parses the number with atoi(src) and assigns it to the binder counter with no range check, so a statement containing ':2147483648' leaves the counter negative (-2147483648 with glibc, where atoi wraps). Each following '?' then expands through sprintf(start, ":p%d", idx++) to ':p-2147483648', 14 bytes with the terminating NUL where the buffer budgets 7. The placeholder limit added in 1.650 tests the counter against 99,999, which a negative counter passes.

Any caller that preparses an untrusted statement into ':pN' style placeholders gets a heap out-of-bounds write that grows with the number of '?' marks following the poisoned placeholder. The '?' and '%s' return styles compare the parsed number against the expected sequence and error out, and are unaffected.(CVE-2026-73194)

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

Affected packages

openEuler:24.03-LTS-SP3 / perl-DBI

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.643-7.oe2403sp3

Ecosystem specific

{
    "x86_64": [
        "perl-DBI-1.643-7.oe2403sp3.x86_64.rpm",
        "perl-DBI-debuginfo-1.643-7.oe2403sp3.x86_64.rpm",
        "perl-DBI-debugsource-1.643-7.oe2403sp3.x86_64.rpm"
    ],
    "aarch64": [
        "perl-DBI-1.643-7.oe2403sp3.aarch64.rpm",
        "perl-DBI-debuginfo-1.643-7.oe2403sp3.aarch64.rpm",
        "perl-DBI-debugsource-1.643-7.oe2403sp3.aarch64.rpm"
    ],
    "noarch": [
        "perl-DBI-help-1.643-7.oe2403sp3.noarch.rpm"
    ],
    "src": [
        "perl-DBI-1.643-7.oe2403sp3.src.rpm"
    ]
}

Database specific

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