CVE catalog

CVE-2025-0218

pgagent: CVE-2025-0218

[CVE catalog]

Severity
Medium
Published
Source
[NVD] · [CVE record]
EPSS
0.18% · Oct 25, 2026

When batch jobs are executed by pgAgent, a script is created in a temporary directory and then executed. In versions of pgAgent prior to 4.2.3, an insufficiently seeded random number generator is used when generating the directory name, leading to the possibility for a local attacker to pre-create the directory and thus prevent pgAgent from executing jobs, disrupting scheduled tasks.

Vulnerable and fixed packages

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

DistributionPackageReleaseVersionStatus
Debianpgagentsid4.2.3-5fixed
Debianpgagentforky4.2.3-5fixed
Debianpgagenttrixie4.2.3-2fixed
Debianpgagentbookworm4.2.2-2vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpgagentsourcesid4.2.3-1not yet assignedNot reported[1092677]
Debianpgagentsourceforky4.2.3-1not yet assignedNot reported[1092677]
Debianpgagentsourcetrixie4.2.3-1not yet assignedNot reported[1092677]
Debianpgagentsourcebookworm(unfixed)not yet assignedNot reported[1092677]

[Debian bug #1092677]

Notes

[bookworm] pgagent: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [pgagent]Affected
    Details (2)
    • 4.2.2-2 · amd64 · bookworm

      Affected

      dsa · pgagent · debian · bookworm; dsa · pgagent · debian · 12

    • 4.2.2-2 · arm64 · bookworm

      Affected

      dsa · pgagent · debian · bookworm; dsa · pgagent · debian · 12

[Debian 13 (Trixie)]

  • [pgagent]Fixed
    Details (2)
    • 4.2.3-2 · amd64 · trixie

      Fixed · Fixed: 4.2.3-1

      dsa · pgagent · debian · 13

    • 4.2.3-2 · arm64 · trixie

      Fixed · Fixed: 4.2.3-1

      dsa · pgagent · debian · 13

Observed:

References