Use After Free vulnerability has been found in io.c program file of gawk (do_getline_redir() routine). This issue may lead to a crash. It affects gawk in versions 5.4.0 and below.
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Gawk | Fossies | * | 5.4.0 (including) |
| Gawk | Ubuntu | devel | * |
| Gawk | Ubuntu | esm-infra-legacy/trusty | * |
| Gawk | Ubuntu | esm-infra-legacy/xenial | * |
| Gawk | Ubuntu | esm-infra/bionic | * |
| Gawk | Ubuntu | esm-infra/focal | * |
| Gawk | Ubuntu | jammy | * |
| Gawk | Ubuntu | noble | * |
| Gawk | Ubuntu | resolute | * |