National Institute of Standards and Technology
Package illustrating a test case

Test case 153141

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 stack. 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 stack.
Metadata
- Base program: Gimp
- Source Taint: FILE_CONTENTS
- Data Type: ARRAY
- Data Flow: BASIC
- Control Flow: MACROS

Flaws

Test Suites

Documentation

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