Skip to content
Fencer Vulns
critical 9.8

CVE-2015-3166 in the critical feed json

The snprintf implementation in PostgreSQL before 9.0.20, 9.1.x before 9.1.16, 9.2.x before 9.2.11, 9.3.x before 9.3.7, and 9.4.x before 9.4…

published 2019-11-20 6 y ago modified 2026-06-17 4 mo ago also EUVD-2015-3244

cvss
9.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
4.6%
EPSS 4.6% chance of exploitation in 30 days, percentile 91%
public exploits
0
none known

Summary

The snprintf implementation in PostgreSQL before 9.0.20, 9.1.x before 9.1.16, 9.2.x before 9.2.11, 9.3.x before 9.3.7, and 9.4.x before 9.4.2 does not properly handle system-call errors, which allows attackers to obtain sensitive information or have other unspecified impact via unknown vectors, as demonstrated by an out-of-memory error.

Patch / fix

  • postgresql postgresql 9.0.20, 9.1.16, 9.2.11, 9.3.7, 9.4.2
  • postgresql-9.1 Ubuntu 14.04 LTS 9.1.16-0ubuntu0.14.04
  • postgresql-9.3 Ubuntu 14.04 LTS 9.3.7-0ubuntu0.14.04

ubuntu advisories UBUNTU-CVE-2015-3166

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • rh-postgresql94-postgresql RHEL 2 SOFTWARE_COLLECTIONS 9.4.4-1.el6
  • rh-postgresql94-postgresql RHEL 2 SOFTWARE_COLLECTIONS 9.4.4-1.el7
  • rh-postgresql94-postgresql-libs RHEL 2 SOFTWARE_COLLECTIONS 9.4.4-1.el6
  • rh-postgresql94-postgresql-libs RHEL 2 SOFTWARE_COLLECTIONS 9.4.4-1.el7
  • rh-postgresql94-postgresql-test RHEL 2 SOFTWARE_COLLECTIONS 9.4.4-1.el6
  • rh-postgresql94-postgresql-test RHEL 2 SOFTWARE_COLLECTIONS 9.4.4-1.el7
  • rh-postgresql94-postgresql-pltcl RHEL 2 SOFTWARE_COLLECTIONS 9.4.4-1.el6
  • rh-postgresql94-postgresql-pltcl RHEL 2 SOFTWARE_COLLECTIONS 9.4.4-1.el7

red hat advisories RHSA-2015:1196RHSA-2015:1195RHSA-2015:1194

  • postgresql93 SLES for SAP 12, SLES 12, SLED 12 9.3.8-8.1
  • postgresql93-libs SLES for SAP 12, SLES 12, SLED 12 +1 more 9.3.8-8.1

suse advisories SUSE-SU-2015:1264-1

  • postgresql94 openSUSE Tumbleweed 9.4.10-1.1
  • postgresql93 openSUSE Tumbleweed 9.3.15-1.1
  • postgresql95 openSUSE Tumbleweed 9.5.4-1.2

opensuse advisories openSUSE-SU-2024:10030-1openSUSE-SU-2024:10256-1openSUSE-SU-2024:10273-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-2015-3166 updated cvss 4.0

postgresql: unanticipated errors from the standard library

  • Red Hat CloudForms Management Engine 5 postgresql, postgresql92-postgresql Red Hat Enterprise Linux 5 postgresql, postgresql84 Red Hat Satellite 5 postgresql92
    affected: no fix available
  • Red Hat Enterprise Linux Client Optional (v. 7) postgresql 9.2.13-1.el7_1, postgresql-libs 9.2.13-1.el7_1, postgresql-test 9.2.13-1.el7_1, postgresql-pltcl 9.2.13-1.el7_1, postgresql-plperl 9.2.13-1.el7_1, postgresql-server 9.2.13-1.el7_1, +3 more Red Hat Enterprise Linux ComputeNode (v. 7) postgresql 9.2.13-1.el7_1, postgresql-libs 9.2.13-1.el7_1 Red Hat Enterprise Linux ComputeNode Optional (v. 7) postgresql 9.2.13-1.el7_1, postgresql-test 9.2.13-1.el7_1, postgresql-pltcl 9.2.13-1.el7_1, postgresql-plperl 9.2.13-1.el7_1, postgresql-server 9.2.13-1.el7_1, postgresql-contrib 9.2.13-1.el7_1, +2 more Red Hat Enterprise Linux Desktop (v. 6) postgresql 8.4.20-3.el6_6, postgresql-libs 8.4.20-3.el6_6 Red Hat Enterprise Linux Desktop Optional (v. 6) postgresql 8.4.20-3.el6_6, postgresql-test 8.4.20-3.el6_6, postgresql-pltcl 8.4.20-3.el6_6, postgresql-plperl 8.4.20-3.el6_6, postgresql-server 8.4.20-3.el6_6, postgresql-contrib 8.4.20-3.el6_6, +1 more Red Hat Enterprise Linux HPC Node (v. 6) postgresql 8.4.20-3.el6_6, postgresql-libs 8.4.20-3.el6_6
    +7 more products
    Red Hat Enterprise Linux HPC Node Optional (v. 6) postgresql-test 8.4.20-3.el6_6, postgresql-pltcl 8.4.20-3.el6_6, postgresql-plperl 8.4.20-3.el6_6, postgresql-server 8.4.20-3.el6_6, postgresql-contrib 8.4.20-3.el6_6, postgresql-plpython 8.4.20-3.el6_6 Red Hat Enterprise Linux Server (v. 6) postgresql 8.4.20-3.el6_6, postgresql-libs 8.4.20-3.el6_6, postgresql-test 8.4.20-3.el6_6, postgresql-pltcl 8.4.20-3.el6_6, postgresql-plperl 8.4.20-3.el6_6, postgresql-server 8.4.20-3.el6_6, +2 more Red Hat Enterprise Linux Server (v. 7) postgresql 9.2.13-1.el7_1, postgresql 9.2.13-1.ael7b_1, postgresql-libs 9.2.13-1.el7_1, postgresql-test 9.2.13-1.el7_1, postgresql-pltcl 9.2.13-1.el7_1, postgresql-libs 9.2.13-1.ael7b_1, +10 more Red Hat Enterprise Linux Server Optional (v. 7) postgresql-upgrade 9.2.13-1.el7_1, postgresql-upgrade 9.2.13-1.ael7b_1 Red Hat Enterprise Linux Workstation (v. 6) postgresql 8.4.20-3.el6_6, postgresql-libs 8.4.20-3.el6_6, postgresql-test 8.4.20-3.el6_6, postgresql-pltcl 8.4.20-3.el6_6, postgresql-plperl 8.4.20-3.el6_6, postgresql-server 8.4.20-3.el6_6, +2 more Red Hat Enterprise Linux Workstation (v. 7) postgresql 9.2.13-1.el7_1, postgresql-libs 9.2.13-1.el7_1, postgresql-test 9.2.13-1.el7_1, postgresql-pltcl 9.2.13-1.el7_1, postgresql-plperl 9.2.13-1.el7_1, postgresql-server 9.2.13-1.el7_1, +2 more Red Hat Enterprise Linux Workstation Optional (v. 7) postgresql-upgrade 9.2.13-1.el7_1
    fixed: vendor fix RHSA-2015:1194
  • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) postgresql92-postgresql 9.2.13-1.el6, rh-postgresql94-postgresql 9.4.4-1.el6, postgresql92-postgresql-libs 9.2.13-1.el6, postgresql92-postgresql-test 9.2.13-1.el6, postgresql92-postgresql-pltcl 9.2.13-1.el6, postgresql92-postgresql-plperl 9.2.13-1.el6, +12 more Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) postgresql92-postgresql 9.2.13-1.el7, rh-postgresql94-postgresql 9.4.4-1.el7, postgresql92-postgresql-libs 9.2.13-1.el7, postgresql92-postgresql-test 9.2.13-1.el7, postgresql92-postgresql-pltcl 9.2.13-1.el7, postgresql92-postgresql-plperl 9.2.13-1.el7, +12 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.5) postgresql92-postgresql 9.2.13-1.el6, rh-postgresql94-postgresql 9.4.4-1.el6, postgresql92-postgresql-libs 9.2.13-1.el6, postgresql92-postgresql-test 9.2.13-1.el6, postgresql92-postgresql-pltcl 9.2.13-1.el6, postgresql92-postgresql-plperl 9.2.13-1.el6, +12 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.6) postgresql92-postgresql 9.2.13-1.el6, rh-postgresql94-postgresql 9.4.4-1.el6, postgresql92-postgresql-libs 9.2.13-1.el6, postgresql92-postgresql-test 9.2.13-1.el6, postgresql92-postgresql-pltcl 9.2.13-1.el6, postgresql92-postgresql-plperl 9.2.13-1.el6, +12 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.1) postgresql92-postgresql 9.2.13-1.el7, rh-postgresql94-postgresql 9.4.4-1.el7, postgresql92-postgresql-libs 9.2.13-1.el7, postgresql92-postgresql-test 9.2.13-1.el7, postgresql92-postgresql-pltcl 9.2.13-1.el7, postgresql92-postgresql-plperl 9.2.13-1.el7, +12 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) postgresql92-postgresql 9.2.13-1.el6, rh-postgresql94-postgresql 9.4.4-1.el6, postgresql92-postgresql-libs 9.2.13-1.el6, postgresql92-postgresql-test 9.2.13-1.el6, postgresql92-postgresql-pltcl 9.2.13-1.el6, postgresql92-postgresql-plperl 9.2.13-1.el6, +12 more
    +1 more products
    Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) postgresql92-postgresql 9.2.13-1.el7, rh-postgresql94-postgresql 9.4.4-1.el7, postgresql92-postgresql-libs 9.2.13-1.el7, postgresql92-postgresql-test 9.2.13-1.el7, postgresql92-postgresql-pltcl 9.2.13-1.el7, postgresql92-postgresql-plperl 9.2.13-1.el7, +12 more
    fixed: vendor fix RHSA-2015:1195

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

Exploit prediction

4.61% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected products

  • PostgreSQL Global Development Group PostgreSQL

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Technology feeds

References

Sources

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.