USN-9359-1: pgAgent vulnerability

Publication date

1 December 2026

Overview

pgAgent could be made to stop running scheduled jobs.


Packages

  • pgagent - job scheduling engine for PostgreSQL

Details

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.

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.

Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
24.04 LTS noble pgagent –  4.2.2-3ubuntu0.1~esm1  
22.04 LTS jammy pgagent –  4.2.1-2ubuntu0.1~esm1  
20.04 LTS focal pgagent –  4.0.0-6ubuntu0.1~esm1  
18.04 LTS bionic pgagent –  3.4.1-5ubuntu0.1~esm1  
16.04 LTS xenial pgagent –  3.4.1-2ubuntu0.1~esm1

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›