Incorrect default permissions in postfix (Debian package) - CVE-2009-2939
Published: June 8, 2025
Vulnerability identifier: #VU110622
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2009-2939
CWE-ID: CWE-276
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to incorrect default permissions for /var/spool/postfix/pid set by the application. A local user with access to the system can view contents of files and directories or modify them.
Affected software
postfix (Debian package)
postfix (Ubuntu package)
Ubuntu
postfix (Ubuntu package)
Ubuntu
How to mitigate CVE-2009-2939
Install updates from vendor's website.
postfix (Debian package) - addressed in versions 2.5.5-1.1+lenny1, 2.7.1-1+squeeze1, 2.8.0-1
postfix (Ubuntu package) - addressed in versions 2.2.10-1ubuntu0.3, 2.5.1-2ubuntu1.3, 2.6.5-3ubuntu0.1, 2.7.0-1ubuntu0.1, 2.7.1-1ubuntu0.1
postfix (Ubuntu package) - addressed in versions 2.2.10-1ubuntu0.3, 2.5.1-2ubuntu1.3, 2.6.5-3ubuntu0.1, 2.7.0-1ubuntu0.1, 2.7.1-1ubuntu0.1