Вход на сайт

Просмотр новости

Найдите то, что Вас интересует

CVE-2026-73193: 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

Дата публикации: 15-08-2026 13:16:03

Posted by Robert Rothenberg on Aug 15========================================================================
CVE-2026-73193                                       CPAN Security Group
========================================================================
        CVE ID:  CVE-2026-73193
  Distribution:  DBI
      Versions:  before 1.652
      MetaCPAN:  https://metacpan.org/dist/DBI
      VCS Repo:  https://github.com/perl5-dbi/dbi
DBI...


Основное содержимое страницы с новостью.

oss-sec logo oss-sec mailing list archives
From: Robert Rothenberg <rrwo () cpansec org>
Date: Sat, 15 Aug 2026 13:10:35 +0100


========================================================================
CVE-2026-73193                                       CPAN Security Group
========================================================================

        CVE ID:  CVE-2026-73193
  Distribution:  DBI
      Versions:  before 1.652

      MetaCPAN:  https://metacpan.org/dist/DBI
      VCS Repo:  https://github.com/perl5-dbi/dbi


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

Description
-----------
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.

Problem types
-------------
- CWE-190 Integer Overflow or Wraparound
- CWE-787 Out-of-bounds Write

Workarounds
-----------
On 32-bit depoyments that cannot be upgraded, limit the size of SQL
statements under 292 megabytes.

Solutions
---------
Upgrade to DBI 1.652 or later.

References
----------
https://www.cve.org/CVERecord?id=CVE-2026-14739
https://github.com/perl5-dbi/dbi/security/advisories/GHSA-wj3v-c3hh-mhqr
https://github.com/perl5-dbi/dbi/commit/c751ae5a5a6f56c2f8284f37c1f4d43500352ef1.patch

Credits
-------
Chrysostomos Manousis, reporter




Current thread:
  • CVE-2026-73193: 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 Robert Rothenberg (Aug 15)

Схожие новости

#Наименование новостиТональностьИнформативностьДата публикации
1CVE-2026-73194: 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 preparse09.6915-08-2026
2CVE-2026-17431: PDF::WebKit versions through 1.2 for Perl allow OS command injection via a 2-arg open() of the output path in to_pdf and of stylesheet paths in _style_tag_for011.5413-08-2026
3CVE-2026-16770: PDF::WebKit versions through 1.2 for Perl allow argument injection into wkhtmltopdf via meta tags in the source document013.1313-08-2026
4CVE-2026-15689: Dancer2::Plugin::Auth::Extensible versions through 0.713 for Perl allow password reset link poisoning via the request Host header in _default_email_password_reset and _default_welcome_send09.515-08-2026
5Rocky Linux perl-IO-Compress Important Code Execution Flaw RLSA-2026-308590501-07-2026
6Rocky Linux perl Important Security Update RLSA-2026-30851 CVE-2026-424960529-06-2026
7OpenSSL Security Advisory06.6213-08-2026
8Fixes available for CVE-2026-31431 (Copy Fail) Linux Kernel Local Privilege Escalation Vulnerability07.8401-05-2026
9Re: GNU Inetutils talkd buffer overflow with long DNS names.08.8615-08-2026
10CVE-2026-64607: Apache HttpComponents Client: Connection Leak on Content-Encoding Decode Error Leads to Pool Exhaustion DoS07.4113-08-2026

Классификация: . Схожих патентов: 0. Схожих новостей: 10. Тональность: 0. Информативность: 8.75. Источник: seclists.org.