Security advisory
An attempted excessive memory allocation was discovered in the function read_long_names in elf_begin.c in libelf in elfutils 0.174. Remote attackers could leverage this vulnerability to cause a denial-of-service via crafted elf input, which leads to an out-of-memory exception. NOTE: The maintainers believe this is not a real issue, but instead a "warning caused by ASAN because the allocation is big. By setting ASAN_OPTIONS=allocator_may_return_null=1 and running the reproducer, nothing happens."
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2019-7148
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 07:32 UTC · Revision 1
Source evidence
An attempted excessive memory allocation was discovered in the function read_long_names in elf_begin.c in libelf in elfutils 0.174. Remote attackers could leverage this vulnerability to cause a denial-of-service via crafted elf input, which leads to an out-of-memory exception. NOTE: The maintainers believe this is not a real issue, but instead a "warning caused by ASAN because the allocation is big. By setting ASAN_OPTIONS=allocator_may_return_null=1 and running the reproducer, nothing happens."
osv:CVE-2019-7148
Complete source record
{
"id": "7bf0918e673503559717051f49ea931df3cb2faf70d089f85c9e530ba206ee08",
"url": "https://osv.dev/vulnerability/CVE-2019-7148",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2019-7148",
"summary": "An attempted excessive memory allocation was discovered in the function read_long_names in elf_begin.c in libelf in elfutils 0.174. Remote attackers could leverage this vulnerability to cause a denial-of-service via crafted elf input, which leads to an out-of-memory exception. NOTE: The maintainers believe this is not a real issue, but instead a \"warning caused by ASAN because the allocation is big. By setting ASAN_OPTIONS=allocator_may_return_null=1 and running the reproducer, nothing happens.\"",
"evidence": "osv:CVE-2019-7148",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2019-7148",
"aliases": [
"CVE-2019-7148"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://sourceware.org/git/elfutils.git",
"type": "GIT",
"events": [
{
"introduced": "52b6b2f1f49e7385527e9f311f248092be0c0b61"
},
{
"last_affected": "52b6b2f1f49e7385527e9f311f248092be0c0b61"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:elfutils_project:elfutils:0.174:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.174"
},
{
"last_affected": "0.174"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"0.174",
"elfutils-0.174"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-7148.json"
}
}
],
"modified": "2026-10-24T10:30:54.504085272Z",
"provider": "osv",
"references": [
"https://sourceware.org/bugzilla/show_bug.cgi?id=24085"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2019-7148",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 438211,
"published_at": "2019-01-29T00:29:00.347+00:00"
}