usn-7908-1
Vulnerability from osv_ubuntu
Published
2025-12-03 14:00
Modified
2026-04-27 14:11
Summary
postgresql-14, postgresql-16, postgresql-17 vulnerabilities
Details

Jelte Fennema-Nio discovered that the PostgreSQL CREATE STATISTICS command did not correctly check for schema CREATE privileges. An authenticated attacker could possibly use this issue to create a denial of service against other CREATE STATISTICS users. (CVE-2025-12817)

Aleksey Solovev discovered that the PostgreSQL libpq client library incorrectly handled certain memory operations. A remote attacker could possibly use this issue to cause libpq to crash, resulting in a denial of service. (CVE-2025-12818)


{
  "affected": [
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2025-12817",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2025-12818",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:22.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libecpg-compat3",
            "binary_version": "14.20-0ubuntu0.22.04.1"
          },
          {
            "binary_name": "libecpg6",
            "binary_version": "14.20-0ubuntu0.22.04.1"
          },
          {
            "binary_name": "libpgtypes3",
            "binary_version": "14.20-0ubuntu0.22.04.1"
          },
          {
            "binary_name": "libpq5",
            "binary_version": "14.20-0ubuntu0.22.04.1"
          },
          {
            "binary_name": "postgresql-14",
            "binary_version": "14.20-0ubuntu0.22.04.1"
          },
          {
            "binary_name": "postgresql-client-14",
            "binary_version": "14.20-0ubuntu0.22.04.1"
          },
          {
            "binary_name": "postgresql-doc-14",
            "binary_version": "14.20-0ubuntu0.22.04.1"
          },
          {
            "binary_name": "postgresql-plperl-14",
            "binary_version": "14.20-0ubuntu0.22.04.1"
          },
          {
            "binary_name": "postgresql-plpython3-14",
            "binary_version": "14.20-0ubuntu0.22.04.1"
          },
          {
            "binary_name": "postgresql-pltcl-14",
            "binary_version": "14.20-0ubuntu0.22.04.1"
          },
          {
            "binary_name": "postgresql-server-dev-14",
            "binary_version": "14.20-0ubuntu0.22.04.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "postgresql-14",
        "purl": "pkg:deb/ubuntu/postgresql-14@14.20-0ubuntu0.22.04.1?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "14.20-0ubuntu0.22.04.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "14.1-1ubuntu1",
        "14.2-1",
        "14.2-1ubuntu1",
        "14.3-0ubuntu0.22.04.1",
        "14.4-0ubuntu0.22.04.1",
        "14.5-0ubuntu0.22.04.1",
        "14.6-0ubuntu0.22.04.1",
        "14.7-0ubuntu0.22.04.1",
        "14.8-0ubuntu0.22.04.1",
        "14.9-0ubuntu0.22.04.1",
        "14.10-0ubuntu0.22.04.1",
        "14.11-0ubuntu0.22.04.1",
        "14.12-0ubuntu0.22.04.1",
        "14.13-0ubuntu0.22.04.1",
        "14.15-0ubuntu0.22.04.1",
        "14.17-0ubuntu0.22.04.1",
        "14.18-0ubuntu0.22.04.1",
        "14.19-0ubuntu0.22.04.1"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2025-12817",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2025-12818",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:24.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libecpg-compat3",
            "binary_version": "16.11-0ubuntu0.24.04.1"
          },
          {
            "binary_name": "libecpg6",
            "binary_version": "16.11-0ubuntu0.24.04.1"
          },
          {
            "binary_name": "libpgtypes3",
            "binary_version": "16.11-0ubuntu0.24.04.1"
          },
          {
            "binary_name": "libpq5",
            "binary_version": "16.11-0ubuntu0.24.04.1"
          },
          {
            "binary_name": "postgresql-16",
            "binary_version": "16.11-0ubuntu0.24.04.1"
          },
          {
            "binary_name": "postgresql-client-16",
            "binary_version": "16.11-0ubuntu0.24.04.1"
          },
          {
            "binary_name": "postgresql-doc-16",
            "binary_version": "16.11-0ubuntu0.24.04.1"
          },
          {
            "binary_name": "postgresql-plperl-16",
            "binary_version": "16.11-0ubuntu0.24.04.1"
          },
          {
            "binary_name": "postgresql-plpython3-16",
            "binary_version": "16.11-0ubuntu0.24.04.1"
          },
          {
            "binary_name": "postgresql-pltcl-16",
            "binary_version": "16.11-0ubuntu0.24.04.1"
          },
          {
            "binary_name": "postgresql-server-dev-16",
            "binary_version": "16.11-0ubuntu0.24.04.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "postgresql-16",
        "purl": "pkg:deb/ubuntu/postgresql-16@16.11-0ubuntu0.24.04.1?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "16.11-0ubuntu0.24.04.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "16.0-2",
        "16.1-1",
        "16.1-1build1",
        "16.1-1build3",
        "16.2-1",
        "16.2-1ubuntu2",
        "16.2-1ubuntu3",
        "16.2-1ubuntu4",
        "16.3-0ubuntu0.24.04.1",
        "16.4-0ubuntu0.24.04.1",
        "16.4-0ubuntu0.24.04.2",
        "16.6-0ubuntu0.24.04.1",
        "16.8-0ubuntu0.24.04.1",
        "16.9-0ubuntu0.24.04.1",
        "16.10-0ubuntu0.24.04.1"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2025-12817",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2025-12818",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:25.10"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libecpg-compat3",
            "binary_version": "17.7-0ubuntu0.25.10.1"
          },
          {
            "binary_name": "libecpg6",
            "binary_version": "17.7-0ubuntu0.25.10.1"
          },
          {
            "binary_name": "libpgtypes3",
            "binary_version": "17.7-0ubuntu0.25.10.1"
          },
          {
            "binary_name": "libpq5",
            "binary_version": "17.7-0ubuntu0.25.10.1"
          },
          {
            "binary_name": "postgresql-17",
            "binary_version": "17.7-0ubuntu0.25.10.1"
          },
          {
            "binary_name": "postgresql-client-17",
            "binary_version": "17.7-0ubuntu0.25.10.1"
          },
          {
            "binary_name": "postgresql-doc-17",
            "binary_version": "17.7-0ubuntu0.25.10.1"
          },
          {
            "binary_name": "postgresql-plperl-17",
            "binary_version": "17.7-0ubuntu0.25.10.1"
          },
          {
            "binary_name": "postgresql-plpython3-17",
            "binary_version": "17.7-0ubuntu0.25.10.1"
          },
          {
            "binary_name": "postgresql-pltcl-17",
            "binary_version": "17.7-0ubuntu0.25.10.1"
          },
          {
            "binary_name": "postgresql-server-dev-17",
            "binary_version": "17.7-0ubuntu0.25.10.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "postgresql-17",
        "purl": "pkg:deb/ubuntu/postgresql-17@17.7-0ubuntu0.25.10.1?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "17.7-0ubuntu0.25.10.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "17.4-1",
        "17.4-2",
        "17.5-1",
        "17.5-1build1",
        "17.6-1",
        "17.6-1build1"
      ]
    }
  ],
  "aliases": [],
  "details": "Jelte Fennema-Nio discovered that the PostgreSQL CREATE STATISTICS command\ndid not correctly check for schema CREATE privileges. An authenticated\nattacker could possibly use this issue to create a denial of service\nagainst other CREATE STATISTICS users. (CVE-2025-12817)\n\nAleksey Solovev discovered that the PostgreSQL libpq client library\nincorrectly handled certain memory operations. A remote attacker could\npossibly use this issue to cause libpq to crash, resulting in a denial of\nservice. (CVE-2025-12818)",
  "id": "USN-7908-1",
  "modified": "2026-04-27T14:11:47Z",
  "published": "2025-12-03T14:00:49Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-7908-1"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2025-12817"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2025-12818"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "summary": "postgresql-14, postgresql-16, postgresql-17 vulnerabilities",
  "upstream": [
    "UBUNTU-CVE-2025-12817",
    "UBUNTU-CVE-2025-12818"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…