{"id":"CVE-2026-78183","published":"2026-08-23T19:53:18Z","modified":"2026-08-25T19:32:39Z","title":"DBD::Pg version 3.21.0 for Perl has a heap out-of-bounds write in quote_float","vendor":null,"product":null,"tier":"tail","description":{"text":"DBD::Pg version 3.21.0 for Perl has a heap out-of-bounds write in quote_float.\n\nquote_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.\n\nThis can be reached by the $dbh->quote method, for example\n\n    $dbh->quote( \"Infinity\", DBI::SQL_NUMERIC ).\n\nThis regression was introduced in 3.21.0 by the quote.c rewrite.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00671,"percentile":0.52976,"provenance":"source"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"references":[{"url":"https://github.com/bucardo/dbdpg/security/advisories/GHSA-785p-fw3v-r822","tags":["vendor-advisory"]},{"url":"https://metacpan.org/release/TURNSTEP/DBD-Pg-3.21.1/source/Changes","tags":["release-notes"]},{"url":"https://github.com/bucardo/dbdpg/commit/6d6f47ed2403cda55c82b1bad56e388ba7390065.patch","tags":["patch"]},{"url":"https://github.com/bucardo/dbdpg/commit/adacf1de872326a465e13f9e4281a674ebcd227e","tags":["related"]},{"url":"http://www.openwall.com/lists/oss-security/2026/08/23/5","tags":[]}],"priority":{"score":17.5,"factors":[{"name":"EPSS percentile","points":10.6},{"name":"CVSS severity","points":6.86}]},"affectedVersions":[{"vendor":null,"product":null,"versions":["3.21.0"]}],"solutions":{"items":["Upgrade to version 3.21.1 or later."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-08-25T19:32:23.591734Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-64665","exploited":false,"provenance":"source"}}