CVE-2010-3781: Alvaro Herrera Pl/php

Medium severity, CVSS 6.0. EPSS: 1.5% chance of exploitation in the next 30 days.

The PL/php add-on 1.4 and earlier for PostgreSQL does not properly protect script execution by a different SQL user identity within the same session, which allows remote authenticated users to gain privileges via crafted script code in a SECURITY DEFINER function, a related issue to CVE-2010-3433.

Affected products

  • Alvaro Herrera Pl/php: up to and including 1.4; version 1.0 only; version 1.1 only; version 1.2 only; version 1.3.1 only; version 1.3.2 only; …

Published 2010-10-06. Last modified 2026-06-16.