Description
Postfix before 2.11.10, 3.0.x before 3.0.10, 3.1.x before 3.1.6, and 3.2.x before 3.2.2 might allow local users to gain privileges by leveraging undocumented functionality in Berkeley DB 2.x and later, related to reading settings from DB_CONFIG in the current directory.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | db5.3 | 5.3.28-13.1 | — |
| Debian 13 | db5.3 | 5.3.28-13.1 | — |
| Debian 12 | db5.3 | 5.3.28-13.1 | — |
| Debian 7 | db | 5.1.29-5+deb7u1 | DLA-1135-1 |
| Debian 7 | db4.7 | 4.7.25-21+deb7u1 | DLA-1137-1 |
| Debian 7 | db4.8 | 4.8.30-12+deb7u1 | DLA-1136-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | db5.3 | 5.3.28-13.1 | — |
| Ubuntu 16.04 LTS | db5.3 | 5.3.28-11ubuntu0.1 | USN-3489-1 |
| Ubuntu 14.04 LTS | db5.3 | 5.3.28-3ubuntu3.1 | USN-3489-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | libdb +12 | 5.3.21-24.amzn2.0.4 | ALAS2-2023-1965 |
Advisories 8
- USN-3489-1 db5.3 vulnerability Ubuntu Security Notices (USN) · Apr 22, 2026
- DLA-1137-1 db4.7 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1136-1 db4.8 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1135-1 db - security update Debian Security (DSA / DLA) · Mar 9, 2026
- WID-SEC-2025-0370 Apple Mac OS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Feb 13, 2025
- WID-SEC-2023-0880 Oracle Berkeley DB: Schwachstelle ermöglicht Offenlegung von Informationen BSI CERT-Bund (WID) · Apr 5, 2023
- WID-SEC-2023-0582 Oracle Berkeley DB: Mehrere Schwachstellen BSI CERT-Bund (WID) · Mar 7, 2023
- ALAS2-2023-1965 Important: libdb security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Mar 7, 2023