Skip to content
Memory corruption Advisory Advanced CVE-2025-23339

NVIDIA cuobjdump DWARF debug abbreviations parsing arbitrary code execution vulnerability

A stack-based buffer overflow in NVIDIA cuobjdump's parsing of DWARF debug abbreviations allows an attacker to overwrite the return address and execute arbitrary code by supplying a crafted fatbin file. The vulnerability is triggered when cuobjdump processes the .debug_abbrev section with the --dump-elf flag.

Dimitrios Tatsis Follow

Originally disclosed on Cisco Talos

High 7.8 View original

An arbitrary code execution vulnerability exists in the DWARF parsing functionality of NVIDIA cuobjdump 12.8.55. A specially crafted fatbin file can lead to a arbitrary code execution.

Dimitrios Tatsis, on Cisco Talos

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

The loop parsing DWARF abbreviation attributes lacks a bounds check on the number of iterations, allowing writes beyond the allocated stack buffer.

Impact

An attacker could achieve arbitrary code execution with the privileges of the user running cuobjdump, as demonstrated by full control of the return address in the crash.

What the attacker needed

Victim opens a malicious fatbin file; cuobjdump run with --dump-elf flag

The fix

The vulnerability was fixed in a vendor patch release on 2025-09-23.

How it was found

  1. Create a malicious fatbin file with a crafted .debug_abbrev section containing many LEB128-encoded attribute entries.
  2. Run cuobjdump with the --dump-elf flag on the malicious file.
  3. The parser decodes each LEB128 value and writes it to a stack buffer without limit.
  4. After enough iterations, the return address is overwritten with attacker-controlled data.
  5. When the function returns, execution jumps to the attacker-supplied address.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

cuobjdump is a tool that inspects compiled CUDA files. When it reads debugging information, it fails to check how many entries it writes into a fixed-size memory area on the stack. An attacker can craft a file that makes the tool write past that area, overwriting the return address and potentially running their own code.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More by Dimitrios Tatsis

View all

21 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.