Skip to content
Fencer Vulns
high 8.8

CVE-2015-0241 json

The to_char function 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 allo…

published 2020-01-27 6 y ago modified 2026-06-17 4 mo ago also EUVD-2015-0263

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

Summary

The to_char function 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 allows remote authenticated users to cause a denial of service (crash) or possibly execute arbitrary code via a (1) large number of digits when processing a numeric formatting template, which triggers a buffer over-read, or (2) crafted timestamp formatting template, which triggers a buffer overflow.

Patch / fix

  • postgresql postgresql 9.0.19, 9.1.15, 9.2.10, 9.3.6, 9.4.1
  • postgresql-9.1 Ubuntu 14.04 LTS 9.1.15-0ubuntu0.14.04
  • postgresql-9.3 Ubuntu 14.04 LTS 9.3.6-0ubuntu0.14.04

ubuntu advisories UBUNTU-CVE-2015-0241

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

  • postgresql92-postgresql RHEL 1 SOFTWARE_COLLECTIONS, network satellite managed db 5.7, network satellite 5.7 9.2.10-2.el6
  • postgresql92-postgresql RHEL 1 SOFTWARE_COLLECTIONS 9.2.10-1.el7
  • postgresql92-postgresql-libs RHEL 1 SOFTWARE_COLLECTIONS, network satellite managed db 5.7, network satellite 5.7 9.2.10-2.el6
  • postgresql92-postgresql-libs RHEL 1 SOFTWARE_COLLECTIONS 9.2.10-1.el7
  • postgresql92-postgresql-test RHEL 1 SOFTWARE_COLLECTIONS 9.2.10-2.el6
  • postgresql92-postgresql-test RHEL 1 SOFTWARE_COLLECTIONS 9.2.10-1.el7
  • postgresql92-postgresql-pltcl RHEL 1 SOFTWARE_COLLECTIONS, network satellite managed db 5.7, network satellite 5.7 9.2.10-2.el6
  • postgresql92-postgresql-pltcl RHEL 1 SOFTWARE_COLLECTIONS 9.2.10-1.el7

red hat advisories RHSA-2015:0699RHSA-2015:0750RHSA-2015:0856

  • postgresql93 SLES for SAP 12, SLES 12, SLED 12 9.3.6-5.2
  • postgresql93-libs SLES for SAP 12, SLES 12, SLED 12 +1 more 9.3.6-5.1

suse advisories SUSE-SU-2015:0478-1

  • postgresql93 openSUSE Tumbleweed 9.3.15-1.1

opensuse advisories openSUSE-SU-2024:10256-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-0241 updated cvss 6.0

postgresql: buffer overflow in the to_char() function

  • Red Hat CloudForms Management Engine 5 postgresql, postgresql92-postgresql Red Hat Enterprise Linux 5 postgresql, postgresql84
    affected: no fix planned “Will not fix”
  • Red Hat Software Collections rh-postgresql94-postgresql, rh-postgresql94-postgresql-libs, rh-postgresql94-postgresql-test, rh-postgresql94-postgresql-pltcl, rh-postgresql94-postgresql-plperl, rh-postgresql94-postgresql-server, +3 more
    affected: no fix available
  • Red Hat Enterprise Linux Client Optional (v. 7) postgresql 9.2.10-2.el7_1, postgresql-libs 9.2.10-2.el7_1, postgresql-test 9.2.10-2.el7_1, postgresql-pltcl 9.2.10-2.el7_1, postgresql-plperl 9.2.10-2.el7_1, postgresql-server 9.2.10-2.el7_1, +3 more Red Hat Enterprise Linux ComputeNode (v. 7) postgresql 9.2.10-2.el7_1, postgresql-libs 9.2.10-2.el7_1 Red Hat Enterprise Linux ComputeNode Optional (v. 7) postgresql 9.2.10-2.el7_1, postgresql-test 9.2.10-2.el7_1, postgresql-pltcl 9.2.10-2.el7_1, postgresql-plperl 9.2.10-2.el7_1, postgresql-server 9.2.10-2.el7_1, postgresql-contrib 9.2.10-2.el7_1, +2 more Red Hat Enterprise Linux Desktop (v. 6) postgresql 8.4.20-2.el6_6, postgresql-libs 8.4.20-2.el6_6 Red Hat Enterprise Linux Desktop Optional (v. 6) postgresql 8.4.20-2.el6_6, postgresql-test 8.4.20-2.el6_6, postgresql-pltcl 8.4.20-2.el6_6, postgresql-plperl 8.4.20-2.el6_6, postgresql-server 8.4.20-2.el6_6, postgresql-contrib 8.4.20-2.el6_6, +1 more Red Hat Enterprise Linux HPC Node (v. 6) postgresql 8.4.20-2.el6_6, postgresql-libs 8.4.20-2.el6_6
    +7 more products
    Red Hat Enterprise Linux HPC Node Optional (v. 6) postgresql-test 8.4.20-2.el6_6, postgresql-pltcl 8.4.20-2.el6_6, postgresql-plperl 8.4.20-2.el6_6, postgresql-server 8.4.20-2.el6_6, postgresql-contrib 8.4.20-2.el6_6, postgresql-plpython 8.4.20-2.el6_6 Red Hat Enterprise Linux Server (v. 6) postgresql 8.4.20-2.el6_6, postgresql-libs 8.4.20-2.el6_6, postgresql-test 8.4.20-2.el6_6, postgresql-pltcl 8.4.20-2.el6_6, postgresql-plperl 8.4.20-2.el6_6, postgresql-server 8.4.20-2.el6_6, +2 more Red Hat Enterprise Linux Server (v. 7) postgresql 9.2.10-2.el7_1, postgresql 9.2.10-2.ael7b_1, postgresql-libs 9.2.10-2.el7_1, postgresql-test 9.2.10-2.el7_1, postgresql-pltcl 9.2.10-2.el7_1, postgresql-libs 9.2.10-2.ael7b_1, +10 more Red Hat Enterprise Linux Server Optional (v. 7) postgresql-upgrade 9.2.10-2.el7_1, postgresql-upgrade 9.2.10-2.ael7b_1 Red Hat Enterprise Linux Workstation (v. 6) postgresql 8.4.20-2.el6_6, postgresql-libs 8.4.20-2.el6_6, postgresql-test 8.4.20-2.el6_6, postgresql-pltcl 8.4.20-2.el6_6, postgresql-plperl 8.4.20-2.el6_6, postgresql-server 8.4.20-2.el6_6, +2 more Red Hat Enterprise Linux Workstation (v. 7) postgresql 9.2.10-2.el7_1, postgresql-libs 9.2.10-2.el7_1, postgresql-test 9.2.10-2.el7_1, postgresql-pltcl 9.2.10-2.el7_1, postgresql-plperl 9.2.10-2.el7_1, postgresql-server 9.2.10-2.el7_1, +2 more Red Hat Enterprise Linux Workstation Optional (v. 7) postgresql-upgrade 9.2.10-2.el7_1
    fixed: vendor fix RHSA-2015:0750
  • Red Hat Satellite 5.7 (RHEL v.6) postgresql92-postgresql 9.2.10-2.el6, postgresql92-postgresql-libs 9.2.10-2.el6, postgresql92-postgresql-pltcl 9.2.10-2.el6, postgresql92-postgresql-server 9.2.10-2.el6, postgresql92-postgresql-contrib 9.2.10-2.el6, postgresql92-postgresql-upgrade 9.2.10-2.el6 Red Hat Satellite Managed DB 5.7 (RHEL v.6) postgresql92-postgresql 9.2.10-2.el6, postgresql92-postgresql-libs 9.2.10-2.el6, postgresql92-postgresql-pltcl 9.2.10-2.el6, postgresql92-postgresql-server 9.2.10-2.el6, postgresql92-postgresql-contrib 9.2.10-2.el6, postgresql92-postgresql-upgrade 9.2.10-2.el6
    fixed: vendor fix RHSA-2015:0856
  • Red Hat Software Collections 1 for Red Hat Enterprise Linux Server (v. 6) postgresql92-postgresql 9.2.10-2.el6, postgresql92-postgresql-libs 9.2.10-2.el6, postgresql92-postgresql-test 9.2.10-2.el6, postgresql92-postgresql-pltcl 9.2.10-2.el6, postgresql92-postgresql-plperl 9.2.10-2.el6, postgresql92-postgresql-server 9.2.10-2.el6, +3 more Red Hat Software Collections 1 for Red Hat Enterprise Linux Server (v. 7) postgresql92-postgresql 9.2.10-1.el7, postgresql92-postgresql-libs 9.2.10-1.el7, postgresql92-postgresql-test 9.2.10-1.el7, postgresql92-postgresql-pltcl 9.2.10-1.el7, postgresql92-postgresql-plperl 9.2.10-1.el7, postgresql92-postgresql-server 9.2.10-1.el7, +3 more Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.5) postgresql92-postgresql 9.2.10-2.el6, postgresql92-postgresql-libs 9.2.10-2.el6, postgresql92-postgresql-test 9.2.10-2.el6, postgresql92-postgresql-pltcl 9.2.10-2.el6, postgresql92-postgresql-plperl 9.2.10-2.el6, postgresql92-postgresql-server 9.2.10-2.el6, +3 more Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.6) postgresql92-postgresql 9.2.10-2.el6, postgresql92-postgresql-libs 9.2.10-2.el6, postgresql92-postgresql-test 9.2.10-2.el6, postgresql92-postgresql-pltcl 9.2.10-2.el6, postgresql92-postgresql-plperl 9.2.10-2.el6, postgresql92-postgresql-server 9.2.10-2.el6, +3 more Red Hat Software Collections 1 for Red Hat Enterprise Linux Workstation (v. 6) postgresql92-postgresql 9.2.10-2.el6, postgresql92-postgresql-libs 9.2.10-2.el6, postgresql92-postgresql-test 9.2.10-2.el6, postgresql92-postgresql-pltcl 9.2.10-2.el6, postgresql92-postgresql-plperl 9.2.10-2.el6, postgresql92-postgresql-server 9.2.10-2.el6, +3 more Red Hat Software Collections 1 for Red Hat Enterprise Linux Workstation (v. 7) postgresql92-postgresql 9.2.10-1.el7, postgresql92-postgresql-libs 9.2.10-1.el7, postgresql92-postgresql-test 9.2.10-1.el7, postgresql92-postgresql-pltcl 9.2.10-1.el7, postgresql92-postgresql-plperl 9.2.10-1.el7, postgresql92-postgresql-server 9.2.10-1.el7, +3 more
    fixed: vendor fix RHSA-2015:0699

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

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

CVSS scores

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

Affected products

  • PostgreSQL Global Development Group PostgreSQL

Classification

Weakness
  • CWE-120 Buffer Copy without Checking Size of Input
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.