cve.bz

CVE-2026-78183 Out-of-bounds Write

9.8 criticalEPSS 0.7%

Critical (9.8). EPSS 0.7% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 53rd percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2026-08-25. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-78183 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-78183?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-78183?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-78183 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu18.04:LTS, 20.04:LTS, 26.10libdbd-pg-perlno fix listedUBUNTU-CVE-2026-78183
openSUSETumbleweedperl-DBD-Pg3.21.2-1.1openSUSE-SU-2026:11722-1

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

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.

Red Hat's mitigation

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.

ProductPackageStateAdvisory
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

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-78183.

References

Check your stackJSON