DHI-maut-g5ow-s4om-rj27

Source
https://scout.docker.com/v/DHI-maut-g5ow-s4om-rj27
Import Source
https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-maut-g5ow-s4om-rj27.json
JSON Data
https://api.osv.dev/v1/vulns/DHI-maut-g5ow-s4om-rj27
Upstream
Published
2026-11-11T17:18:01Z
Modified
2026-11-16T02:35:47Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
DBI versions before 1.652 for Perl allow a heap out-of-bounds write on 32-bit perl via an integer wraparound in the…
Details

DBI versions before 1.652 for Perl allow a heap out-of-bounds write on 32-bit perl via an integer wraparound in the output buffer size computed by preparse.

preparse reserves its output buffer with newSV(strlen(statement) * 7 + 16), budgeting seven output bytes per input byte for the longest ':p99999' expansion. The product is computed in STRLEN, which is 32 bits wide on a 32-bit perl build, so a statement of 613,566,757 bytes multiplies to 4,294,967,299, wraps modulo 2^32 to 3, and reserves 19 bytes. The parser then copies the statement out through a raw pointer with no capacity check, writing the whole 585 MB input past the end of the allocation. The 99,999 placeholder limit does not bound this path, which is reached by ordinary non-placeholder content.

Any caller that passes an untrusted statement of that length to preparse on a 32-bit perl gets a heap out-of-bounds write of attacker controlled bytes. Builds with a 64-bit STRLEN are not affected, since the wrap there needs a statement of about 2.3 exabytes.

References

Affected packages

Docker Hardened Images:Alpine:3.24 / perl-dbi

Package

Name
perl-dbi
Purl
pkg:apk/dhi/perl-dbi

Affected ranges

Affected versions

1.*
1.648-r0
1.651-r0
1.651-r1
1.651-r2

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-maut-g5ow-s4om-rj27.json"