Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-78183

Опубликовано: 23 авг. 2026
Источник: redhat
CVSS3: 7.5
EPSS Низкий

Описание

DBD::Pg version 3.21.0 for Perl has a heap out-of-bounds write in quote_float. quote_float() allocates the length of the string + 1, which is the size of the bare numeric symbol plus NULL. But for special literals NaN, Inf, +Inf, -Inf, Infinity, +Infinity, -Infinity it emits the literal surrounded by quotes plus NULL, which is length + 3 bytes. Every recognised literal (case-insensitive) overflows by 2 bytes, a single quote and a NULL. This can be reached by the $dbh->quote method, for example $dbh->quote( "Infinity", DBI::SQL_NUMERIC ). This regression was introduced in 3.21.0 by the quote.c rewrite.

A flaw was found in DBD::Pg for Perl. This vulnerability involves a heap out-of-bounds write in the quote_float function when processing special numeric literals such as "Infinity". An attacker could potentially exploit this by providing specific input to the $dbh->quote method, leading to a two-byte memory overflow. This memory corruption could result in a denial of service or potentially lead to arbitrary code execution.

Отчет

This Important heap out-of-bounds write in DBD::Pg affects version 3.21.0. Red Hat products are not impacted by this flaw because the vulnerable code is not present in the versions of perl-DBD-Pg shipped with Red Hat Enterprise Linux and other Red Hat offerings.

Меры по смягчению последствий

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 10perl-DBD-PgNot affected
Red Hat Enterprise Linux 6perl-DBD-PgNot affected
Red Hat Enterprise Linux 7perl-DBD-PgNot affected
Red Hat Enterprise Linux 8perl-DBD-Pg:3.7/perl-DBD-PgNot affected
Red Hat Enterprise Linux 9perl-DBD-PgNot affected

Показывать по

Дополнительная информация

Статус:

Important
Дефект:
CWE-787
https://bugzilla.redhat.com/show_bug.cgi?id=2521667perl-DBD-Pg: DBD::Pg: Heap out-of-bounds write can lead to memory corruption.

EPSS

Процентиль: 52%
0.00671
Низкий

7.5 High

CVSS3

Связанные уязвимости

CVSS3: 9.8
ubuntu
3 месяца назад

DBD::Pg version 3.21.0 for Perl has a heap out-of-bounds write in quote_float. quote_float() allocates the length of the string + 1, which is the size of the bare numeric symbol plus NULL. But for special literals NaN, Inf, +Inf, -Inf, Infinity, +Infinity, -Infinity it emits the literal surrounded by quotes plus NULL, which is length + 3 bytes. Every recognised literal (case-insensitive) overflows by 2 bytes, a single quote and a NULL. This can be reached by the $dbh->quote method, for example $dbh->quote( "Infinity", DBI::SQL_NUMERIC ). This regression was introduced in 3.21.0 by the quote.c rewrite.

CVSS3: 9.8
nvd
3 месяца назад

DBD::Pg version 3.21.0 for Perl has a heap out-of-bounds write in quote_float. quote_float() allocates the length of the string + 1, which is the size of the bare numeric symbol plus NULL. But for special literals NaN, Inf, +Inf, -Inf, Infinity, +Infinity, -Infinity it emits the literal surrounded by quotes plus NULL, which is length + 3 bytes. Every recognised literal (case-insensitive) overflows by 2 bytes, a single quote and a NULL. This can be reached by the $dbh->quote method, for example $dbh->quote( "Infinity", DBI::SQL_NUMERIC ). This regression was introduced in 3.21.0 by the quote.c rewrite.

CVSS3: 9.8
debian
3 месяца назад

DBD::Pg version 3.21.0 for Perl has a heap out-of-bounds write in quot ...

CVSS3: 9.8
github
3 месяца назад

DBD::Pg version 3.21.0 for Perl has a heap out-of-bounds write in quote_float. quote_float() allocates the length of the string + 1, which is the size of the bare numeric symbol plus NULL. But for special literals NaN, Inf, +Inf, -Inf, Infinity, +Infinity, -Infinity it emits the literal surrounded by quotes plus NULL, which is length + 3 bytes. Every recognised literal (case-insensitive) overflows by 2 bytes, a single quote and a NULL. This can be reached by the $dbh->quote method, for example $dbh->quote( "Infinity", DBI::SQL_NUMERIC ). This regression was introduced in 3.21.0 by the quote.c rewrite.

CVSS3: 9.8
altlinux
2 месяца назад

ALT-PU-2026-14130: package `perl-DBD-Pg` update to version 3.21.1-alt1

EPSS

Процентиль: 52%
0.00671
Низкий

7.5 High

CVSS3