CVE-2026-40468
Heap buffer overflow in gawk
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
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 Low
CVSS: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 Low
CVSS: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 Low
CVSS: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 Critical
CVSS: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 Low
CVSS: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 Critical
CVSS: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 Critical
CVSS: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 Low
CVSS: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 Critical
CVSS: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 Low
CVSS: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 Critical
CVSS: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 Critical
CVSS: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 Critical
CVSS: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 Critical
CVSS: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 Critical
CVSS: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 Critical
CVSS: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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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 Low
CVSS: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 Critical
CVSS: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.cprogram file via thedo_getline_redir()routine (bsc#1271351). - CVE-2026-40468: integer overflow in the
builtin.cprogram file (bsc#1271352). - CVE-2026-40553: buffer overflow in the
extension/readdir.cprogram file via theftype()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.cprogram 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.cprogram file via thedo_getline_redir()routine (bsc#1271351). - CVE-2026-40468: integer overflow in the
builtin.cprogram file (bsc#1271352). - CVE-2026-40553: buffer overflow in the
extension/readdir.cprogram file via theftype()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
| Package | Affected | Fixed |
|---|---|---|
gawkAlmaLinux:10 |
before 5.3.0-6.el10_2.1 | 5.3.0-6.el10_2.1 |
gawk-all-langpacksAlmaLinux:10 |
before 5.3.0-6.el10_2.1 | 5.3.0-6.el10_2.1 |
gawkAlmaLinux:8 |
before 4.2.1-5.el8_10 | 4.2.1-5.el8_10 |
gawkAlmaLinux:9 |
before 5.1.0-6.el9_8.1 | 5.1.0-6.el9_8.1 |
gawk-all-langpacksAlmaLinux:9 |
before 5.1.0-6.el9_8.1 | 5.1.0-6.el9_8.1 |
gawkAzure Linux:3 |
before 5.2.2-2 | 5.2.2-2 |
gawkAlpaquita:23 |
5.1.1-r1 up to 5.1.1-r2 | 5.1.1-r2 |
gawkAlpaquita:25 |
5.3.2-r1 up to 5.3.2-r3 | 5.3.2-r3 |
gawkAlpaquita:stream |
5.1.1-r1 up to 5.3.2-r3 | 5.3.2-r3 |
gawkBellSoft Hardened Containers:23 |
5.1.1-r1 up to 5.1.1-r2 | 5.1.1-r2 |
Show 63 moreShow less
| Package | Affected | Fixed |
|---|---|---|
gawkBellSoft Hardened Containers:25 |
5.3.2-r1 up to 5.3.2-r3 | 5.3.2-r3 |
gawkBellSoft Hardened Containers:stream |
5.1.1-r1 up to 5.3.2-r3 | 5.3.2-r3 |
gawkTuxCare:CentOS:7 |
before 4.0.2-4.el7_3.1.tuxcare.els2 | 4.0.2-4.el7_3.1.tuxcare.els2 |
gawkTuxCare:AlmaLinux:9.6 |
before 5.1.0-6.el9_6.tuxcare.els2 | 5.1.0-6.el9_6.tuxcare.els2 |
gawk-all-langpacksTuxCare:AlmaLinux:9.6 |
before 5.1.0-6.el9_6.tuxcare.els2 | 5.1.0-6.el9_6.tuxcare.els2 |
gawk-develTuxCare:AlmaLinux:9.6 |
before 5.1.0-6.el9_6.tuxcare.els2 | 5.1.0-6.el9_6.tuxcare.els2 |
gawk-docTuxCare:AlmaLinux:9.6 |
before 5.1.0-6.el9_6.tuxcare.els2 | 5.1.0-6.el9_6.tuxcare.els2 |
gawkTuxCare:AlmaLinux:9.2 |
before 5.1.0-6.el9_2.tuxcare.els3 | 5.1.0-6.el9_2.tuxcare.els3 |
gawk-all-langpacksTuxCare:AlmaLinux:9.2 |
before 5.1.0-6.el9_2.tuxcare.els3 | 5.1.0-6.el9_2.tuxcare.els3 |
gawk-develTuxCare:AlmaLinux:9.2 |
before 5.1.0-6.el9_2.tuxcare.els3 | 5.1.0-6.el9_2.tuxcare.els3 |
gawk-docTuxCare:AlmaLinux:9.2 |
before 5.1.0-6.el9_2.tuxcare.els3 | 5.1.0-6.el9_2.tuxcare.els3 |
gawkDebian:12 |
All versions, plus listed versions 1:5.2.1-21:5.3.2-1 |
None known |
gawkDebian:13 |
All versions, plus listed versions 1:5.2.1-21:5.3.2-1 |
None known |
gawkDebian:14 |
All versions, plus listed versions 1:5.2.1-21:5.3.2-1 |
None known |
gawk_jllJulia |
before 5.4.1+0 | 5.4.1+0 |
gawkMageia:10 |
before 5.3.2-2.1.mga10 | 5.3.2-2.1.mga10 |
gawkMageia:9 |
before 5.2.2-1.1.mga9 | 5.2.2-1.1.mga9 |
gawkopenEuler:24.03-LTS-SP3 |
before 5.2.2-3.oe2403sp3 | 5.2.2-3.oe2403sp3 |
gawkopenEuler:24.03-LTS-SP4 |
before 5.2.2-3.oe2403sp4 | 5.2.2-3.oe2403sp4 |
gawkopenEuler:20.03-LTS-SP4 |
before 5.0.1-6.oe2003sp4 | 5.0.1-6.oe2003sp4 |
gawkopenEuler:22.03-LTS-SP4 |
before 5.1.1-6.oe2203sp4 | 5.1.1-6.oe2203sp4 |
gawkopenEuler:24.03-LTS-SP1 |
before 5.2.2-3.oe2403sp1 | 5.2.2-3.oe2403sp1 |
gawkRed Hat:hummingbird:1 |
before 0:5.4.0-3.1.hum1 | 0:5.4.0-3.1.hum1 |
gawk-all-langpacksRed Hat:hummingbird:1 |
before 0:5.4.0-3.1.hum1 | 0:5.4.0-3.1.hum1 |
gawk-develRed Hat:hummingbird:1 |
before 0:5.4.0-3.1.hum1 | 0:5.4.0-3.1.hum1 |
gawk-docRed Hat:hummingbird:1 |
before 0:5.4.0-3.1.hum1 | 0:5.4.0-3.1.hum1 |
gawkRed Hat:hummingbird:1 |
before 0:5.4.1-1.hum1 | 0:5.4.1-1.hum1 |
gawk-all-langpacksRed Hat:hummingbird:1 |
before 0:5.4.1-1.hum1 | 0:5.4.1-1.hum1 |
gawk-develRed Hat:hummingbird:1 |
before 0:5.4.1-1.hum1 | 0:5.4.1-1.hum1 |
gawk-docRed Hat:hummingbird:1 |
before 0:5.4.1-1.hum1 | 0:5.4.1-1.hum1 |
gawk-all-langpacksRed Hat:enterprise_linux:10.2 |
before 0:5.3.0-6.el10_2.1 | 0:5.3.0-6.el10_2.1 |
gawk-debuginfoRed Hat:enterprise_linux:10.2 |
before 0:5.3.0-6.el10_2.1 | 0:5.3.0-6.el10_2.1 |
gawk-debugsourceRed Hat:enterprise_linux:10.2 |
before 0:5.3.0-6.el10_2.1 | 0:5.3.0-6.el10_2.1 |
gawkRed Hat:enterprise_linux:10.2 |
before 0:5.3.0-6.el10_2.1 | 0:5.3.0-6.el10_2.1 |
gawkRed Hat:enterprise_linux:8::baseos |
before 0:4.2.1-5.el8_10 | 0:4.2.1-5.el8_10 |
gawk-debuginfoRed Hat:enterprise_linux:8::baseos |
before 0:4.2.1-5.el8_10 | 0:4.2.1-5.el8_10 |
gawk-debugsourceRed Hat:enterprise_linux:8::baseos |
before 0:4.2.1-5.el8_10 | 0:4.2.1-5.el8_10 |
gawk-all-langpacksRed Hat:enterprise_linux:9::appstream |
before 0:5.1.0-6.el9_8.1 | 0:5.1.0-6.el9_8.1 |
gawk-debuginfoRed Hat:enterprise_linux:9::appstream |
before 0:5.1.0-6.el9_8.1 | 0:5.1.0-6.el9_8.1 |
gawk-debugsourceRed Hat:enterprise_linux:9::appstream |
before 0:5.1.0-6.el9_8.1 | 0:5.1.0-6.el9_8.1 |
gawkRed Hat:enterprise_linux:9::baseos |
before 0:5.1.0-6.el9_8.1 | 0:5.1.0-6.el9_8.1 |
gawk-debuginfoRed Hat:enterprise_linux:9::baseos |
before 0:5.1.0-6.el9_8.1 | 0:5.1.0-6.el9_8.1 |
gawk-debugsourceRed Hat:enterprise_linux:9::baseos |
before 0:5.1.0-6.el9_8.1 | 0:5.1.0-6.el9_8.1 |
gawkRocky Linux:10 |
before 0:5.3.0-6.el10_2.1 | 0:5.3.0-6.el10_2.1 |
gawkRocky Linux:8 |
before 0:4.2.1-5.el8_10 | 0:4.2.1-5.el8_10 |
gawkRocky Linux:9 |
before 0:5.1.0-6.el9_8.1 | 0:5.1.0-6.el9_8.1 |
gawkSUSE:Linux Micro 6.2 |
before 5.3.2-160000.3.1 | 5.3.2-160000.3.1 |
gawkSUSE:Linux Enterprise Server 16.0 |
before 5.3.2-160000.3.1 | 5.3.2-160000.3.1 |
gawkSUSE:Linux Enterprise Server for SAP applications 16.0 |
before 5.3.2-160000.3.1 | 5.3.2-160000.3.1 |
gawkSUSE:Linux Micro 6.0 |
before 5.3.0-2.1 | 5.3.0-2.1 |
gawkSUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 |
before 4.1.0-5.6.1 | 4.1.0-5.6.1 |
gawkSUSE:Linux Enterprise Micro 5.3 |
before 4.2.1-150000.3.6.1 | 4.2.1-150000.3.6.1 |
gawkSUSE:Linux Enterprise Micro 5.4 |
before 4.2.1-150000.3.6.1 | 4.2.1-150000.3.6.1 |
gawkSUSE:Linux Enterprise Micro 5.5 |
before 4.2.1-150000.3.6.1 | 4.2.1-150000.3.6.1 |
gawkSUSE:Linux Enterprise Module for Basesystem 15 SP7 |
before 4.2.1-150000.3.6.1 | 4.2.1-150000.3.6.1 |
gawkUbuntu: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 |
gawkUbuntu: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 |
gawkUbuntu: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 |
gawkUbuntu: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 |
gawkUbuntu: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 |
gawkUbuntu: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 |
gawkUbuntu: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 |
gawkopenSUSE:Leap 16.0 |
before 5.3.2-160000.3.1 | 5.3.2-160000.3.1 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-02 | created | CVE List, EUVD, GitHub Advisories, NVD, OSV |
References
cgit.git.savannah.gnu.org/cgit/gawk.git/commit?id=062f2f2581b991362c046f7f2e238ffa34e6f8c7
cert.pl/en/posts/2026/07/CVE-2026-40467
nvd.nist.gov/vuln/detail/CVE-2026-40468
github.com/advisories/GHSA-c5xj-c73w-hcgm
access.redhat.com/errata/RHSA-2026:73429
access.redhat.com/security/cve/CVE-2026-40467
Show 67 moreShow less
access.redhat.com/security/cve/CVE-2026-40468
access.redhat.com/security/cve/CVE-2026-40553
bugzilla.redhat.com/2499655
bugzilla.redhat.com/2499657
bugzilla.redhat.com/2499658
errata.almalinux.org/10/ALSA-2026-73429.html
access.redhat.com/errata/RHSA-2026:73511
errata.almalinux.org/8/ALSA-2026-73511.html
access.redhat.com/errata/RHSA-2026:73512
errata.almalinux.org/9/ALSA-2026-73512.html
docs.bell-sw.com/security/cves/CVE-2026-40468
errata.tuxcare.com/els_os/centos7els/CLSA-2026-1784131550.html
errata.tuxcare.com/els_os/tuxcare9.6esu/CLSA-2026-1784623908.html
errata.tuxcare.com/els_os/almalinux9.2esu/CLSA-2026-1784802906.html
cgit.git.savannah.gnu.org/cgit/gawk.git
github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40468.json
security-tracker.debian.org/tracker/CVE-2026-40468
advisories.mageia.org/MGASA-2026-0427.html
bugs.mageia.org/show_bug.cgi?id=35997
ubuntu.com/security/notices/USN-8588-1
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2026-3160
nvd.nist.gov/vuln/detail/CVE-2026-40467
nvd.nist.gov/vuln/detail/CVE-2026-40469
nvd.nist.gov/vuln/detail/CVE-2026-40553
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2026-3161
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2026-3162
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2026-3163
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2026-3164
access.redhat.com/errata/RHSA-2026:40041
access.redhat.com/security/updates/classification
images.redhat.com
access.redhat.com/security/cve/CVE-2026-40469
security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_40041.json
bugzilla.redhat.com/show_bug.cgi?id=2499658
cve.org/CVERecord?id=CVE-2026-40467
cgit.git.savannah.gnu.org/cgit/gawk.git/commit?id=a2d18c74109e41bec29a23098eba2e00057286d8
bugzilla.redhat.com/show_bug.cgi?id=2499655
cve.org/CVERecord?id=CVE-2026-40468
bugzilla.redhat.com/show_bug.cgi?id=2499656
cve.org/CVERecord?id=CVE-2026-40469
cgit.git.savannah.gnu.org/cgit/gawk.git/commit?id=ae1b2d508f46913269a9e62aceda3636afe8147b
bugzilla.redhat.com/show_bug.cgi?id=2499657
cve.org/CVERecord?id=CVE-2026-40553
cgit.git.savannah.gnu.org/cgit/gawk.git/commit?id=cca0366144336b49aaa7d5d949966ce8e2c70843
access.redhat.com/errata/RHSA-2026:49661
security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_49661.json
security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_73429.json
security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_73511.json
security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_73512.json
errata.rockylinux.org/RLSA-2026:73429
errata.rockylinux.org/RLSA-2026:73511
errata.rockylinux.org/RLSA-2026:73512
suse.com/support/update/announcement/2026/suse-su-202622767-1
bugzilla.suse.com/1271351
bugzilla.suse.com/1271352
bugzilla.suse.com/1271354
suse.com/security/cve/CVE-2026-40467
suse.com/security/cve/CVE-2026-40468
suse.com/security/cve/CVE-2026-40553
suse.com/support/update/announcement/2026/suse-su-202622831-1
suse.com/support/update/announcement/2026/suse-su-202623042-1
suse.com/support/update/announcement/2026/suse-su-20263211-1
suse.com/support/update/announcement/2026/suse-su-20263455-1
ubuntu.com/security/CVE-2026-40468
ubuntu.com/security/CVE-2026-40467
ubuntu.com/security/CVE-2026-40469
ubuntu.com/security/CVE-2026-40553