National Institute of Standards and Technology
Package illustrating a test case

Test case 153678

Description

This test case implements an unchecked read from a buffer. The buffer is declared as a fixed size member of a struct that is allocated on the heap. Untrusted input is not properly sanitized or restricted before being used to determine the number of characters to read from the buffer. This allows input greater than 63 characters in length to over read the buffer, printing the contents of the memory located after the buffer on the heap.
Metadata
- Base program: Gimp
- Source Taint: FILE_CONTENTS
- Data Type: SIMPLE
- Data Flow: ADDRESS_AS_VARIABLE
- Control Flow: SET_JUMP_LONG_JUMP

Flaws

Test Suites

Documentation

Have any comments on this test case? Please, send us an email.