CVE-2026-78183 json
DBD::Pg version 3.21.0 for Perl has a heap out-of-bounds write in quote_float
published 2026-08-23 2 mo ago modified 2026-10-14 25 d ago also EUVD-2026-64665
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 52%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- perl-DBD-Pg openSUSE Tumbleweed 3.21.2-1.1
opensuse advisories openSUSE-SU-2026:11722-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-78183 updated cvss 7.5
perl-DBD-Pg: DBD::Pg: Heap out-of-bounds write can lead to memory corruption.
-
Red Hat Enterprise Linux 6 perl-DBD-Pg Red Hat Enterprise Linux 7 perl-DBD-Pg, perl-DBD-Pg-tests Red Hat Enterprise Linux 8 perl-DBD-Pg Red Hat Enterprise Linux 9 perl-DBD-Pg Red Hat Enterprise Linux 10 perl-DBD-Pgnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 2 mo ago
Exploit prediction
0.67% chance of exploitation in the next 30 days, higher than 52% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
github.com
/bucardo/dbdpg/commit/6d6f47ed2403cda55c82b1bad56e388ba7390065.patch
patch
-
github.com
/bucardo/dbdpg/commit/adacf1de872326a465e13f9e4281a674ebcd227e
related
-
github.com
/bucardo/dbdpg/security/advisories/GHSA-785p-fw3v-r822
vendor-advisory
-
metacpan.org
/release/TURNSTEP/DBD-Pg-3.21.1/source/Changes
release-notes
- openwall.com /lists/oss-security/2026/08/23/5
Sources
- CVE List CVE-2026-78183
- NVD CVE-2026-78183
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.