Intel

AIKIDO-2025-10330

goblin is vulnerable to Integer Overflow

Integer Overflow Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published May 29, 2025

66

Medium Risk

This Affects:

Rustgoblin
0.8.2 - 0.9.3
Fixed in 0.10.0
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to an integer overflow in the pe.tls.tlsdata.parse_with_opts function due to insufficient bounds checking when parsing Thread Local Storage data. An attacker can exploit this by providing a maliciously crafted PE file with either an excessively large offset or by triggering an integer overflow in the calculation of the Relative Virtual Address, bypassing the offset size checks. It could lead to out-of-bounds memory access, potentially causing a denial-of-service or information disclosure if the application processes unintended memory regions.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

goblin is vulnerable to Integer Overflow in versions 0.8.2 - 0.9.3.

How to fix this

Upgrade the goblin library to the patch version.