Every CVE Search/ Get API key

CVE-2008-4106

WordPress before 2.6.2 does not properly handle MySQL warnings about insertion of username...

5.1 MediumFix available

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

5.48%Up 2.1 points since Feb 4, 2022
90%50%10%1%

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 MediumAV: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

Affected packages
PackageAffectedFixed
wordpress
Debian:12
before 2.5.1-8
2.5.1-8
wordpress
Debian:13
before 2.5.1-8
2.5.1-8
wordpress
Debian:14
before 2.5.1-8
2.5.1-8
wordpress
Debian: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
wordpress
Debian: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
wordpress
Debian: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

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE 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

Show 14 moreShow less
MoveEnter Open