Your submission was sent successfully! Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.Close

CVE-2008-3659

Publication date 14 August 2008

Last updated 24 July 2024


Ubuntu priority

Buffer overflow in the memnstr function in PHP 4.4.x before 4.4.9 and PHP 5.6 through 5.2.6 allows context-dependent attackers to cause a denial of service (crash) and possibly execute arbitrary code via the delimiter argument to the explode function. NOTE: the scope of this issue is limited since most applications would not use an attacker-controlled delimiter, but local attacks against safe_mode are feasible.

Read the notes from the security team

Status

Package Ubuntu Release Status
php4 9.10 karmic Not in release
9.04 jaunty Not in release
8.10 intrepid Not in release
8.04 LTS hardy Not in release
7.10 gutsy Not in release
7.04 feisty Not in release
6.06 LTS dapper Ignored
php5 9.10 karmic
Not affected
9.04 jaunty
Not affected
8.10 intrepid
Fixed 5.2.6-2ubuntu4.1
8.04 LTS hardy
Fixed 5.2.4-2ubuntu5.5
7.10 gutsy
Fixed 5.2.3-1ubuntu6.5
7.04 feisty Ignored
6.06 LTS dapper
Fixed 5.1.2-1ubuntu3.13

Notes


jdstrand

per Debian, php5 -d memory_limit=256M -r \ '$res = explode(str_repeat("A",145999999),1);' (From upstream's ext/standard/tests/strings/explode_bug.phpt)

References

Related Ubuntu Security Notices (USN)

    • USN-720-1
    • PHP vulnerabilities
    • 12 February 2009

Other references