CVEfocus › CVE database › CVE-2015-3166

CVE-2015-3166

EPSS 4.6% (higher than 92% of CVEs)Published 2019-11-20Updated 2024-08-06Assigner: redhat

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.

What to do

Fixed builds are available from Red Hat, Ubuntu: see the table below for the fixed version per release.

Red Hat has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

23Fixed
2Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 14.04postgresql-9.1Fixed9.1.16-0ubuntu0.14.04UBUNTU-CVE-2015-3166
Ubuntu 14.04postgresql-9.3Fixed9.3.7-0ubuntu0.14.04UBUNTU-CVE-2015-3166
Red Hat Enterprise Linux 7postgresqlFixed0:9.2.13-1.el7_1RHSA-2015:1194
Red Hat Enterprise Linux 7postgresql-contribFixed0:9.2.13-1.ael7b_1RHSA-2015:1194
Red Hat Enterprise Linux 7postgresql-develFixed0:9.2.13-1.el7_1RHSA-2015:1194
Red Hat Enterprise Linux 7postgresql-docsFixed0:9.2.13-1.el7_1RHSA-2015:1194
Red Hat Enterprise Linux 7postgresql-libsFixed0:9.2.13-1.ael7b_1RHSA-2015:1194
Red Hat Enterprise Linux 7postgresql-plperlFixed0:9.2.13-1.el7_1RHSA-2015:1194
Red Hat Enterprise Linux 7postgresql-plpythonFixed0:9.2.13-1.el7_1RHSA-2015:1194
Red Hat Enterprise Linux 7postgresql-pltclFixed0:9.2.13-1.el7_1RHSA-2015:1194
Red Hat Enterprise Linux 7postgresql-serverFixed0:9.2.13-1.el7_1RHSA-2015:1194
Red Hat Enterprise Linux 7postgresql-testFixed0:9.2.13-1.el7_1RHSA-2015:1194
Red Hat Enterprise Linux 7postgresql-upgradeFixed0:9.2.13-1.el7_1RHSA-2015:1194
Red Hat Enterprise Linux 6postgresqlFixed0:8.4.20-3.el6_6RHSA-2015:1194
Red Hat Enterprise Linux 6postgresql-contribFixed0:8.4.20-3.el6_6RHSA-2015:1194
Red Hat Enterprise Linux 6postgresql-develFixed0:8.4.20-3.el6_6RHSA-2015:1194
Red Hat Enterprise Linux 6postgresql-docsFixed0:8.4.20-3.el6_6RHSA-2015:1194
Red Hat Enterprise Linux 6postgresql-libsFixed0:8.4.20-3.el6_6RHSA-2015:1194
Red Hat Enterprise Linux 6postgresql-plperlFixed0:8.4.20-3.el6_6RHSA-2015:1194
Red Hat Enterprise Linux 6postgresql-plpythonFixed0:8.4.20-3.el6_6RHSA-2015:1194
Red Hat Enterprise Linux 6postgresql-pltclFixed0:8.4.20-3.el6_6RHSA-2015:1194
Red Hat Enterprise Linux 6postgresql-serverFixed0:8.4.20-3.el6_6RHSA-2015:1194
Red Hat Enterprise Linux 6postgresql-testFixed0:8.4.20-3.el6_6RHSA-2015:1194
Red Hat Enterprise Linux 5postgresqlFix pending
Affected
Red Hat Enterprise Linux 5postgresql84Fix pending
Affected

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.