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

NVIDIA cuobjdump ELF Section Parsing Integer Overflow Vulnerability

An integer overflow in cuobjdump's parsing of the .nv_debug_source section of a fatbin file leads to an out-of-bounds write. An attacker can provide a malicious file to trigger memory corruption and potentially achieve code execution.

Dimitrios Tatsis Follow

Originally disclosed on Cisco Talos

High 7.8 View original

An integer overflow vulnerability exists in the ELF Section Parsing functionality of NVIDIA cuobjdump 12.8.55. A specially crafted fatbin file can lead to an out-of-bounds write.

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

Likely an integer overflow when a 16-bit filename size of 0xffff is incremented by 1, wrapping to 0, which then causes a memcpy with a huge size that underflows the destination buffer.

Impact

An attacker could achieve remote code execution by providing a malicious file, though the CVSS vector indicates local access with user interaction.

What the attacker needed

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

The fix

The vendor released a patch on 2025-05-27.

How it was found

  1. Create a fatbin file containing an ELF with a crafted .nv_debug_source section.
  2. Run cuobjdump with the --dump-elf flag on the malicious file.
  3. The integer overflow causes a memcpy with a huge size, leading to a buffer underwrite.
  4. The underwrite corrupts memory before the destination buffer, allowing control of a pointer.
  5. The corrupted pointer is later used, leading to a crash or potential code execution.

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 reads CUDA binary files. A bug in how it reads a particular section of these files can cause it to write data outside the intended memory buffer. This memory corruption could let an attacker run their own code on the machine.

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.