CVE-2007-3998 Improper Input Validation
No CVSS score yet. EPSS 3.0% estimated probability of exploitation activity in the next 30 days.
On this page
- EPSS
- 3.0% (unchanged from 3.0% a week ago; 3.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 88th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
- CWE
- CWE-20 Improper Input Validation
- OWASP Top 10
- A05:2025 Injection
- Published
- Modified
- NVD analysis
- Analyzed, since modified
- Record from
- the NVD, synced
Fix and patched versions
- Debian, Red Hat: fixed package versions per release
- Vendor advisory: http://www.php.net/ChangeLog-5.php#5.2.4
- Vendor advisory: http://www.php.net/releases/5_2_4.php
Ask an AI about this CVE
Show the prompt
Explain CVE-2007-3998 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2007-3998?via=ask-ai-copy and https://cve.bz/cve/CVE-2007-3998?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2007-3998 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
Versions
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| php:php | from 4.0.0 before 4.4.8 |
| php:php | from 5.0.0 before 5.2.4 |
| debian:debian_linux | 3.1 |
| debian:debian_linux | 4.0 |
| canonical:ubuntu_linux | 6.06 |
| canonical:ubuntu_linux | 6.10 |
| canonical:ubuntu_linux | 7.04 |
| canonical:ubuntu_linux | 7.10 |
Linux distributions
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 4.0 | php4 | 6:4.4.4-8+etch6 | DSA-1578-1 |
| Debian | 4.0 | php5 | 5.2.0-8+etch9 | DSA-1444-1 |
| Debian | 5.0 | php5 | 5.2.3-1+lenny1 | DTSA-61-1 |
| Red Hat | enterprise_linux:3::as, enterprise_linux:3::desktop, enterprise_linux:3::es and 1 more | php, php-imap, php-ldap and 5 more | 0:4.3.2-43.ent | RHSA-2007:0889 |
| Red Hat | enterprise_linux:4::as, enterprise_linux:4::desktop, enterprise_linux:4::es and 1 more | php, php-gd, php-imap and 12 more | 0:4.3.9-3.22.9 | RHSA-2007:0890 |
| Red Hat | enterprise_linux:5::client_workstation, enterprise_linux:5::server | php, php-gd, php-cli and 17 more | 0:5.1.6-15.el5 | RHSA-2007:0890 |
| Red Hat | rhel_application_stack:1 | php, php-gd, php-cli and 17 more | 0:5.1.6-3.el4s1.8 | RHSA-2007:0891 |
| Red Hat | rhel_application_stack:2 | php, php-gd, php-cli and 17 more | 0:5.2.3-3.el5s2 | RHSA-2007:0917 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat.
Red Hat
Red Hat rates this Low.
This issue did not affect the versions of PHP as shipped with Red Hat Enterprise Linux 2.1.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 3 | php-0:4.3.2-43.ent | Fixed 2007-09-26 | RHSA-2007:0889 |
| Red Hat Enterprise Linux 4 | php-0:4.3.9-3.22.9 | Fixed 2007-09-20 | RHSA-2007:0890 |
| Red Hat Enterprise Linux 5 | php-0:5.1.6-15.el5 | Fixed 2007-09-20 | RHSA-2007:0890 |
| Red Hat Web Application Stack for RHEL 4 | php-0:5.1.6-3.el4s1.8 | Fixed 2007-10-25 | RHSA-2007:0891 |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2007-3998.
Attack patterns (CAPEC)
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).
References
- http://www.php.net/ChangeLog-5.php#5.2.4
- http://www.php.net/releases/5_2_4.php
- http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.html
- http://rhn.redhat.com/errata/RHSA-2007-0889.html
- http://secunia.com/advisories/26642
- http://secunia.com/advisories/26822
- http://secunia.com/advisories/26838
- http://secunia.com/advisories/26871
- http://secunia.com/advisories/26895
- http://secunia.com/advisories/26930
- http://secunia.com/advisories/26967
- http://secunia.com/advisories/27102
- http://secunia.com/advisories/27377
- http://secunia.com/advisories/27545
- http://secunia.com/advisories/27864
- http://secunia.com/advisories/28249
- http://secunia.com/advisories/28658
- http://secunia.com/advisories/30288
- http://secweb.se/en/advisories/php-wordwrap-vulnerability/
- http://support.avaya.com/elmodocs2/security/ASA-2007-449.htm
- http://www.debian.org/security/2008/dsa-1444
- http://www.debian.org/security/2008/dsa-1578
- http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:187
- http://www.redhat.com/support/errata/RHSA-2007-0890.html
- http://www.redhat.com/support/errata/RHSA-2007-0891.html
- http://www.trustix.org/errata/2007/0026/
- http://www.ubuntu.com/usn/usn-549-2
- http://www.vupen.com/english/advisories/2007/3023
- https://issues.rpath.com/browse/RPL-1693
- https://issues.rpath.com/browse/RPL-1702
- https://launchpad.net/bugs/173043
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10603
- https://usn.ubuntu.com/549-1/
- https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00354.html