Description
Multiple integer overflows in contrib/hstore/hstore_io.c in PostgreSQL 9.0.x before 9.0.16, 9.1.x before 9.1.12, 9.2.x before 9.2.7, and 9.3.x before 9.3.3 allow remote authenticated users to have unspecified impact via vectors related to the (1) hstore_recv, (2) hstore_from_arrays, and (3) hstore_from_array functions in contrib/hstore/hstore_io.c; and the (4) hstoreArrayToPairs function in contrib/hstore/hstore_op.c, which triggers a buffer overflow. NOTE: this issue was SPLIT from CVE-2014-0064 because it has a different set of affected versions.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 7 | postgresql-9.1 | 9.1.12-0wheezy1 | DSA-2865-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | postgresql-9.1 | 9.1.12-1 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 1 | postgresql92-postgresql +10 | 9.2.7-1.1.el6 | RHSA-2014:0221 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat CloudForms 5 | cfme +3 | 5.2.3.2-1.el6cf | RHSA-2014:0469 |
| Red Hat CloudForms 5 | postgresql92-postgresql +10 | 9.2.7-1.1.el6 | RHSA-2014:0469 |
| Red Hat CloudForms 5 | prince | 9.0r2-4.el6cf | RHSA-2014:0469 |
| Red Hat CloudForms 5 | ruby193-rubygem-actionpack | 1:3.2.13-6.el6cf | RHSA-2014:0469 |
Advisories 3
- RHSA-2014:0469 Red Hat Security Advisory: cfme security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2014:0221 Red Hat Security Advisory: postgresql92-postgresql security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- DSA-2865-1 postgresql-9.1 - several Debian Security (DSA / DLA) · Mar 9, 2026
References
- RHSA-2014:0221 vendor-advisory
- RHSA-2014:0469 vendor-advisory
- https://github.com/postgres/postgres/commit/31400a673325147e1205326008e32135a78b4d8a
- http://wiki.postgresql.org/wiki/20140220securityrelease
- DSA-2864 vendor-advisory
- http://www.postgresql.org/support/security/
- http://www.postgresql.org/about/news/1506/
- DSA-2865 vendor-advisory