CVE-2008-4106
WordPress before 2.6.2 does not properly handle MySQL warnings about insertion of username...
WordPress before 2.6.2 does not properly handle MySQL warnings about insertion of username strings that exceed the maximum column width of the user_login column, and does not properly handle space characters when comparing usernames, which allows remote attackers to change an arbitrary user's password to a random value by registering a similar username and then requesting a password reset, related to a "SQL column truncation vulnerability." NOTE: the attacker can discover the random password by also exploiting CVE-2008-4107.
Exploit likelihood
What each source reports
NVD Score used
5.1
WordPress before 2.6.2 does not properly handle MySQL warnings about insertion of username strings that exceed the maximum column width of the user_login column, and does not properly handle space characters when comparing usernames, which allows remote attackers to change an arbitrary user's password to a random value by registering a similar username and then requesting a password reset, related to a "SQL column truncation vulnerability." NOTE: the attacker can discover the random password by also exploiting CVE-2008-4107.
- Record
CVE-2008-4106- CVSS 2.0
- 5.1 Medium
AV:N/AC:H/Au:N/C:P/I:P/A:P - Weakness
- CWE-20
- Updated
- 2026-11-02
CVE List No score
WordPress before 2.6.2 does not properly handle MySQL warnings about insertion of username strings that exceed the maximum column width of the user_login column, and does not properly handle space characters when comparing usernames, which allows remote attackers to change an arbitrary user's password to a random value by registering a similar username and then requesting a password reset, related to a "SQL column truncation vulnerability." NOTE: the attacker can discover the random password by also exploiting CVE-2008-4107.
- Record
CVE-2008-4106- Updated
- 2026-11-02
EUVDEUVD-2008-4089 No score
WordPress before 2.6.2 does not properly handle MySQL warnings about insertion of username strings that exceed the maximum column width of the user_login column, and does not properly handle space characters when comparing usernames, which allows remote attackers to change an arbitrary user's password to a random value by registering a similar username and then requesting a password reset, related to a "SQL column truncation vulnerability." NOTE: the attacker can discover the random password by also exploiting CVE-2008-4107.
- Record
EUVD-2008-4089- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-gg7f-mrmc-j93p No score
WordPress before 2.6.2 does not properly handle MySQL warnings about insertion of username...
WordPress before 2.6.2 does not properly handle MySQL warnings about insertion of username strings that exceed the maximum column width of the user_login column, and does not properly handle space characters when comparing usernames, which allows remote attackers to change an arbitrary user's password to a random value by registering a similar username and then requesting a password reset, related to a "SQL column truncation vulnerability." NOTE: the attacker can discover the random password by also exploiting CVE-2008-4107.
- Record
GHSA-gg7f-mrmc-j93p- Weakness
- CWE-20
- Updated
- 2026-11-02
OSV No score
WordPress before 2.6.2 does not properly handle MySQL warnings about insertion of username strings that exceed the maximum column width of the user_login column, and does not properly handle space characters when comparing usernames, which allows remote attackers to change an arbitrary user's password to a random value by registering a similar username and then requesting a password reset, related to a "SQL column truncation vulnerability." NOTE: the attacker can discover the random password by also exploiting CVE-2008-4107.
- Record
CVE-2008-4106- Updated
- 2026-11-02
OSVDEBIAN-CVE-2008-4106 No score
WordPress before 2.6.2 does not properly handle MySQL warnings about insertion of username strings that exceed the maximum column width of the user_login column, and does not properly handle space characters when comparing usernames, which allows remote attackers to change an arbitrary user's password to a random value by registering a similar username and then requesting a password reset, related to a "SQL column truncation vulnerability." NOTE: the attacker can discover the random password by also exploiting CVE-2008-4107.
- Record
DEBIAN-CVE-2008-4106- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
wordpressDebian:12 |
before 2.5.1-8 | 2.5.1-8 |
wordpressDebian:13 |
before 2.5.1-8 | 2.5.1-8 |
wordpressDebian:14 |
before 2.5.1-8 | 2.5.1-8 |
wordpressDebian:4.0 From an advisory covering 11 CVEs |
before 2.0.10-1etch4, plus listed versions 2.0.10-12.0.10-1etch12.0.10-1etch22.0.10-1etch32.0.10-1~bpo.12.0.9-1 |
2.0.10-1etch4 |
wordpressDebian:5.0 From an advisory covering 11 CVEs |
before 2.5.1-11+lenny1, plus listed versions 2.5.1-11 |
2.5.1-11+lenny1 |
wordpressDebian:4.0 From an advisory covering 11 CVEs |
before 2.0.10-1etch5, plus listed versions 2.0.10-12.0.10-1etch12.0.10-1etch22.0.10-1etch32.0.10-1etch42.0.10-1~bpo.12.0.9-1 |
2.0.10-1etch5 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2008-4106 is a medium vulnerability (CVSS 5.1) in Wordpress, published September 18, 2008. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 5.48%, the 92nd percentile. Fixed in wordpress 2.5.1-8.
References
secunia.com/advisories/31737
exploit-db.com/exploits/6421
marc.info?l=oss-security&m=122152830017099&w=2
suspekt.org/2008/08/18/mysql-and-sql-column-truncation-vulnerabilities
vupen.com/english/advisories/2008/2553
exploit-db.com/exploits/6397
Show 14 moreShow less
debian.org/security/2009/dsa-1871
openwall.com/lists/oss-security/2008/09/11/6
sektioneins.de/advisories/SE-2008-05.txt
securityreason.com/securityalert/4272
securityfocus.com/bid/31068
secunia.com/advisories/31870
securityfocus.com/archive/1/496287/100/0/threaded
securitytracker.com/id?1020869
redhat.com/archives/fedora-package-announce/2008-September/msg00629.html
redhat.com/archives/fedora-package-announce/2008-September/msg00607.html
wordpress.org/development/2008/09/wordpress-262
nvd.nist.gov/vuln/detail/CVE-2008-4106
github.com/advisories/GHSA-gg7f-mrmc-j93p
security-tracker.debian.org/tracker/CVE-2008-4106