Вход на сайт

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

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

CVE-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 preparse

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

Posted by Robert Rothenberg on Aug 15========================================================================
CVE-2026-73194                                       CPAN Security Group
========================================================================
        CVE ID:  CVE-2026-73194
  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:11:35 +0100


========================================================================
CVE-2026-73194                                       CPAN Security Group
========================================================================

        CVE ID:  CVE-2026-73194
  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 via
an unvalidated numeric placeholder that sets the binder counter in
preparse

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

Problem types
-------------
- CWE-1284 Improper Validation of Specified Quantity in Input
- CWE-787 Out-of-bounds Write

Workarounds
-----------
For deployments that cannot be upgraded, limit SQL statements to 99,999
placeholders.

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

References
----------
https://github.com/perl5-dbi/dbi/security/advisories/GHSA-623j-hfpc-mrc4
https://github.com/perl5-dbi/dbi/commit/29b72ae7d2a8114a734a55840bf1c45b89207809.patch
https://www.cve.org/CVERecord?id=CVE-2026-14739
https://www.cve.org/CVERecord?id=CVE-2026-10879

Credits
-------
Harsh Raj Singhania, finder




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

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

#Наименование новостиТональностьИнформативностьДата публикации
1CVE-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 preparse08.7515-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
5OpenSSL Security Advisory06.6213-08-2026
6Re: GNU Inetutils talkd buffer overflow with long DNS names.08.8615-08-2026
7CVE-2026-64607: Apache HttpComponents Client: Connection Leak on Content-Encoding Decode Error Leads to Pool Exhaustion DoS07.4113-08-2026
8CVE Request: BlueZ AVRCP Out-of-Bounds Read (CWE-125)09.1214-08-2026
9archivers/zip - 3.0_608.4815-08-2026
10wp2shell: desde el CVE hasta el exploit público013.7320-07-2026

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