{"id":"USN-9359-1","summary":"pgagent vulnerability","details":"It was discovered that pgAgent used an insufficiently seeded random number\ngenerator when creating the temporary directory for batch job scripts. A\nlocal attacker could possibly use this issue to pre-create the directory\nand prevent pgAgent from running jobs, resulting in a denial of service.","modified":"2026-12-02T15:28:41.417260033Z","published":"2026-12-01T21:10:47Z","related":["UBUNTU-CVE-2025-0218"],"upstream":["CVE-2025-0218","UBUNTU-CVE-2025-0218"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-9359-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-0218"}],"affected":[{"package":{"name":"pgagent","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/pgagent?arch=source&distro=esm-apps-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.1-2ubuntu0.1~esm1"}]}],"versions":["3.4.0-3build1","3.4.1-1","3.4.1-1build1","3.4.1-2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro","binaries":[{"binary_version":"3.4.1-2ubuntu0.1~esm1","binary_name":"pgagent"}]},"database_specific":{"cves_map":{"cves":[{"severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"CNA","type":"CVSS_V3"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","source":"NVD"},{"type":"Ubuntu","score":"medium","source":"SELF"}],"id":"CVE-2025-0218"}],"ecosystem":"Ubuntu:Pro:16.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9359-1.json"}},{"package":{"name":"pgagent","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/pgagent?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.1-5ubuntu0.1~esm1"}]}],"versions":["3.4.1-4","3.4.1-5","3.4.1-5build1"],"ecosystem_specific":{"binaries":[{"binary_name":"pgagent","binary_version":"3.4.1-5ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:18.04:LTS","cves":[{"id":"CVE-2025-0218","severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"CNA","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","source":"NVD","type":"CVSS_V3"},{"score":"medium","source":"SELF","type":"Ubuntu"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9359-1.json"}},{"package":{"name":"pgagent","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/pgagent?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.0-6ubuntu0.1~esm1"}]}],"versions":["4.0.0-5","4.0.0-6","4.0.0-6build1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"pgagent","binary_version":"4.0.0-6ubuntu0.1~esm1"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:20.04:LTS","cves":[{"id":"CVE-2025-0218","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"CNA"},{"score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","source":"NVD","type":"CVSS_V3"},{"type":"Ubuntu","score":"medium","source":"SELF"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9359-1.json"}},{"package":{"name":"pgagent","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/pgagent?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.1-2ubuntu0.1~esm1"}]}],"versions":["4.0.0-8build1","4.2.1-2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"4.2.1-2ubuntu0.1~esm1","binary_name":"pgagent"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9359-1.json","cves_map":{"ecosystem":"Ubuntu:Pro:22.04:LTS","cves":[{"id":"CVE-2025-0218","severity":[{"source":"CNA","type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","source":"NVD"},{"type":"Ubuntu","score":"medium","source":"SELF"}]}]}}},{"package":{"name":"pgagent","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/pgagent?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.2-3ubuntu0.1~esm1"}]}],"versions":["4.2.2-2build1","4.2.2-3","4.2.2-3build1","4.2.2-3build2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"pgagent","binary_version":"4.2.2-3ubuntu0.1~esm1"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:24.04:LTS","cves":[{"id":"CVE-2025-0218","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"CNA"},{"score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","source":"NVD","type":"CVSS_V3"},{"source":"SELF","type":"Ubuntu","score":"medium"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9359-1.json"}}],"schema_version":"1.9.2"}