USN-9359-1: pgAgent vulnerability
Published Dec 1, 2026
·Updated
It was discovered that pgAgent used an insufficiently seeded random number generator when creating the temporary directory for batch job scripts. A local attacker could possibly use this issue to pre-create the directory and prevent pgAgent from running jobs, resulting in a denial of service.
Affected Software
10 affected componentsFixes available
All of the following
ubuntu/pgagent<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=24.04
All of the following
ubuntu/pgagent<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=22.04
All of the following
ubuntu/pgagent<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=20.04
All of the following
ubuntu/pgagent<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=18.04
All of the following
ubuntu/pgagent<3.4.1-2ubuntu0.1~esm1
3.4.1-2ubuntu0.1~esm1
Ubuntu Ubuntu=16.04
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/pgagentto a version that resolves this vulnerability.Fixed in Ubuntu Pro - Upgrade
Upgrade
ubuntu/pgagentto a version that resolves this vulnerability.Fixed in 3.4.1-2ubuntu0.1~esm1
Event History
Dec 1, 2026
Advisory Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
DescriptionAffected Software
Frequently Asked Questions
1
Who can exploit this issue?
A local attacker could exploit it. The issue involves predicting and pre-creating the temporary directory used for pgAgent batch job scripts.
2
What is the impact if exploitation succeeds?
An attacker may prevent pgAgent from running jobs, causing a denial of service.