Every CVE Search/ Get API key

CVE-2019-7148

An attempted excessive memory allocation was discovered in the function read_long_names in...

6.5 MediumFix available

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."

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

1.60%Up 1.1 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 6.5

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."

Record
CVE-2019-7148
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:N/A:P
Weakness
CWE-770
Updated
2026-11-02
CVE List No score

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."

Record
CVE-2019-7148
Updated
2026-11-02
EUVDEUVD-2019-16698 No score

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."

Record
EUVD-2019-16698
Updated
2026-11-03
GitHub AdvisoriesGHSA-67vc-2q9c-6854 6.5

An attempted excessive memory allocation was discovered in the function read_long_names in...

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."

Record
GHSA-67vc-2q9c-6854
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-770
Updated
2026-11-02
OSVALPINE-CVE-2019-7148 6.5

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."

Record
ALPINE-CVE-2019-7148
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVBELL-CVE-2019-7148 6.5

CVE-2019-7148 does not affect BellSoft software

Record
BELL-CVE-2019-7148
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 5 moreShow less
OSV 6.5

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."

Record
CVE-2019-7148
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2019-7148 6.5

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."

Record
DEBIAN-CVE-2019-7148
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2019-7148 6.5

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."

Record
UBUNTU-CVE-2019-7148
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVSUSE-SU-2022:2614-1 No score

Security update for dwarves and elfutils

This update for dwarves and elfutils fixes the following issues:

elfutils was updated to version 0.177 (jsc#SLE-24501):

  • elfclassify: New tool to analyze ELF objects.
  • readelf: Print DW_AT_data_member_location as decimal offset. Decode DW_AT_discr_list block attributes.
  • libdw: Add DW_AT_GNU_numerator, DW_AT_GNU_denominator and DW_AT_GNU_bias.
  • libdwelf: Add dwelf_elf_e_machine_string. dwelf_elf_begin now only returns NULL when there is an error reading or decompressing a file. If the file is not an ELF file an ELF handle of type ELF_K_NONE is returned.
  • backends: Add support for C-SKY.

Update to version 0.176:

  • build: Add new --enable-install-elfh option. Do NOT use this for system installs (it overrides glibc elf.h).
  • backends: riscv improved core file and return value location support.
  • Fixes:
    • CVE-2019-7146, CVE-2019-7148, CVE-2019-7149, CVE-2019-7664 - CVE-2019-7150: dwfl_segment_report_module doesn't check whether the dyn data read from core file is truncated (bsc#1123685)
    • CVE-2019-7665: NT_PLATFORM core file note should be a zero terminated string (CVE is a bit misleading, as this is not a bug in libelf as described) (bsc#1125007)

Update to version 0.175:

  • readelf: Handle mutliple .debug_macro sections. Recognize and parse GNU Property, NT_VERSION and GNU Build Attribute ELF Notes.
  • strip: Handle SHT_GROUP correctly. Add strip --reloc-debug-sections-only option. Handle relocations against GNU compressed sections.
  • libdwelf: New function dwelf_elf_begin.
  • libcpu: Recognize bpf jump variants BPF_JLT, BPF_JLE, BPF_JSLT and BPF_JSLE. backends: RISCV handles ADD/SUB relocations. Handle SHT_X86_64_UNWIND.
    • CVE-2018-18521: arlib: Divide-by-zero vulnerabilities in the function arlib_add_symbols() used by eu-ranlib (bsc#1112723)
    • CVE-2018-18310: Invalid Address Read problem in dwfl_segment_report_module.c (bsc#1111973)
    • CVE-2018-18520: eu-size: Bad handling of ar files inside are files (bsc#1112726)

Update to version 0.174:

  • libelf, libdw and all tools now handle extended shnum and shstrndx correctly.

  • elfcompress: Don't rewrite input file if no section data needs updating. Try harder to keep same file mode bits (suid) on rewrite.

  • strip: Handle mixed (out of order) allocated/non-allocated sections.

  • unstrip: Handle SHT_GROUP sections.

  • backends: RISCV and M68K now have backend implementations to generate CFI based backtraces.

  • Fixes:

    • CVE-2018-16402: libelf: denial of service/double free on an attempt to decompress the same section twice (bsc#1107066) Double-free crash in nm and readelf
    • CVE-2018-16403: heap buffer overflow in readelf (bsc#1107067)
    • CVE-2018-16062: heap-buffer-overflow in /elfutils/libdw/dwarf_getaranges.c:156 (bsc#1106390)

Update to version 0.173:

  • More fixes for crashes and hangs found by afl-fuzz. In particular various functions now detect and break infinite loops caused by bad DIE tree cycles.
  • readelf: Will now lookup the size and signedness of constant value types to display them correctly (and not just how they were encoded).
  • libdw: New function dwarf_next_lines to read CU-less .debug_line data. dwarf_begin_elf now accepts ELF files containing just .debug_line or .debug_frame sections (which can be read without needing a DIE tree from the .debug_info section). Removed dwarf_getscn_info, which was never implemented.
  • backends: Handle BPF simple relocations. The RISCV backends now handles ABI specific CFI and knows about RISCV register types and names.

Update to version 0.172:

  • Various bug fixes in libdw and eu-readelf dealing with bad DWARF5 data. Thanks to running the afl fuzzer on eu-readelf and various testcases.

Update to version 0.171:

  • DWARF5 and split dwarf,…
Record
SUSE-SU-2022:2614-1
Updated
2026-11-02
OSVSUSE-SU-2022:2614-2 No score

Security update for dwarves and elfutils

This update for dwarves and elfutils fixes the following issues:

elfutils was updated to version 0.177 (jsc#SLE-24501):

  • elfclassify: New tool to analyze ELF objects.
  • readelf: Print DW_AT_data_member_location as decimal offset. Decode DW_AT_discr_list block attributes.
  • libdw: Add DW_AT_GNU_numerator, DW_AT_GNU_denominator and DW_AT_GNU_bias.
  • libdwelf: Add dwelf_elf_e_machine_string. dwelf_elf_begin now only returns NULL when there is an error reading or decompressing a file. If the file is not an ELF file an ELF handle of type ELF_K_NONE is returned.
  • backends: Add support for C-SKY.

Update to version 0.176:

  • build: Add new --enable-install-elfh option. Do NOT use this for system installs (it overrides glibc elf.h).
  • backends: riscv improved core file and return value location support.
  • Fixes:
    • CVE-2019-7146, CVE-2019-7148, CVE-2019-7149, CVE-2019-7664 - CVE-2019-7150: dwfl_segment_report_module doesn't check whether the dyn data read from core file is truncated (bsc#1123685)
    • CVE-2019-7665: NT_PLATFORM core file note should be a zero terminated string (CVE is a bit misleading, as this is not a bug in libelf as described) (bsc#1125007)

Update to version 0.175:

  • readelf: Handle mutliple .debug_macro sections. Recognize and parse GNU Property, NT_VERSION and GNU Build Attribute ELF Notes.
  • strip: Handle SHT_GROUP correctly. Add strip --reloc-debug-sections-only option. Handle relocations against GNU compressed sections.
  • libdwelf: New function dwelf_elf_begin.
  • libcpu: Recognize bpf jump variants BPF_JLT, BPF_JLE, BPF_JSLT and BPF_JSLE. backends: RISCV handles ADD/SUB relocations. Handle SHT_X86_64_UNWIND.
    • CVE-2018-18521: arlib: Divide-by-zero vulnerabilities in the function arlib_add_symbols() used by eu-ranlib (bsc#1112723)
    • CVE-2018-18310: Invalid Address Read problem in dwfl_segment_report_module.c (bsc#1111973)
    • CVE-2018-18520: eu-size: Bad handling of ar files inside are files (bsc#1112726)

Update to version 0.174:

  • libelf, libdw and all tools now handle extended shnum and shstrndx correctly.

  • elfcompress: Don't rewrite input file if no section data needs updating. Try harder to keep same file mode bits (suid) on rewrite.

  • strip: Handle mixed (out of order) allocated/non-allocated sections.

  • unstrip: Handle SHT_GROUP sections.

  • backends: RISCV and M68K now have backend implementations to generate CFI based backtraces.

  • Fixes:

    • CVE-2018-16402: libelf: denial of service/double free on an attempt to decompress the same section twice (bsc#1107066) Double-free crash in nm and readelf
    • CVE-2018-16403: heap buffer overflow in readelf (bsc#1107067)
    • CVE-2018-16062: heap-buffer-overflow in /elfutils/libdw/dwarf_getaranges.c:156 (bsc#1106390)

Update to version 0.173:

  • More fixes for crashes and hangs found by afl-fuzz. In particular various functions now detect and break infinite loops caused by bad DIE tree cycles.
  • readelf: Will now lookup the size and signedness of constant value types to display them correctly (and not just how they were encoded).
  • libdw: New function dwarf_next_lines to read CU-less .debug_line data. dwarf_begin_elf now accepts ELF files containing just .debug_line or .debug_frame sections (which can be read without needing a DIE tree from the .debug_info section). Removed dwarf_getscn_info, which was never implemented.
  • backends: Handle BPF simple relocations. The RISCV backends now handles ABI specific CFI and knows about RISCV register types and names.

Update to version 0.172:

  • Various bug fixes in libdw and eu-readelf dealing with bad DWARF5 data. Thanks to running the afl fuzzer on eu-readelf and various testcases.

Update to version 0.171:

  • DWARF5 and split dwarf,…
Record
SUSE-SU-2022:2614-2
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
elfutils
Alpine:v3.12
before 0.176-r0
0.176-r0
elfutils
Alpine:v3.13
before 0.176-r0
0.176-r0
elfutils
Alpine:v3.14
before 0.176-r0
0.176-r0
elfutils
Alpine:v3.15
before 0.176-r0
0.176-r0
elfutils
Alpine:v3.16
before 0.176-r0
0.176-r0
elfutils
Alpine:v3.17
before 0.176-r0
0.176-r0
elfutils
Alpine:v3.18
before 0.176-r0
0.176-r0
elfutils
Alpine:v3.19
before 0.176-r0
0.176-r0
elfutils
Alpine:v3.20
before 0.176-r0
0.176-r0
elfutils
Alpine:v3.21
before 0.176-r0
0.176-r0
Show 19 moreShow less
Affected packages
PackageAffectedFixed
elfutils
Alpine:v3.22
before 0.176-r0
0.176-r0
elfutils
Alpine:v3.23
before 0.176-r0
0.176-r0
elfutils
Alpine:v3.24
before 0.176-r0
0.176-r0
elfutils
Debian:12
before 0.176-1
0.176-1
elfutils
Debian:13
before 0.176-1
0.176-1
elfutils
Debian:14
before 0.176-1
0.176-1
dwarves
SUSE:Linux Enterprise Module for Basesystem 15 SP3
before 1.22-150300.7.3.1
1.22-150300.7.3.1
elfutils
SUSE:Linux Enterprise Module for Basesystem 15 SP3
before 0.177-150300.11.3.1
0.177-150300.11.3.1
dwarves
SUSE:Linux Enterprise Micro 5.1
before 1.22-150300.7.3.1
1.22-150300.7.3.1
elfutils
SUSE:Linux Enterprise Micro 5.1
before 0.177-150300.11.3.1
0.177-150300.11.3.1
dwarves
SUSE:Linux Enterprise Micro 5.2
before 1.22-150300.7.3.1
1.22-150300.7.3.1
elfutils
SUSE:Linux Enterprise Micro 5.2
before 0.177-150300.11.3.1
0.177-150300.11.3.1
dwarves
openSUSE:Leap 15.3
before 1.22-150300.7.3.1
1.22-150300.7.3.1
elfutils
openSUSE:Leap 15.3
before 0.177-150300.11.3.1
0.177-150300.11.3.1
dwarves
openSUSE:Leap Micro 5.2
before 1.22-150300.7.3.1
1.22-150300.7.3.1
elfutils
openSUSE:Leap Micro 5.2
before 0.177-150300.11.3.1
0.177-150300.11.3.1
elfutils
Ubuntu:Pro:14.04:LTS
All versions, plus listed versions
0.157-1ubuntu10.158-0ubuntu30.158-0ubuntu40.158-0ubuntu50.158-0ubuntu5.10.158-0ubuntu5.20.158-0ubuntu5.30.158-0ubuntu5.3+esm1
None known
elfutils
Ubuntu:Pro:16.04:LTS
All versions, plus listed versions
0.163-4ubuntu10.163-5.10.164-10.165-30.165-3ubuntu10.165-3ubuntu1.10.165-3ubuntu1.20.165-3ubuntu1.2+esm1
None known
elfutils
Ubuntu:Pro:18.04:LTS
All versions, plus listed versions
0.170-0.10.170-0.20.170-0.30.170-0.40.170-0.4ubuntu0.10.170-0.4ubuntu0.1+esm1
None known

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2019-7148 is a medium vulnerability (CVSS 6.5) in Elfutils Project Elfutils, published January 29, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.60%, the 75th percentile. Fixed in elfutils 0.176-r0.

References

Show 40 moreShow less
This page doesn't list everything

Left out here: the rest of 2 source descriptions. The JSON record has them.

MoveEnter Open