CVE Vulnerabilities


Use of Externally-Controlled Format String

Published: Feb 06, 2007 | Modified: Oct 16, 2018
CVSS 3.x
CVSS 2.x
7.5 HIGH

Format string vulnerability in the VFS module in Samba 3.0.6 through 3.0.23d allows context-dependent attackers to execute arbitrary code via format string specifiers in a filename on an AFS file system, which is not properly handled during Windows ACL mapping.


The software uses a function that accepts a format string as an argument, but the format string originates from an external source.

Affected Software

Name Vendor Start Version End Version
Samba Samba 3.0.6 3.0.6
Samba Samba 3.0.7 3.0.7
Samba Samba 3.0.8 3.0.8
Samba Samba 3.0.9 3.0.9
Samba Samba 3.0.10 3.0.10
Samba Samba 3.0.11 3.0.11
Samba Samba 3.0.12 3.0.12
Samba Samba 3.0.13 3.0.13
Samba Samba 3.0.14 3.0.14
Samba Samba 3.0.14a 3.0.14a
Samba Samba 3.0.20 3.0.20
Samba Samba 3.0.20a 3.0.20a
Samba Samba 3.0.20b 3.0.20b
Samba Samba 3.0.21 3.0.21
Samba Samba 3.0.21a 3.0.21a
Samba Samba 3.0.21b 3.0.21b
Samba Samba 3.0.21c 3.0.21c
Samba Samba 3.0.22 3.0.22
Samba Samba 3.0.23d 3.0.23d
Samba Ubuntu dapper *
Samba Ubuntu devel *
Samba Ubuntu edgy *
Samba Ubuntu feisty *

Extended Description

When an attacker can modify an externally-controlled format string, this can lead to buffer overflows, denial of service, or data representation problems. It should be noted that in some circumstances, such as internationalization, the set of format strings is externally controlled by design. If the source of these format strings is trusted (e.g. only contained in library files that are only modifiable by the system administrator), then the external control might not itself pose a vulnerability.

Potential Mitigations