
CVE catalog
CVE-2025-0218
pgagent: CVE-2025-0218
- 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.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | pgagent | sid | 4.2.3-5 | fixed |
| Debian | pgagent | forky | 4.2.3-5 | fixed |
| Debian | pgagent | trixie | 4.2.3-2 | fixed |
| Debian | pgagent | bookworm | 4.2.2-2 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | pgagent | source | sid | 4.2.3-1 | not yet assigned | Not reported | [1092677] |
| Debian | pgagent | source | forky | 4.2.3-1 | not yet assigned | Not reported | [1092677] |
| Debian | pgagent | source | trixie | 4.2.3-1 | not yet assigned | Not reported | [1092677] |
| Debian | pgagent | source | bookworm | (unfixed) | not yet assigned | Not reported | [1092677] |
Notes
[bookworm] pgagent: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [pgagent]Affected
Details (2)
4.2.2-2· amd64 · bookwormAffected
dsa · pgagent · debian · bookworm; dsa · pgagent · debian · 12
4.2.2-2· arm64 · bookwormAffected
dsa · pgagent · debian · bookworm; dsa · pgagent · debian · 12
[Debian 13 (Trixie)]
- [pgagent]Fixed
Details (2)
4.2.3-2· amd64 · trixieFixed · Fixed:
4.2.3-1dsa · pgagent · debian · 13
4.2.3-2· arm64 · trixieFixed · Fixed:
4.2.3-1dsa · pgagent · debian · 13
Observed: