
CVE catalog
CVE-2026-78183
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 s
- Severity
- Critical · CVSS 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 0.67% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libdbd-pg-perl | sid | 3.21.2-1 | not affected |
| Debian | libdbd-pg-perl | forky | 3.21.2-1 | not affected |
| Debian | libdbd-pg-perl | trixie | 3.18.0-1 | not affected |
| Debian | libdbd-pg-perl | bookworm | 3.16.0-2 | not affected |
| Opensuse | perl-DBD-Pg | tumbleweed | 3.21.2-1.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libdbd-pg-perl | source | sid | Not affected | unimportant | Not reported | Not reported |
| Debian | libdbd-pg-perl | source | forky | Not affected | unimportant | Not reported | Not reported |
| Debian | libdbd-pg-perl | source | trixie | Not affected | unimportant | Not reported | Not reported |
| Debian | libdbd-pg-perl | source | bookworm | Not affected | unimportant | Not reported | Not reported |
| Opensuse | perl-DBD-Pg | rpm | tumbleweed | 3.21.2-1.1 | Not reported | OPENSUSE-SU-2026:11722-1 | Not reported |
OpenFactory catalog packages
[openSUSE Tumbleweed]
- [perl-DBD-Pg]Affected
Source package: [perl-DBD-Pg]
Details (1)
3.20.2-1.4· x86_64 · tumbleweedAffected · Fixed:
3.21.2-1.1nvd · perl-DBD-Pg · opensuse · tumbleweed
[Debian 12 (Bookworm)]
- [libdbd-pg-perl]Not affected
Details (2)
3.16.0-2· amd64 · bookwormNot affected
nvd · libdbd-pg-perl · debian · bookworm
3.16.0-2· arm64 · bookwormNot affected
nvd · libdbd-pg-perl · debian · bookworm
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_11722-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-78183]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:11722-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-78183]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-78183.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]