CVE-2026-78183: Libdbd pg perl · DBD::Pg version 3.21.0 for Perl has a heap out-of-bounds write in quote_float
Affects libdbd-pg-perlSource GCVE Database
Not known to be exploited · CVSS 9.8 Critical.
Data as of 9 Nov 2026, 13:55 UTC
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 23 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 9 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10libdbd-pg-perlpkg:deb/ubuntu/libdbd-pg-perl?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlibdbd-pg-perlpkg:deb/ubuntu/libdbd-pg-perl?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSlibdbd-pg-perlpkg:deb/ubuntu/libdbd-pg-perl?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu 18.04 LTSlibdbd-pg-perlpkg:deb/ubuntu/libdbd-pg-perl?arch=source&distro=bionicOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a fix is available, avoid passing special floating-point literals (NaN, Inf, Infinity variants) to the $dbh->quote method with DBI::SQL_NUMERIC to prevent triggering the vulnerability.
Description
DBD::Pg version 3.21.0 for Perl contains a heap out-of-bounds write vulnerability in the quote_float function. This occurs because quote_float allocates insufficient memory for certain special literals such as NaN, Inf, and Infinity, causing a buffer overflow by 2 bytes. The flaw was introduced in version 3.21.0 during a rewrite of quote.c and can be triggered via the $dbh->quote method. The vulnerability has a critical severity with a CVSS score of 9.8.