{
  "document": {
    "aggregate_severity": {
      "text": "High"
    },
    "category": "csaf_vex",
    "csaf_version": "2.0",
    "distribution": {
      "text": "TuxCare License Agreement",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Cloud Linux Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://tuxcare.com/contact/",
      "name": "TuxCare",
      "namespace": "https://tuxcare.com/"
    },
    "references": [
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.tuxcare.com/csaf/v2/els_postgresql/ubuntu22.04/vex/2026/cve-2026-2004-els_postgresql-ubuntu22_04.json"
      }
    ],
    "tracking": {
      "current_release_date": "2026-10-05T09:23:48Z",
      "generator": {
        "date": "2026-10-05T09:23:48Z",
        "engine": {
          "name": "pyCSAF"
        }
      },
      "id": "CVE-2026-2004-ELS_POSTGRESQL-UBUNTU22.04",
      "initial_release_date": "2026-02-12T14:16:00Z",
      "revision_history": [
        {
          "date": "2026-02-12T14:16:00Z",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2026-10-05T09:23:48Z",
          "number": "2",
          "summary": "Official Publication"
        }
      ],
      "status": "final",
      "version": "2"
    },
    "title": "Security update on CVE-2026-2004"
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Ubuntu 22.04",
                "product": {
                  "name": "Ubuntu 22.04",
                  "product_id": "Ubuntu-22",
                  "product_identification_helper": {
                    "cpe": "cpe:2.3:o:canonical:ubuntu_linux:22.04:*:*:*:lts:*:*:*"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Ubuntu"
          }
        ],
        "category": "vendor",
        "name": "Canonical Ltd."
      },
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_version",
                "name": "postgresql-server-dev-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.amd64",
                "product": {
                  "name": "postgresql-server-dev-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.amd64",
                  "product_id": "postgresql-server-dev-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/postgresql-server-dev-13@13.23-1.pgdg22.04%2B1%2Btuxcare.els1?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "postgresql-plpython3-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.amd64",
                "product": {
                  "name": "postgresql-plpython3-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.amd64",
                  "product_id": "postgresql-plpython3-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/postgresql-plpython3-13@13.23-1.pgdg22.04%2B1%2Btuxcare.els1?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "postgresql-client-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.amd64",
                "product": {
                  "name": "postgresql-client-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.amd64",
                  "product_id": "postgresql-client-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/postgresql-client-13@13.23-1.pgdg22.04%2B1%2Btuxcare.els1?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "postgresql-pltcl-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.amd64",
                "product": {
                  "name": "postgresql-pltcl-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.amd64",
                  "product_id": "postgresql-pltcl-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/postgresql-pltcl-13@13.23-1.pgdg22.04%2B1%2Btuxcare.els1?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "postgresql-plperl-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.amd64",
                "product": {
                  "name": "postgresql-plperl-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.amd64",
                  "product_id": "postgresql-plperl-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/postgresql-plperl-13@13.23-1.pgdg22.04%2B1%2Btuxcare.els1?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "postgresql-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.amd64",
                "product": {
                  "name": "postgresql-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.amd64",
                  "product_id": "postgresql-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/postgresql-13@13.23-1.pgdg22.04%2B1%2Btuxcare.els1?arch=amd64"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "amd64"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "postgresql-doc-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.all",
                "product": {
                  "name": "postgresql-doc-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.all",
                  "product_id": "postgresql-doc-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.all",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/postgresql-doc-13@13.23-1.pgdg22.04%2B1%2Btuxcare.els1?arch=all"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "all"
          }
        ],
        "category": "vendor",
        "name": "TuxCare"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "postgresql-server-dev-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.amd64 as a component of Ubuntu 22.04",
          "product_id": "Ubuntu-22:postgresql-server-dev-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.amd64"
        },
        "product_reference": "postgresql-server-dev-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.amd64",
        "relates_to_product_reference": "Ubuntu-22"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "postgresql-plpython3-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.amd64 as a component of Ubuntu 22.04",
          "product_id": "Ubuntu-22:postgresql-plpython3-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.amd64"
        },
        "product_reference": "postgresql-plpython3-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.amd64",
        "relates_to_product_reference": "Ubuntu-22"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "postgresql-client-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.amd64 as a component of Ubuntu 22.04",
          "product_id": "Ubuntu-22:postgresql-client-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.amd64"
        },
        "product_reference": "postgresql-client-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.amd64",
        "relates_to_product_reference": "Ubuntu-22"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "postgresql-pltcl-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.amd64 as a component of Ubuntu 22.04",
          "product_id": "Ubuntu-22:postgresql-pltcl-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.amd64"
        },
        "product_reference": "postgresql-pltcl-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.amd64",
        "relates_to_product_reference": "Ubuntu-22"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "postgresql-doc-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.all as a component of Ubuntu 22.04",
          "product_id": "Ubuntu-22:postgresql-doc-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.all"
        },
        "product_reference": "postgresql-doc-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.all",
        "relates_to_product_reference": "Ubuntu-22"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "postgresql-plperl-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.amd64 as a component of Ubuntu 22.04",
          "product_id": "Ubuntu-22:postgresql-plperl-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.amd64"
        },
        "product_reference": "postgresql-plperl-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.amd64",
        "relates_to_product_reference": "Ubuntu-22"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "postgresql-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.amd64 as a component of Ubuntu 22.04",
          "product_id": "Ubuntu-22:postgresql-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.amd64"
        },
        "product_reference": "postgresql-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.amd64",
        "relates_to_product_reference": "Ubuntu-22"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2026-2004",
      "cwe": {
        "id": "CWE-1287",
        "name": "Improper Validation of Specified Type of Input"
      },
      "notes": [
        {
          "category": "description",
          "text": "Missing validation of type of input in PostgreSQL intarray extension selectivity estimator function allows an object creator to execute arbitrary code as the operating system user running the database.  Versions before PostgreSQL 18.2, 17.8, 16.12, 15.16, and 14.21 are affected.",
          "title": "Vulnerability description"
        }
      ],
      "product_status": {
        "fixed": [
          "Ubuntu-22:postgresql-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.amd64",
          "Ubuntu-22:postgresql-client-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.amd64",
          "Ubuntu-22:postgresql-doc-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.all",
          "Ubuntu-22:postgresql-plperl-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.amd64",
          "Ubuntu-22:postgresql-plpython3-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.amd64",
          "Ubuntu-22:postgresql-pltcl-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.amd64",
          "Ubuntu-22:postgresql-server-dev-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.amd64"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://cve.tuxcare.com/els-postgresql/cve/CVE-2026-2004"
        },
        {
          "category": "external",
          "summary": "https://www.postgresql.org/support/security/CVE-2026-2004/",
          "url": "https://www.postgresql.org/support/security/CVE-2026-2004/"
        },
        {
          "category": "external",
          "summary": "https://access.redhat.com/errata/RHSA-2026:19009",
          "url": "https://access.redhat.com/errata/RHSA-2026:19009"
        },
        {
          "category": "external",
          "summary": "https://access.redhat.com/errata/RHSA-2026:19010",
          "url": "https://access.redhat.com/errata/RHSA-2026:19010"
        },
        {
          "category": "external",
          "summary": "https://access.redhat.com/errata/RHSA-2026:3730",
          "url": "https://access.redhat.com/errata/RHSA-2026:3730"
        },
        {
          "category": "external",
          "summary": "https://access.redhat.com/errata/RHSA-2026:3887",
          "url": "https://access.redhat.com/errata/RHSA-2026:3887"
        },
        {
          "category": "external",
          "summary": "https://access.redhat.com/errata/RHSA-2026:3896",
          "url": "https://access.redhat.com/errata/RHSA-2026:3896"
        },
        {
          "category": "external",
          "summary": "https://access.redhat.com/errata/RHSA-2026:4024",
          "url": "https://access.redhat.com/errata/RHSA-2026:4024"
        },
        {
          "category": "external",
          "summary": "https://access.redhat.com/errata/RHSA-2026:4059",
          "url": "https://access.redhat.com/errata/RHSA-2026:4059"
        },
        {
          "category": "external",
          "summary": "https://access.redhat.com/errata/RHSA-2026:4063",
          "url": "https://access.redhat.com/errata/RHSA-2026:4063"
        },
        {
          "category": "external",
          "summary": "https://access.redhat.com/errata/RHSA-2026:4064",
          "url": "https://access.redhat.com/errata/RHSA-2026:4064"
        },
        {
          "category": "external",
          "summary": "https://access.redhat.com/errata/RHSA-2026:4074",
          "url": "https://access.redhat.com/errata/RHSA-2026:4074"
        },
        {
          "category": "external",
          "summary": "https://access.redhat.com/errata/RHSA-2026:4075",
          "url": "https://access.redhat.com/errata/RHSA-2026:4075"
        },
        {
          "category": "external",
          "summary": "https://access.redhat.com/errata/RHSA-2026:4110",
          "url": "https://access.redhat.com/errata/RHSA-2026:4110"
        },
        {
          "category": "external",
          "summary": "https://access.redhat.com/errata/RHSA-2026:4254",
          "url": "https://access.redhat.com/errata/RHSA-2026:4254"
        },
        {
          "category": "external",
          "summary": "https://access.redhat.com/errata/RHSA-2026:4441",
          "url": "https://access.redhat.com/errata/RHSA-2026:4441"
        },
        {
          "category": "external",
          "summary": "https://access.redhat.com/errata/RHSA-2026:4475",
          "url": "https://access.redhat.com/errata/RHSA-2026:4475"
        },
        {
          "category": "external",
          "summary": "https://access.redhat.com/errata/RHSA-2026:4504",
          "url": "https://access.redhat.com/errata/RHSA-2026:4504"
        },
        {
          "category": "external",
          "summary": "https://access.redhat.com/errata/RHSA-2026:4505",
          "url": "https://access.redhat.com/errata/RHSA-2026:4505"
        },
        {
          "category": "external",
          "summary": "https://access.redhat.com/errata/RHSA-2026:4506",
          "url": "https://access.redhat.com/errata/RHSA-2026:4506"
        },
        {
          "category": "external",
          "summary": "https://access.redhat.com/errata/RHSA-2026:4509",
          "url": "https://access.redhat.com/errata/RHSA-2026:4509"
        },
        {
          "category": "external",
          "summary": "https://access.redhat.com/errata/RHSA-2026:4515",
          "url": "https://access.redhat.com/errata/RHSA-2026:4515"
        },
        {
          "category": "external",
          "summary": "https://access.redhat.com/errata/RHSA-2026:4516",
          "url": "https://access.redhat.com/errata/RHSA-2026:4516"
        },
        {
          "category": "external",
          "summary": "https://access.redhat.com/errata/RHSA-2026:4518",
          "url": "https://access.redhat.com/errata/RHSA-2026:4518"
        },
        {
          "category": "external",
          "summary": "https://access.redhat.com/errata/RHSA-2026:4524",
          "url": "https://access.redhat.com/errata/RHSA-2026:4524"
        },
        {
          "category": "external",
          "summary": "https://access.redhat.com/errata/RHSA-2026:4528",
          "url": "https://access.redhat.com/errata/RHSA-2026:4528"
        },
        {
          "category": "external",
          "summary": "https://access.redhat.com/errata/RHSA-2026:4544",
          "url": "https://access.redhat.com/errata/RHSA-2026:4544"
        },
        {
          "category": "external",
          "summary": "https://access.redhat.com/errata/RHSA-2026:4546",
          "url": "https://access.redhat.com/errata/RHSA-2026:4546"
        },
        {
          "category": "external",
          "summary": "https://access.redhat.com/errata/RHSA-2026:4547",
          "url": "https://access.redhat.com/errata/RHSA-2026:4547"
        },
        {
          "category": "external",
          "summary": "https://access.redhat.com/errata/RHSA-2026:4548",
          "url": "https://access.redhat.com/errata/RHSA-2026:4548"
        },
        {
          "category": "external",
          "summary": "https://access.redhat.com/errata/RHSA-2026:4943",
          "url": "https://access.redhat.com/errata/RHSA-2026:4943"
        },
        {
          "category": "external",
          "summary": "https://access.redhat.com/errata/RHSA-2026:8756",
          "url": "https://access.redhat.com/errata/RHSA-2026:8756"
        },
        {
          "category": "external",
          "summary": "https://access.redhat.com/security/cve/CVE-2026-2004",
          "url": "https://access.redhat.com/security/cve/CVE-2026-2004"
        },
        {
          "category": "external",
          "summary": "https://bugzilla.redhat.com/show_bug.cgi?id=2439325",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2439325"
        },
        {
          "category": "external",
          "summary": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-2004.json",
          "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-2004.json"
        }
      ],
      "release_date": "2026-02-12T14:16:00Z",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2026-09-28T11:10:30.266984Z",
          "details": "Details on how to apply the fix are available at: https://cve.tuxcare.com/els-postgresql/releases/CLSA-2026:1790593828",
          "product_ids": [
            "Ubuntu-22:postgresql-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.amd64",
            "Ubuntu-22:postgresql-client-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.amd64",
            "Ubuntu-22:postgresql-doc-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.all",
            "Ubuntu-22:postgresql-plperl-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.amd64",
            "Ubuntu-22:postgresql-plpython3-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.amd64",
            "Ubuntu-22:postgresql-pltcl-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.amd64",
            "Ubuntu-22:postgresql-server-dev-13-0:13.23-1.pgdg22.04+1+tuxcare.els1.amd64"
          ],
          "url": "https://cve.tuxcare.com/els-postgresql/releases/CLSA-2026:1790593828"
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Important"
        }
      ]
    }
  ]
}