Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2012-0866

published

postgresql: Absent permission checks on trigger function to be called when creating a trigger

Title from Red Hat VEX

Published
18 Jul 2012, 23:00:00 UTC
Updated
06 Aug 2024, 18:38:15 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — n/an/a Affected Not stated redhat
Debian squeeze postgresql-8.4 Advisory build 8.4.11-0squeeze1 DSA-2418-1
Oracle Linux 6 postgresqli686 Advisory build 0:8.4.11-1.el6_2 ELSA-2012-0678
Red Hat Enterprise Linux RHEL-5 postgresqli386 Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Oracle Linux 6 postgresqlx86_64 Advisory build 0:8.4.11-1.el6_2 ELSA-2012-0678
Oracle Linux 6 postgresql-contribi686 Advisory build 0:8.4.11-1.el6_2 ELSA-2012-0678
Oracle Linux 6 postgresql-contribx86_64 Advisory build 0:8.4.11-1.el6_2 ELSA-2012-0678
Oracle Linux 6 postgresql-develi686 Advisory build 0:8.4.11-1.el6_2 ELSA-2012-0678
Show 93 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Oracle Linux 6 postgresql-develx86_64 Advisory build 0:8.4.11-1.el6_2 ELSA-2012-0678
Oracle Linux 6 postgresql-docsi686 Advisory build 0:8.4.11-1.el6_2 ELSA-2012-0678
Oracle Linux 6 postgresql-docsx86_64 Advisory build 0:8.4.11-1.el6_2 ELSA-2012-0678
Oracle Linux 6 postgresql-libsi686 Advisory build 0:8.4.11-1.el6_2 ELSA-2012-0678
Oracle Linux 6 postgresql-libsx86_64 Advisory build 0:8.4.11-1.el6_2 ELSA-2012-0678
Oracle Linux 6 postgresql-plperli686 Advisory build 0:8.4.11-1.el6_2 ELSA-2012-0678
Oracle Linux 6 postgresql-plperlx86_64 Advisory build 0:8.4.11-1.el6_2 ELSA-2012-0678
Oracle Linux 6 postgresql-plpythoni686 Advisory build 0:8.4.11-1.el6_2 ELSA-2012-0678
Oracle Linux 6 postgresql-plpythonx86_64 Advisory build 0:8.4.11-1.el6_2 ELSA-2012-0678
Oracle Linux 6 postgresql-pltcli686 Advisory build 0:8.4.11-1.el6_2 ELSA-2012-0678
Oracle Linux 6 postgresql-pltclx86_64 Advisory build 0:8.4.11-1.el6_2 ELSA-2012-0678
Oracle Linux 6 postgresql-serveri686 Advisory build 0:8.4.11-1.el6_2 ELSA-2012-0678
Oracle Linux 6 postgresql-serverx86_64 Advisory build 0:8.4.11-1.el6_2 ELSA-2012-0678
Oracle Linux 6 postgresql-testi686 Advisory build 0:8.4.11-1.el6_2 ELSA-2012-0678
Oracle Linux 6 postgresql-testx86_64 Advisory build 0:8.4.11-1.el6_2 ELSA-2012-0678
Red Hat Enterprise Linux RHEL-5 postgresqlia64 Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresqlppc Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresqlppc64 Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresqls390x Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresqlsrc Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresqlx86_64 Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-contribi386 Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-contribia64 Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-contribppc Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-contribs390x Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-contribx86_64 Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-debuginfoi386 Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-debuginfoia64 Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-debuginfoppc Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-debuginfoppc64 Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-debuginfos390 Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-debuginfos390x Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-debuginfox86_64 Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-develi386 Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-develia64 Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-develppc Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-develppc64 Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-devels390 Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-devels390x Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-develx86_64 Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-docsi386 Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-docsia64 Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-docsppc Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-docss390x Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-docsx86_64 Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-libsi386 Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-libsia64 Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-libsppc Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-libsppc64 Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-libss390 Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-libss390x Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-libsx86_64 Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-pli386 Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-plia64 Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-plppc Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-pls390x Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-plx86_64 Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-pythoni386 Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-pythonia64 Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-pythonppc Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-pythons390x Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-pythonx86_64 Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-serveri386 Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-serveria64 Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-serverppc Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-servers390x Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-serverx86_64 Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-tcli386 Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-tclia64 Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-tclppc Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-tcls390x Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-tclx86_64 Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-testi386 Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-testia64 Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-testppc Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-tests390x Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql-testx86_64 Advisory build 8.1.23-4.el5_8 RHSA-2012:0677
Red Hat Enterprise Linux RHEL-5 postgresql84i386 Advisory build 8.4.11-1.el5_8 RHSA-2012:0678
Red Hat Enterprise Linux RHEL-5 postgresql84ia64 Advisory build 8.4.11-1.el5_8 RHSA-2012:0678
Red Hat Enterprise Linux RHEL-5 postgresql84ppc Advisory build 8.4.11-1.el5_8 RHSA-2012:0678
Red Hat Enterprise Linux RHEL-5 postgresql84ppc64 Advisory build 8.4.11-1.el5_8 RHSA-2012:0678
Red Hat Enterprise Linux RHEL-5 postgresql84s390x Advisory build 8.4.11-1.el5_8 RHSA-2012:0678
Red Hat Enterprise Linux RHEL-5 postgresql84src Advisory build 8.4.11-1.el5_8 RHSA-2012:0678
Red Hat Enterprise Linux RHEL-5 postgresql84x86_64 Advisory build 8.4.11-1.el5_8 RHSA-2012:0678
Red Hat Enterprise Linux RHEL-5 postgresql84-contribi386 Advisory build 8.4.11-1.el5_8 RHSA-2012:0678
Red Hat Enterprise Linux RHEL-5 postgresql84-contribia64 Advisory build 8.4.11-1.el5_8 RHSA-2012:0678
Red Hat Enterprise Linux RHEL-5 postgresql84-contribppc Advisory build 8.4.11-1.el5_8 RHSA-2012:0678
Red Hat Enterprise Linux RHEL-5 postgresql84-contribs390x Advisory build 8.4.11-1.el5_8 RHSA-2012:0678
Red Hat Enterprise Linux RHEL-5 postgresql84-contribx86_64 Advisory build 8.4.11-1.el5_8 RHSA-2012:0678
Red Hat Enterprise Linux RHEL-5 postgresql84-debuginfoi386 Advisory build 8.4.11-1.el5_8 RHSA-2012:0678
Red Hat Enterprise Linux RHEL-5 postgresql84-debuginfoia64 Advisory build 8.4.11-1.el5_8 RHSA-2012:0678
Red Hat Enterprise Linux RHEL-5 postgresql84-debuginfoppc Advisory build 8.4.11-1.el5_8 RHSA-2012:0678
Red Hat Enterprise Linux RHEL-5 postgresql84-debuginfoppc64 Advisory build 8.4.11-1.el5_8 RHSA-2012:0678

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

CREATE TRIGGER in PostgreSQL 8.3.x before 8.3.18, 8.4.x before 8.4.11, 9.0.x before 9.0.7, and 9.1.x before 9.1.3 does not properly check the execute permission for trigger functions marked SECURITY DEFINER, which allows remote authenticated users to execute otherwise restricted triggers on arbitrary data by installing the trigger on an attacker-owned table.

en · redhat · cna

Vendor advisories explicitly linked to this CVE.

8

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a n/a n/a (affected) redhat · cna

Weaknesses

1
  • n/a (redhat · cna)

References

15

Provider assertions

2

redhat · cna

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
2371765bd22d54f48c6f8763768c19c161854e0237af69eb47356b22bb8d04d3
Ingested
23 Sep 2026, 07:39:12 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected