#VU110533 Input validation error in PHP - CVE-2002-1396


| Updated: 2025-06-08

Vulnerability identifier: #VU110533

Vulnerability risk: Medium

CVSSv4.0: 2.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2002-1396

CWE-ID: CWE-20

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
PHP
Universal components / Libraries / Scripting languages

Vendor: PHP Group

Description

The vulnerability allows a remote non-authenticated attacker to read and manipulate data.

Heap-based buffer overflow in the wordwrap function in PHP after 4.1.2 and before 4.3.0 may allow attackers to cause a denial of service or execute arbitrary code.

Mitigation
Install update from vendor's website.

Vulnerable software versions

PHP: 4.1.2, 4.2, 4.2.1, 4.2.2, 4.2.3


External links
https://archives.neohapsis.com/archives/linux/engarde/2003-q1/0003.html
https://bugs.php.net/bug.php?id=20927
https://marc.info/?l=bugtraq&m=104102689503192&w=2
https://www.mandrakesoft.com/security/advisories?name=MDKSA-2003:019
https://www.novell.com/linux/security/advisories/2003_009_mod_php4.html
https://www.redhat.com/support/errata/RHSA-2003-017.html
https://www.securityfocus.com/advisories/4862
https://www.securityfocus.com/bid/6488
https://exchange.xforce.ibmcloud.com/vulnerabilities/10944


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability