Skip to main content
VulnerabilityPublished Updated

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

0
Compare
Authoritative record:CVE-2026-78183· Critical 9.8

Not known to be exploited · CVSS 9.8 Critical.

Data as of 9 Nov 2026, 13:55 UTC

CVSS 3.1 base score
9.8Critical
How severe the flaw is on the 0–10 CVSS scale.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 23 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Ubuntu 26.10libdbd-pg-perlpkg:deb/ubuntu/libdbd-pg-perl?arch=source&distro=stonkingOther threatsAffected
  • =3.18.0-4
  • =3.20.2-1
  • =3.20.2-1build1
Fixed in–
Ubuntu 22.04 LTSlibdbd-pg-perlpkg:deb/ubuntu/libdbd-pg-perl?arch=source&distro=jammyOther threatsAffected
  • =3.14.2-1build1
  • =3.15.0-2
  • =3.15.1-1
Fixed in–
Ubuntu 20.04 LTSlibdbd-pg-perlpkg:deb/ubuntu/libdbd-pg-perl?arch=source&distro=focalOther threatsAffected
  • 3.9.1-1 – 3.10.4-1
5 affected builds
Fixed in–
Ubuntu 18.04 LTSlibdbd-pg-perlpkg:deb/ubuntu/libdbd-pg-perl?arch=source&distro=bionicOther threatsAffected
  • =3.6.2-2build1
  • =3.7.0-1
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.

References

Community reviews

Loading reviews…