Every CVE Search/ Get API key

CVE-2026-40468

Heap buffer overflow in gawk

2.1 LowFix available

CVE-2026-40468 is a low vulnerability (CVSS 2.1) in Fossies Gawk, published July 13, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.20%, the 10th percentile. Fixed in gawk 5.3.0-6.el10_2.1.

Integer overflow vulnerability has been found in "builtin.c" program file of gawk. This issue may lead to memory exhaustion on the hosting operating system and could be used to overwrite gawk heap metadata and objects with attacker-controlled bytes. It affects gawk in versions 5.4.0 and below.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
Low
Availability
Low

Exploit likelihood

0.20%Unchanged since Jul 14, 2026
90%50%10%1%

What each source reports

CVE List Score used 2.1

Heap buffer overflow in gawk

Integer overflow vulnerability has been found in "builtin.c" program file of gawk. This issue may lead to memory exhaustion on the hosting operating system and could be used to overwrite gawk heap metadata and objects with attacker-controlled bytes. It affects gawk in versions 5.4.0 and below.

Record
CVE-2026-40468
CVSS 4.0
2.1 LowCVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:L
Weakness
CWE-190
Updated
2026-11-02
EUVDEUVD-2026-43493 2.1

Integer overflow vulnerability has been found in "builtin.c" program file of gawk. This issue may lead to memory exhaustion on the hosting operating system and could be used to overwrite gawk heap metadata and objects with attacker-controlled bytes. It affects gawk in versions 5.4.0 and below.

Record
EUVD-2026-43493
CVSS 4.0
2.1 LowCVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:L
Updated
2026-11-02
GitHub AdvisoriesGHSA-c5xj-c73w-hcgm 2.1

Integer overflow vulnerability has been found in "builtin.c" program file of gawk. This issue may...

Integer overflow vulnerability has been found in "builtin.c" program file of gawk. This issue may lead to memory exhaustion on the hosting operating system and could be used to overwrite gawk heap metadata and objects with attacker-controlled bytes. It affects gawk in versions 5.4.0 and below.

Record
GHSA-c5xj-c73w-hcgm
CVSS 4.0
2.1 LowCVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Weakness
CWE-190
Updated
2026-11-02
NVD 2.1

Integer overflow vulnerability has been found in "builtin.c" program file of gawk. This issue may lead to memory exhaustion on the hosting operating system and could be used to overwrite gawk heap metadata and objects with attacker-controlled bytes. It affects gawk in versions 5.4.0 and below.

Record
CVE-2026-40468
CVSS 4.0
2.1 LowCVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Weakness
CWE-190
Updated
2026-11-02
OSVBELL-CVE-2026-40468 9.1
Record
BELL-CVE-2026-40468
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Updated
2026-11-02
OSV 2.1

Heap buffer overflow in gawk

Integer overflow vulnerability has been found in "builtin.c" program file of gawk. This issue may lead to memory exhaustion on the hosting operating system and could be used to overwrite gawk heap metadata and objects with attacker-controlled bytes. It affects gawk in versions 5.4.0 and below.

Record
CVE-2026-40468
CVSS 4.0
2.1 LowCVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:L
Weakness
CWE-190
Updated
2026-11-02
Show 31 moreShow less
OSVDEBIAN-CVE-2026-40468 9.1

Integer overflow vulnerability has been found in "builtin.c" program file of gawk. This issue may lead to memory exhaustion on the hosting operating system and could be used to overwrite gawk heap metadata and objects with attacker-controlled bytes. It affects gawk in versions 5.4.0 and below.

Record
DEBIAN-CVE-2026-40468
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Updated
2026-11-02
OSVJLSEC-2026-786 2.1

Integer overflow in gawk's `builtin.c` can cause buffer overflow and denial of service

Integer overflow vulnerability has been found in "builtin.c" program file of gawk. This issue may lead to memory exhaustion on the hosting operating system and could be used to overwrite gawk heap metadata and objects with attacker-controlled bytes. It affects gawk in versions 5.4.0 and below.

Record
JLSEC-2026-786
CVSS 4.0
2.1 LowCVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Updated
2026-11-02
OSVOESA-2026-3160 9.1

gawk security update

The gawk package is the GNU implementation of awk. The awk utility interprets a special-purpose programming language that makes it possible to handle simple data-reformatting jobs with just a few lines of code.

Security Fix(es):

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.(CVE-2026-40467)

Integer overflow vulnerability has been found in "builtin.c" program file of gawk. This issue may lead to memory exhaustion on the hosting operating system and could be used to overwrite gawk heap metadata and objects with attacker-controlled bytes. It affects gawk in versions 5.4.0 and below.(CVE-2026-40468)

Integer overflow vulnerability has been found in "builtin.c" program file of gawk (do_sub() routine). This issue could be used to overwrite gawk heap metadata and objects causing the program to crash. It affects 32-bit builds of gawk in versions 5.4.0 and below.(CVE-2026-40469)

Buffer overflow vulnerability has been found in "extension/readdir.c" program file of gawk (ftype() routine). This issue could be used to crash the program and potentially to achieve code execution, although the latter has not been confirmed to be feasible. It affects gawk in versions 5.4.0 and below.(CVE-2026-40553)

Record
OESA-2026-3160
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Updated
2026-11-02
OSVOESA-2026-3161 9.1

gawk security update

The gawk package is the GNU implementation of awk. The awk utility interprets a special-purpose programming language that makes it possible to handle simple data-reformatting jobs with just a few lines of code.

Security Fix(es):

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.(CVE-2026-40467)

Integer overflow vulnerability has been found in "builtin.c" program file of gawk. This issue may lead to memory exhaustion on the hosting operating system and could be used to overwrite gawk heap metadata and objects with attacker-controlled bytes. It affects gawk in versions 5.4.0 and below.(CVE-2026-40468)

Integer overflow vulnerability has been found in "builtin.c" program file of gawk (do_sub() routine). This issue could be used to overwrite gawk heap metadata and objects causing the program to crash. It affects 32-bit builds of gawk in versions 5.4.0 and below.(CVE-2026-40469)

Buffer overflow vulnerability has been found in "extension/readdir.c" program file of gawk (ftype() routine). This issue could be used to crash the program and potentially to achieve code execution, although the latter has not been confirmed to be feasible. It affects gawk in versions 5.4.0 and below.(CVE-2026-40553)

Record
OESA-2026-3161
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Updated
2026-11-02
OSVOESA-2026-3162 9.1

gawk security update

The gawk package is the GNU implementation of awk. The awk utility interprets a special-purpose programming language that makes it possible to handle simple data-reformatting jobs with just a few lines of code.

Security Fix(es):

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.(CVE-2026-40467)

Integer overflow vulnerability has been found in "builtin.c" program file of gawk. This issue may lead to memory exhaustion on the hosting operating system and could be used to overwrite gawk heap metadata and objects with attacker-controlled bytes. It affects gawk in versions 5.4.0 and below.(CVE-2026-40468)

Buffer overflow vulnerability has been found in "extension/readdir.c" program file of gawk (ftype() routine). This issue could be used to crash the program and potentially to achieve code execution, although the latter has not been confirmed to be feasible. It affects gawk in versions 5.4.0 and below.(CVE-2026-40553)

Record
OESA-2026-3162
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Updated
2026-11-02
OSVOESA-2026-3163 9.1

gawk security update

The gawk package is the GNU implementation of awk. The awk utility interprets a special-purpose programming language that makes it possible to handle simple data-reformatting jobs with just a few lines of code.

Security Fix(es):

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.(CVE-2026-40467)

Integer overflow vulnerability has been found in "builtin.c" program file of gawk. This issue may lead to memory exhaustion on the hosting operating system and could be used to overwrite gawk heap metadata and objects with attacker-controlled bytes. It affects gawk in versions 5.4.0 and below.(CVE-2026-40468)

Buffer overflow vulnerability has been found in "extension/readdir.c" program file of gawk (ftype() routine). This issue could be used to crash the program and potentially to achieve code execution, although the latter has not been confirmed to be feasible. It affects gawk in versions 5.4.0 and below.(CVE-2026-40553)

Record
OESA-2026-3163
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Updated
2026-11-02
OSVOESA-2026-3164 9.1

gawk security update

The gawk package is the GNU implementation of awk. The awk utility interprets a special-purpose programming language that makes it possible to handle simple data-reformatting jobs with just a few lines of code.

Security Fix(es):

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.(CVE-2026-40467)

Integer overflow vulnerability has been found in "builtin.c" program file of gawk. This issue may lead to memory exhaustion on the hosting operating system and could be used to overwrite gawk heap metadata and objects with attacker-controlled bytes. It affects gawk in versions 5.4.0 and below.(CVE-2026-40468)

Integer overflow vulnerability has been found in "builtin.c" program file of gawk (do_sub() routine). This issue could be used to overwrite gawk heap metadata and objects causing the program to crash. It affects 32-bit builds of gawk in versions 5.4.0 and below.(CVE-2026-40469)

Buffer overflow vulnerability has been found in "extension/readdir.c" program file of gawk (ftype() routine). This issue could be used to crash the program and potentially to achieve code execution, although the latter has not been confirmed to be feasible. It affects gawk in versions 5.4.0 and below.(CVE-2026-40553)

Record
OESA-2026-3164
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Updated
2026-11-02
OSVRHSA-2026:40041 6.2

Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update

Record
RHSA-2026:40041
CVSS 3.1
6.2 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRHSA-2026:49661 6.2

Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update

Record
RHSA-2026:49661
CVSS 3.1
6.2 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRHSA-2026:73429 6.2

Red Hat Security Advisory: gawk security update

Record
RHSA-2026:73429
CVSS 3.1
6.2 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRHSA-2026:73511 4.4

Red Hat Security Advisory: gawk security update

Record
RHSA-2026:73511
CVSS 3.1
4.4 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
Updated
2026-11-02
OSVRHSA-2026:73512 6.2

Red Hat Security Advisory: gawk security update

Record
RHSA-2026:73512
CVSS 3.1
6.2 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRLSA-2026:73429 6.2

Moderate: gawk security update

The gawk packages contain the GNU version of awk, a text processing utility. Awk interprets a special-purpose programming language to do quick and easy text pattern matching and reformatting jobs.

Security Fix(es):

  • gawk: gawk: Memory corruption via integer overflow (CVE-2026-40468)

  • gawk: Gawk: Buffer overflow in ftype() routine may lead to code execution or denial of service (CVE-2026-40553)

  • gawk: gawk: Denial of Service due to Use After Free vulnerability in io.c (CVE-2026-40467)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
RLSA-2026:73429
CVSS 3.1
6.2 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRLSA-2026:73511 4.4

Moderate: gawk security update

The gawk packages contain the GNU version of awk, a text processing utility. Awk interprets a special-purpose programming language to do quick and easy text pattern matching and reformatting jobs.

Security Fix(es):

  • gawk: gawk: Memory corruption via integer overflow (CVE-2026-40468)

  • gawk: gawk: Denial of Service due to Use After Free vulnerability in io.c (CVE-2026-40467)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
RLSA-2026:73511
CVSS 3.1
4.4 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
Updated
2026-11-02
OSVRLSA-2026:73512 6.2

Moderate: gawk security update

The gawk packages contain the GNU version of awk, a text processing utility. Awk interprets a special-purpose programming language to do quick and easy text pattern matching and reformatting jobs.

Security Fix(es):

  • gawk: gawk: Memory corruption via integer overflow (CVE-2026-40468)

  • gawk: Gawk: Buffer overflow in ftype() routine may lead to code execution or denial of service (CVE-2026-40553)

  • gawk: gawk: Denial of Service due to Use After Free vulnerability in io.c (CVE-2026-40467)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
RLSA-2026:73512
CVSS 3.1
6.2 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2026-40468 2.1

Integer overflow vulnerability has been found in "builtin.c" program file of gawk. This issue may lead to memory exhaustion on the hosting operating system and could be used to overwrite gawk heap metadata and objects with attacker-controlled bytes. It affects gawk in versions 5.4.0 and below.

Record
UBUNTU-CVE-2026-40468
CVSS 4.0
2.1 LowCVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:L
CVSS 3.1
9.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Updated
2026-11-02
OSVALSA-2026:73429 No score

Moderate: gawk security update

The gawk packages contain the GNU version of awk, a text processing utility. Awk interprets a special-purpose programming language to do quick and easy text pattern matching and reformatting jobs.

Security Fix(es):

  • gawk: gawk: Memory corruption via integer overflow (CVE-2026-40468)
  • gawk: Gawk: Buffer overflow in ftype() routine may lead to code execution or denial of service (CVE-2026-40553)
  • gawk: gawk: Denial of Service due to Use After Free vulnerability in io.c (CVE-2026-40467)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
ALSA-2026:73429
Updated
2026-11-02
OSVALSA-2026:73511 No score

Moderate: gawk security update

The gawk packages contain the GNU version of awk, a text processing utility. Awk interprets a special-purpose programming language to do quick and easy text pattern matching and reformatting jobs.

Security Fix(es):

  • gawk: gawk: Memory corruption via integer overflow (CVE-2026-40468)
  • gawk: gawk: Denial of Service due to Use After Free vulnerability in io.c (CVE-2026-40467)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
ALSA-2026:73511
Updated
2026-11-02
OSVALSA-2026:73512 No score

Moderate: gawk security update

The gawk packages contain the GNU version of awk, a text processing utility. Awk interprets a special-purpose programming language to do quick and easy text pattern matching and reformatting jobs.

Security Fix(es):

  • gawk: gawk: Memory corruption via integer overflow (CVE-2026-40468)
  • gawk: Gawk: Buffer overflow in ftype() routine may lead to code execution or denial of service (CVE-2026-40553)
  • gawk: gawk: Denial of Service due to Use After Free vulnerability in io.c (CVE-2026-40467)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
ALSA-2026:73512
Updated
2026-11-02
OSVAZL-92289 No score

CVE-2026-40468 affecting package gawk for versions less than 5.2.2-2

Integer overflow vulnerability has been found in "builtin.c" program file of gawk. This issue may lead to memory exhaustion on the hosting operating system and could be used to overwrite gawk heap metadata and objects with attacker-controlled bytes. It affects gawk in versions 5.4.0 and below.

Record
AZL-92289
Updated
2026-11-02
OSVCLSA-2026-1784131550 No score

gawk: Fix of CVE-2026-40468

  • CVE-2026-40468: builtin.c (do_sub): make sofar be size_t to avoid an integer overflow that could corrupt the heap during sub/gsub/gensub on very large buffers.
Record
CLSA-2026-1784131550
Updated
2026-11-02
OSVCLSA-2026-1784623908 No score

gawk: Fix of CVE-2026-40468

  • CVE-2026-40467: fix use-after-free in do_getline_redir() in io.c (redir_exp dereferenced after being freed)
  • CVE-2026-40553: fix stack buffer overflow in ftype() in the readdir extension (unbounded path concatenation before stat())
  • CVE-2026-40469: fix integer overflow in do_sub() in builtin.c (64-bit overflow check on the result-buffer size prevents heap corruption in sub/gsub/gensub replacement expansion on 32-bit builds)
Record
CLSA-2026-1784623908
Updated
2026-11-02
OSVCLSA-2026-1784802906 No score

gawk: Fix of CVE-2026-40468

  • CVE-2026-40468: fix integer overflows in do_sub() in builtin.c and parse_escape() in node.c (sofar widened to size_t, escape accumulator widened to int64_t to avoid overflow on 32-bit builds)
Record
CLSA-2026-1784802906
Updated
2026-11-02
OSVMGASA-2026-0427 No score

Updated gawk packages fix security vulnerabilities

Use after free in gawk. (CVE-2026-40467) Heap buffer overflow in gawk. (CVE-2026-40468) Heap buffer overflow in gawk. (CVE-2026-40469) Stack-based buffer overflow in gawk. (CVE-2026-40553)

Record
MGASA-2026-0427
Updated
2026-11-02
OSVopenSUSE-SU-2026:21393-1 No score

Security update for gawk

This update for gawk fixes the following issues:

  • CVE-2026-40467: use-after-free vulnerability within the do_getline_redir() routine could lead to a program crash (bsc#1271351).
  • CVE-2026-40468: use-after-free vulnerability in gawk's "io.c" file could permit heap metadata manipulation and host memory exhaustion (bsc#1271352).
  • CVE-2026-40553: buffer overflow in the ftype() routine of the readdir extension could trigger a program crash (bsc#1271354).
Record
openSUSE-SU-2026:21393-1
Updated
2026-11-02
OSVSUSE-SU-2026:22767-1 No score

Security update for gawk

This update for gawk fixes the following issues:

  • CVE-2026-40467: use-after-free vulnerability within the do_getline_redir() routine could lead to a program crash (bsc#1271351).
  • CVE-2026-40468: use-after-free vulnerability in gawk's "io.c" file could permit heap metadata manipulation and host memory exhaustion (bsc#1271352).
  • CVE-2026-40553: buffer overflow in the ftype() routine of the readdir extension could trigger a program crash (bsc#1271354).
Record
SUSE-SU-2026:22767-1
Updated
2026-11-02
OSVSUSE-SU-2026:22831-1 No score

Security update for gawk

This update for gawk fixes the following issues:

  • CVE-2026-40467: use-after-free vulnerability within the do_getline_redir() routine could lead to a program crash (bsc#1271351).
  • CVE-2026-40468: use-after-free vulnerability in gawk's "io.c" file could permit heap metadata manipulation and host memory exhaustion (bsc#1271352).
  • CVE-2026-40553: buffer overflow in the ftype() routine of the readdir extension could trigger a program crash (bsc#1271354).
Record
SUSE-SU-2026:22831-1
Updated
2026-11-02
OSVSUSE-SU-2026:23042-1 No score

Security update for gawk

This update for gawk fixes the following issues

  • CVE-2026-40467: use-after-free in the io.c program file via the do_getline_redir() routine (bsc#1271351).
  • CVE-2026-40468: integer overflow in the builtin.c program file (bsc#1271352).
  • CVE-2026-40553: buffer overflow in the extension/readdir.c program file via the ftype() routine (bsc#1271354).
Record
SUSE-SU-2026:23042-1
Updated
2026-11-02
OSVSUSE-SU-2026:3211-1 No score

Security update for gawk

This update for gawk fixes the following issue:

  • CVE-2026-40468: integer overflow in the builtin.c program file (bsc#1271352).
Record
SUSE-SU-2026:3211-1
Updated
2026-11-02
OSVSUSE-SU-2026:3455-1 No score

Security update for gawk

This update for gawk fixes the following issues:

  • CVE-2026-40467: use-after-free in the io.c program file via the do_getline_redir() routine (bsc#1271351).
  • CVE-2026-40468: integer overflow in the builtin.c program file (bsc#1271352).
  • CVE-2026-40553: buffer overflow in the extension/readdir.c program file via the ftype() routine (bsc#1271354).
Record
SUSE-SU-2026:3455-1
Updated
2026-11-02
OSVUSN-8588-1 No score

gawk vulnerabilities

It was discovered that Gawk incorrectly handled memory when processing input using the getline redirection. An attacker could possibly use this issue to cause a denial of service. (CVE-2026-40467)

It was discovered that Gawk incorrectly handled certain integer calculations when allocating memory. An attacker could possibly use this issue to cause a denial of service or overwrite heap memory with attacker-controlled data. (CVE-2026-40468)

It was discovered that Gawk incorrectly handled certain integer calculations when performing substitutions. An attacker could possibly use this issue to cause a denial of service. (CVE-2026-40469)

It was discovered that Gawk incorrectly handled memory when reading directory entries. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. This issue only affected Ubuntu 26.04 LTS. (CVE-2026-40553)

Record
USN-8588-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
gawk
AlmaLinux:10
before 5.3.0-6.el10_2.1
5.3.0-6.el10_2.1
gawk-all-langpacks
AlmaLinux:10
before 5.3.0-6.el10_2.1
5.3.0-6.el10_2.1
gawk
AlmaLinux:8
before 4.2.1-5.el8_10
4.2.1-5.el8_10
gawk
AlmaLinux:9
before 5.1.0-6.el9_8.1
5.1.0-6.el9_8.1
gawk-all-langpacks
AlmaLinux:9
before 5.1.0-6.el9_8.1
5.1.0-6.el9_8.1
gawk
Azure Linux:3
before 5.2.2-2
5.2.2-2
gawk
Alpaquita:23
5.1.1-r1 up to 5.1.1-r2
5.1.1-r2
gawk
Alpaquita:25
5.3.2-r1 up to 5.3.2-r3
5.3.2-r3
gawk
Alpaquita:stream
5.1.1-r1 up to 5.3.2-r3
5.3.2-r3
gawk
BellSoft Hardened Containers:23
5.1.1-r1 up to 5.1.1-r2
5.1.1-r2
Show 63 moreShow less
Affected packages
PackageAffectedFixed
gawk
BellSoft Hardened Containers:25
5.3.2-r1 up to 5.3.2-r3
5.3.2-r3
gawk
BellSoft Hardened Containers:stream
5.1.1-r1 up to 5.3.2-r3
5.3.2-r3
gawk
TuxCare:CentOS:7
before 4.0.2-4.el7_3.1.tuxcare.els2
4.0.2-4.el7_3.1.tuxcare.els2
gawk
TuxCare:AlmaLinux:9.6
before 5.1.0-6.el9_6.tuxcare.els2
5.1.0-6.el9_6.tuxcare.els2
gawk-all-langpacks
TuxCare:AlmaLinux:9.6
before 5.1.0-6.el9_6.tuxcare.els2
5.1.0-6.el9_6.tuxcare.els2
gawk-devel
TuxCare:AlmaLinux:9.6
before 5.1.0-6.el9_6.tuxcare.els2
5.1.0-6.el9_6.tuxcare.els2
gawk-doc
TuxCare:AlmaLinux:9.6
before 5.1.0-6.el9_6.tuxcare.els2
5.1.0-6.el9_6.tuxcare.els2
gawk
TuxCare:AlmaLinux:9.2
before 5.1.0-6.el9_2.tuxcare.els3
5.1.0-6.el9_2.tuxcare.els3
gawk-all-langpacks
TuxCare:AlmaLinux:9.2
before 5.1.0-6.el9_2.tuxcare.els3
5.1.0-6.el9_2.tuxcare.els3
gawk-devel
TuxCare:AlmaLinux:9.2
before 5.1.0-6.el9_2.tuxcare.els3
5.1.0-6.el9_2.tuxcare.els3
gawk-doc
TuxCare:AlmaLinux:9.2
before 5.1.0-6.el9_2.tuxcare.els3
5.1.0-6.el9_2.tuxcare.els3
gawk
Debian:12
All versions, plus listed versions
1:5.2.1-21:5.3.2-1
None known
gawk
Debian:13
All versions, plus listed versions
1:5.2.1-21:5.3.2-1
None known
gawk
Debian:14
All versions, plus listed versions
1:5.2.1-21:5.3.2-1
None known
gawk_jll
Julia
before 5.4.1+0
5.4.1+0
gawk
Mageia:10
before 5.3.2-2.1.mga10
5.3.2-2.1.mga10
gawk
Mageia:9
before 5.2.2-1.1.mga9
5.2.2-1.1.mga9
gawk
openEuler:24.03-LTS-SP3
before 5.2.2-3.oe2403sp3
5.2.2-3.oe2403sp3
gawk
openEuler:24.03-LTS-SP4
before 5.2.2-3.oe2403sp4
5.2.2-3.oe2403sp4
gawk
openEuler:20.03-LTS-SP4
before 5.0.1-6.oe2003sp4
5.0.1-6.oe2003sp4
gawk
openEuler:22.03-LTS-SP4
before 5.1.1-6.oe2203sp4
5.1.1-6.oe2203sp4
gawk
openEuler:24.03-LTS-SP1
before 5.2.2-3.oe2403sp1
5.2.2-3.oe2403sp1
gawk
Red Hat:hummingbird:1
before 0:5.4.0-3.1.hum1
0:5.4.0-3.1.hum1
gawk-all-langpacks
Red Hat:hummingbird:1
before 0:5.4.0-3.1.hum1
0:5.4.0-3.1.hum1
gawk-devel
Red Hat:hummingbird:1
before 0:5.4.0-3.1.hum1
0:5.4.0-3.1.hum1
gawk-doc
Red Hat:hummingbird:1
before 0:5.4.0-3.1.hum1
0:5.4.0-3.1.hum1
gawk
Red Hat:hummingbird:1
before 0:5.4.1-1.hum1
0:5.4.1-1.hum1
gawk-all-langpacks
Red Hat:hummingbird:1
before 0:5.4.1-1.hum1
0:5.4.1-1.hum1
gawk-devel
Red Hat:hummingbird:1
before 0:5.4.1-1.hum1
0:5.4.1-1.hum1
gawk-doc
Red Hat:hummingbird:1
before 0:5.4.1-1.hum1
0:5.4.1-1.hum1
gawk-all-langpacks
Red Hat:enterprise_linux:10.2
before 0:5.3.0-6.el10_2.1
0:5.3.0-6.el10_2.1
gawk-debuginfo
Red Hat:enterprise_linux:10.2
before 0:5.3.0-6.el10_2.1
0:5.3.0-6.el10_2.1
gawk-debugsource
Red Hat:enterprise_linux:10.2
before 0:5.3.0-6.el10_2.1
0:5.3.0-6.el10_2.1
gawk
Red Hat:enterprise_linux:10.2
before 0:5.3.0-6.el10_2.1
0:5.3.0-6.el10_2.1
gawk
Red Hat:enterprise_linux:8::baseos
before 0:4.2.1-5.el8_10
0:4.2.1-5.el8_10
gawk-debuginfo
Red Hat:enterprise_linux:8::baseos
before 0:4.2.1-5.el8_10
0:4.2.1-5.el8_10
gawk-debugsource
Red Hat:enterprise_linux:8::baseos
before 0:4.2.1-5.el8_10
0:4.2.1-5.el8_10
gawk-all-langpacks
Red Hat:enterprise_linux:9::appstream
before 0:5.1.0-6.el9_8.1
0:5.1.0-6.el9_8.1
gawk-debuginfo
Red Hat:enterprise_linux:9::appstream
before 0:5.1.0-6.el9_8.1
0:5.1.0-6.el9_8.1
gawk-debugsource
Red Hat:enterprise_linux:9::appstream
before 0:5.1.0-6.el9_8.1
0:5.1.0-6.el9_8.1
gawk
Red Hat:enterprise_linux:9::baseos
before 0:5.1.0-6.el9_8.1
0:5.1.0-6.el9_8.1
gawk-debuginfo
Red Hat:enterprise_linux:9::baseos
before 0:5.1.0-6.el9_8.1
0:5.1.0-6.el9_8.1
gawk-debugsource
Red Hat:enterprise_linux:9::baseos
before 0:5.1.0-6.el9_8.1
0:5.1.0-6.el9_8.1
gawk
Rocky Linux:10
before 0:5.3.0-6.el10_2.1
0:5.3.0-6.el10_2.1
gawk
Rocky Linux:8
before 0:4.2.1-5.el8_10
0:4.2.1-5.el8_10
gawk
Rocky Linux:9
before 0:5.1.0-6.el9_8.1
0:5.1.0-6.el9_8.1
gawk
SUSE:Linux Micro 6.2
before 5.3.2-160000.3.1
5.3.2-160000.3.1
gawk
SUSE:Linux Enterprise Server 16.0
before 5.3.2-160000.3.1
5.3.2-160000.3.1
gawk
SUSE:Linux Enterprise Server for SAP applications 16.0
before 5.3.2-160000.3.1
5.3.2-160000.3.1
gawk
SUSE:Linux Micro 6.0
before 5.3.0-2.1
5.3.0-2.1
gawk
SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5
before 4.1.0-5.6.1
4.1.0-5.6.1
gawk
SUSE:Linux Enterprise Micro 5.3
before 4.2.1-150000.3.6.1
4.2.1-150000.3.6.1
gawk
SUSE:Linux Enterprise Micro 5.4
before 4.2.1-150000.3.6.1
4.2.1-150000.3.6.1
gawk
SUSE:Linux Enterprise Micro 5.5
before 4.2.1-150000.3.6.1
4.2.1-150000.3.6.1
gawk
SUSE:Linux Enterprise Module for Basesystem 15 SP7
before 4.2.1-150000.3.6.1
4.2.1-150000.3.6.1
gawk
Ubuntu:Pro:14.04:LTS
before 1:4.0.1+dfsg-2.1ubuntu2+esm2, plus listed versions
1:4.0.1+dfsg-2.1ubuntu21:4.0.1+dfsg-2.1ubuntu2+esm1
1:4.0.1+dfsg-2.1ubuntu2+esm2
gawk
Ubuntu:Pro:16.04:LTS
before 1:4.1.3+dfsg-0.1ubuntu0.1~esm2, plus listed versions
1:4.1.1+dfsg-11:4.1.3+dfsg-0.11:4.1.3+dfsg-0.1ubuntu0.1~esm1
1:4.1.3+dfsg-0.1ubuntu0.1~esm2
gawk
Ubuntu:Pro:18.04:LTS
before 1:4.1.4+dfsg-1ubuntu0.1~esm2, plus listed versions
1:4.1.4+dfsg-11:4.1.4+dfsg-1build11:4.1.4+dfsg-1ubuntu0.1~esm1
1:4.1.4+dfsg-1ubuntu0.1~esm2
gawk
Ubuntu:Pro:20.04:LTS
before 1:5.0.1+dfsg-1ubuntu0.1+esm1, plus listed versions
1:4.2.1+dfsg-1.1build11:5.0.1+dfsg-11:5.0.1+dfsg-1ubuntu0.1
1:5.0.1+dfsg-1ubuntu0.1+esm1
gawk
Ubuntu:22.04:LTS
before 1:5.1.0-1ubuntu0.2, plus listed versions
1:5.1.0-1build11:5.1.0-1build21:5.1.0-1build31:5.1.0-1ubuntu0.1
1:5.1.0-1ubuntu0.2
gawk
Ubuntu:24.04:LTS
before 1:5.2.1-2ubuntu0.1, plus listed versions
1:5.2.1-21:5.2.1-2build21:5.2.1-2build3
1:5.2.1-2ubuntu0.1
gawk
Ubuntu:26.04:LTS
before 1:5.3.2-1ubuntu1.1, plus listed versions
1:5.3.2-1build11:5.3.2-1ubuntu1
1:5.3.2-1ubuntu1.1
gawk
openSUSE:Leap 16.0
before 5.3.2-160000.3.1
5.3.2-160000.3.1

History

History
WhenChangedSources
2026-11-02createdCVE List, EUVD, GitHub Advisories, NVD, OSV

References

Show 67 moreShow less
MoveEnter Open