glibc — security advisory
PHP 5.2.4 and earlier allows context-dependent attackers to cause a denial of service (application crash) via (1) a long string in the out_charset parameter to the iconv function; or a long string in the charset parameter to the (2) iconv_mime_decode_headers, (3) iconv_mime_decode, or (4) iconv_strlen function. NOTE: this might not be a vulnerability in most web server environments that support multiple threads, unless these issues can be demonstrated for code execution.
- Products
- glibc
- Affected versions
- Not specified
- Fixed versions
- 2.7-1
- CVEs
- CVE-2007-4840
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 15:55 UTC · Revision 1
Source evidence
PHP 5.2.4 and earlier allows context-dependent attackers to cause a denial of service (application crash) via (1) a long string in the out_charset parameter to the iconv function; or a long string in the charset parameter to the (2) iconv_mime_decode_headers, (3) iconv_mime_decode, or (4) iconv_strlen function. NOTE: this might not be a vulnerability in most web server environments that support multiple threads, unless these issues can be demonstrated for code execution.
osv:DEBIAN-CVE-2007-4840
glibc
Fixed versions: 2.7-1
glibc
Fixed versions: 2.7-1
glibc
Fixed versions: 2.7-1
Complete source record
{
"id": "e76aa74b5562a954267b81f978232bc28378ffff85dcf1f9ba350f1eaac714a5",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2007-4840",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2007-4840",
"summary": "PHP 5.2.4 and earlier allows context-dependent attackers to cause a denial of service (application crash) via (1) a long string in the out_charset parameter to the iconv function; or a long string in the charset parameter to the (2) iconv_mime_decode_headers, (3) iconv_mime_decode, or (4) iconv_strlen function. NOTE: this might not be a vulnerability in most web server environments that support multiple threads, unless these issues can be demonstrated for code execution.",
"evidence": "osv:DEBIAN-CVE-2007-4840",
"products": [
{
"name": {
"value": "glibc",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.7-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "glibc",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.7-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "glibc",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.7-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "DEBIAN-CVE-2007-4840",
"aliases": [
"DEBIAN-CVE-2007-4840"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.7-1"
}
]
}
],
"package": {
"name": "glibc",
"purl": "pkg:deb/debian/glibc?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2007-4840.json"
},
"ecosystem_specific": {
"urgency": "unimportant"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.7-1"
}
]
}
],
"package": {
"name": "glibc",
"purl": "pkg:deb/debian/glibc?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2007-4840.json"
},
"ecosystem_specific": {
"urgency": "unimportant"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.7-1"
}
]
}
],
"package": {
"name": "glibc",
"purl": "pkg:deb/debian/glibc?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2007-4840.json"
},
"ecosystem_specific": {
"urgency": "unimportant"
}
}
],
"modified": "2026-10-21T17:47:45.260497734Z",
"provider": "osv",
"upstream": [
"CVE-2007-4840"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2007-4840"
]
},
"related_cves": [
{
"value": "CVE-2007-4840",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 398564,
"published_at": "2007-09-12T20:17:00+00:00"
}