CVE catalog

CVE-2026-61822

pg_partman is a PostgreSQL extension that manages partitioned tables by time or ID. Prior to 5.5.0, run_maintenance() handles exceptions outside the loop that processes rows from part_config, so an ex

[CVE catalog]

Severity
Medium · CVSS 6.5CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.53% · Oct 25, 2026

pg_partman is a PostgreSQL extension that manages partitioned tables by time or ID. Prior to 5.5.0, run_maintenance() handles exceptions outside the loop that processes rows from part_config, so an exception for one partition set immediately terminates the loop and skips every later set. A role with partman_user access can insert or update a row that reliably fails and assign it a low maintenance_order value so it is processed before legitimate rows. Repeated maintenance ticks then abort before legitimate partition sets are maintained, causing database-wide loss of automated partition maintenance. This issue is fixed in version 5.5.0.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpg-partmansid5.5.0-1fixed
Debianpg-partmanforky5.5.0-1fixed
Debianpg-partmantrixie5.2.4-1vulnerable
Debianpg-partmanbookworm4.7.2-1vulnerable
Ubuntupg-partman16.042.2.2-1vulnerable
Ubuntupg-partman16.042.2.2-2vulnerable
Ubuntupg-partman18.042.6.3-1vulnerable
Ubuntupg-partman18.043.1.0-1vulnerable
Ubuntupg-partman18.043.1.1-1vulnerable
Ubuntupg-partman18.043.1.2-1vulnerable
Ubuntupg-partman20.044.0.0-1vulnerable
Ubuntupg-partman20.044.2.0-1vulnerable
Ubuntupg-partman20.044.2.2-1vulnerable
Ubuntupg-partman20.044.3.0-1vulnerable
Ubuntupg-partman22.044.5.1-1vulnerable
Ubuntupg-partman22.044.6.0-1vulnerable
Ubuntupg-partman24.044.7.3-1vulnerable
Ubuntupg-partman24.045.0.0-2vulnerable
Ubuntupg-partman24.045.0.1-1vulnerable
Ubuntupg-partman26.045.2.4-1vulnerable
Ubuntupg-partman26.045.3.1-2vulnerable
Ubuntupg-partman26.045.4.0-1vulnerable
Ubuntupg-partman26.045.4.1-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpg-partmansourcesid5.5.0-1not yet assignedNot reportedNot reported
Debianpg-partmansourceforky5.5.0-1not yet assignedNot reportedNot reported
Debianpg-partmansourcetrixie(unfixed)not yet assignedNot reportedNot reported
Debianpg-partmansourcebookworm(unfixed)not yet assignedNot reportedNot reported

Notes

[trixie] pg-partman: Minor issue [bookworm] pg-partman: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [pg-partman]

    Details (2)
    • 4.7.2-1 · amd64 · bookworm

      Affected

      nvd · pg-partman · debian · bookworm; nvd · pg-partman · debian · 12

    • 4.7.2-1 · arm64 · bookworm

      Affected

      nvd · pg-partman · debian · bookworm; nvd · pg-partman · debian · 12

[Debian 13 (Trixie)]

  • Source package: [pg-partman]

    Details (2)
    • 5.2.4-1 · amd64 · trixie

      Affected

      nvd · pg-partman · debian · 13

    • 5.2.4-1 · arm64 · trixie

      Affected

      nvd · pg-partman · debian · 13

Observed:

References