{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-110181",
        "assignerOrgId": "f86ef6dc-4d3a-42ad-8f28-e6d5547a5007",
        "state": "PUBLISHED",
        "assignerShortName": "PostgreSQL",
        "dateReserved": "2026-10-13T17:14:54.075Z",
        "datePublished": "2026-10-28T17:31:52.642Z",
        "dateUpdated": "2026-10-28T17:31:52.642Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "f86ef6dc-4d3a-42ad-8f28-e6d5547a5007",
                "shortName": "PostgreSQL",
                "dateUpdated": "2026-10-28T17:31:52.642Z"
            },
            "title": "PostgreSQL Anonymizer: Function declared with SQL-standard syntax leak anonymized data",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "PostgreSQL Anonymizer contains a vulnerability related to anonymization functions defined using SQL-standard function bodies. PostgreSQL analyses such functions at declaration time, while Anonymizer only attempts to check them at execution time. This problem can be exploited by any user with the TEMPORARY privilege. The issue is fixed in PostgreSQL Anonymizer 3.3.0 and later versions."
                }
            ],
            "affected": [
                {
                    "defaultStatus": "unaffected",
                    "product": "PostgreSQL Anonymizer",
                    "vendor": "DALIBO",
                    "versions": [
                        {
                            "lessThan": "3.3.0",
                            "status": "affected",
                            "version": "1",
                            "versionType": "semver"
                        }
                    ]
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "cweId": "CWE-693",
                            "type": "CWE",
                            "description": "Protection Mechanism Failure"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://gitlab.com/dalibo/postgresql_anonymizer/-/issues/718"
                }
            ],
            "metrics": [
                {
                    "format": "CVSS",
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
                        "baseScore": 6.5,
                        "baseSeverity": "MEDIUM"
                    }
                }
            ],
            "workarounds": [
                {
                    "lang": "en",
                    "value": "Revoke TEMPORARY from PUBLIC and CREATE on all schemas from masked roles to prevent them from creating a function. Revoke EXECUTE from PUBLIC on function with SQL-standard bodies since anon fails to anonymize the data they return."
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "The PostgreSQL Anonymizer project thanks user Ilya Staroverov for reporting this problem."
                }
            ]
        }
    }
}