BIT-libphp-2025-1220

See a problem?
Import Source
https://github.com/bitnami/vulndb/tree/main/data/libphp/BIT-libphp-2025-1220.json
JSON Data
https://api.test.osv.dev/v1/vulns/BIT-libphp-2025-1220
Aliases
Published
2025-08-11T13:54:42.636Z
Modified
2025-08-11T14:44:41.995654Z
Summary
Null byte termination in hostnames
Details

In PHP versions:8.1.* before 8.1.33, 8.2.* before 8.2.29, 8.3.* before 8.3.23, 8.4.* before 8.4.10 some functions like fsockopen() lack validation that the hostname supplied does not contain null characters. This may lead to other functions like parse_url() treat the hostname in different way, thus opening way to security problems if the user code implements access checks before access using such functions.

Database specific
{
    "severity": "Medium",
    "cpes": [
        "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*"
    ]
}
References

Affected packages

Bitnami / libphp

Package

Name
libphp
Purl
pkg:bitnami/libphp

Severity

  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.1.33
Introduced
8.2.0
Fixed
8.2.29
Introduced
8.3.0
Fixed
8.3.23
Introduced
8.4.0
Fixed
8.4.10