Skip to content
Noroxi
CVE-2015-0243· NVD / CVE Program· CNA redhat

Multiple buffer overflows in contrib/pgcrypto in PostgreSQL before 9.0.19, 9.1.x before 9.1.15, 9.2.x before 9.2.10, 9.3.x before 9.3.6, and

Multiple buffer overflows in contrib/pgcrypto in PostgreSQL before 9.0.19, 9.1.x before 9.1.15, 9.2.x before 9.2.10, 9.3.x before 9.3.6, and 9.4.x before 9.4.1 allow remote authenticated users to cause a denial of service (crash) and possibly execute arbitrary code via unspecified vectors.

HighCVSS 8.8 · v3.1—No exploit Fix available
Published
Jan 27, 2020
Updated
Jun 16, 2026
EPSS
5.1% · 92th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

37

Monitor

Low priority for now.

CVSS
35 / 40 · 8.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
2 / 30 · 5.1%

Affected systems

VendorProduct
postgresqlpostgresql
debiandebian linux

Using postgresql? Add it to your stack and be the first to know about CVEs like this one. (PostgreSQL)

Add to my stack

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • postgresql postgresqlbefore 9.0.19
  • postgresql postgresql9.1.0 and later · before 9.1.15
  • postgresql postgresql9.2.0 and later · before 9.2.10
  • postgresql postgresql9.3.0 and later · before 9.3.6
  • postgresql postgresql9.4.0 and later · before 9.4.1

Versions reported by the vendor

Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.

  • PostgreSQL Global Development Group PostgreSQL

    • before 9.0.19, 9.1.x before 9.1.15, 9.2.x before 9.2.10, 9.3.x before 9.3.6, 9.4.x before 9.4.1affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:6.0postgresql-8.4before 8.4.22lts1-0+deb6u18.4.22lts1-0+deb6u1
Debian:7postgresql-9.1before 9.1.15-0+deb7u19.1.15-0+deb7u1
Red Hat:enterprise_linux:6::clientpostgresqlbefore 0:8.4.20-2.el6_60:8.4.20-2.el6_6
Red Hat:enterprise_linux:6::clientpostgresql-contribbefore 0:8.4.20-2.el6_60:8.4.20-2.el6_6
Red Hat:enterprise_linux:6::clientpostgresql-debuginfobefore 0:8.4.20-2.el6_60:8.4.20-2.el6_6
Red Hat:enterprise_linux:6::clientpostgresql-develbefore 0:8.4.20-2.el6_60:8.4.20-2.el6_6
Red Hat:enterprise_linux:6::clientpostgresql-docsbefore 0:8.4.20-2.el6_60:8.4.20-2.el6_6
Red Hat:enterprise_linux:6::clientpostgresql-libsbefore 0:8.4.20-2.el6_60:8.4.20-2.el6_6
Red Hat:enterprise_linux:6::clientpostgresql-plperlbefore 0:8.4.20-2.el6_60:8.4.20-2.el6_6
Red Hat:enterprise_linux:6::clientpostgresql-plpythonbefore 0:8.4.20-2.el6_60:8.4.20-2.el6_6
Red Hat:enterprise_linux:6::clientpostgresql-pltclbefore 0:8.4.20-2.el6_60:8.4.20-2.el6_6
Red Hat:enterprise_linux:6::clientpostgresql-serverbefore 0:8.4.20-2.el6_60:8.4.20-2.el6_6
Red Hat:enterprise_linux:6::clientpostgresql-testbefore 0:8.4.20-2.el6_60:8.4.20-2.el6_6
Red Hat:enterprise_linux:7::clientpostgresqlbefore 0:9.2.10-2.el7_10:9.2.10-2.el7_1
Red Hat:enterprise_linux:7::clientpostgresql-contribbefore 0:9.2.10-2.el7_10:9.2.10-2.el7_1
Red Hat:enterprise_linux:7::clientpostgresql-debuginfobefore 0:9.2.10-2.el7_10:9.2.10-2.el7_1
Red Hat:enterprise_linux:7::clientpostgresql-develbefore 0:9.2.10-2.el7_10:9.2.10-2.el7_1
Red Hat:enterprise_linux:7::clientpostgresql-docsbefore 0:9.2.10-2.el7_10:9.2.10-2.el7_1
Red Hat:enterprise_linux:7::clientpostgresql-libsbefore 0:9.2.10-2.el7_10:9.2.10-2.el7_1
Red Hat:enterprise_linux:7::clientpostgresql-plperlbefore 0:9.2.10-2.el7_10:9.2.10-2.el7_1
Red Hat:enterprise_linux:7::clientpostgresql-plpythonbefore 0:9.2.10-2.el7_10:9.2.10-2.el7_1
Red Hat:enterprise_linux:7::clientpostgresql-pltclbefore 0:9.2.10-2.el7_10:9.2.10-2.el7_1
Red Hat:enterprise_linux:7::clientpostgresql-serverbefore 0:9.2.10-2.el7_10:9.2.10-2.el7_1
Red Hat:enterprise_linux:7::clientpostgresql-testbefore 0:9.2.10-2.el7_10:9.2.10-2.el7_1

+39

Other highest-scoring records for the same primary product.

  • CVE-2017-7546PostgreSQL versions before 9.2.22, 9.3.18, 9.4.13, 9.5.8 and 9.6.4 are vulnerable to incorrect authentication flaw allowing remote attackers
    57Plan
  • CVE-2019-9193In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and users in the 'pg_execute_server_program' group to
    55Plan
  • CVE-2020-25695A flaw was found in PostgreSQL versions before 13.1, before 12.5, before 11.10, before 10.15, before 9.6.20 and before 9.5.24.
    49Plan
  • CVE-2007-3280The Database Link library (dblink) in PostgreSQL 8.1 implements functions via CREATE statements that map to arbitrary libraries based on the
    44Plan
  • CVE-2013-1899Argument injection vulnerability in PostgreSQL 9.2.x before 9.2.4, 9.1.x before 9.1.9, and 9.0.x before 9.0.13 allows remote attackers to ca
    42Plan
  • CVE-2018-16850postgresql before versions 11.1, 10.6 is vulnerable to a to SQL injection in pg_upgrade and pg_dump via CREATE TRIGGER ...
    41Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Debian:postgresql-8.48.4.22lts1-0+deb6u1 · Debian:6.0Package registry (OSV)
Debian:postgresql-9.19.1.15-0+deb7u1 · Debian:7Package registry (OSV)
Red Hat:postgresql92-postgresql0:9.2.10-2.el6 · Red Hat:rhel_software_collections:1::el6Package registry (OSV)
Red Hat:postgresql92-postgresql-contrib0:9.2.10-2.el6 · Red Hat:rhel_software_collections:1::el6Package registry (OSV)
Red Hat:postgresql92-postgresql-debuginfo0:9.2.10-2.el6 · Red Hat:rhel_software_collections:1::el6Package registry (OSV)
Red Hat:postgresql92-postgresql-devel0:9.2.10-2.el6 · Red Hat:rhel_software_collections:1::el6Package registry (OSV)
Red Hat:postgresql92-postgresql-docs0:9.2.10-2.el6 · Red Hat:rhel_software_collections:1::el6Package registry (OSV)
Red Hat:postgresql92-postgresql-libs0:9.2.10-2.el6 · Red Hat:rhel_software_collections:1::el6Package registry (OSV)
Red Hat:postgresql92-postgresql-plperl0:9.2.10-2.el6 · Red Hat:rhel_software_collections:1::el6Package registry (OSV)
Red Hat:postgresql92-postgresql-plpython0:9.2.10-2.el6 · Red Hat:rhel_software_collections:1::el6Package registry (OSV)
Red Hat:postgresql92-postgresql-pltcl0:9.2.10-2.el6 · Red Hat:rhel_software_collections:1::el6Package registry (OSV)
Red Hat:postgresql92-postgresql-server0:9.2.10-2.el6 · Red Hat:rhel_software_collections:1::el6Package registry (OSV)
Red Hat:postgresql92-postgresql-test0:9.2.10-2.el6 · Red Hat:rhel_software_collections:1::el6Package registry (OSV)
Red Hat:postgresql92-postgresql-upgrade0:9.2.10-2.el6 · Red Hat:rhel_software_collections:1::el6Package registry (OSV)
SUSE:postgresql939.3.6-5.2 · SUSE:Linux Enterprise Desktop 12Package registry (OSV)
SUSE:postgresql93-libs9.3.6-5.1 · SUSE:Linux Enterprise Desktop 12Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

nvd-primary

Root cause

When data is copied, the source length is not compared with the size of the destination buffer. Excess data overwrites adjacent memory.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

c
char buf[256];memcpy(buf, pkt->data, pkt->len);

Fixed

c
char buf[256];if (pkt->len > sizeof(buf)) {  return -EINVAL;}memcpy(buf, pkt->data, pkt->len);

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records