CVE-2026-40553
published medium CVSS 4.0 · 5.1Stack-based buffer overflow in gawk
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| GNU | — | gawk0 through 5.4.0 · Other versions: unaffected | Affected | Not stated | CERT-PL |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-2035 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 10 | gawk | Advisory build | 5.3.0-6.el10_2.1 | ALSA-2026:73429 |
| Oracle Linux | 10 | gawkaarch64 | Advisory build | 0:5.3.0-6.el10_2.1 | ELSA-2026-73429 |
| Red Hat Enterprise Linux | RHEL-10 | gawkaarch64 | Advisory build | 5.3.0-6.el10_2.1 | RHSA-2026:73429 |
| SUSE / openSUSE | SLE-15-SP7 | gawkaarch64 | Advisory build | 4.2.1-150000.3.6.1 | SUSE-SU-2026:3455-1 |
| Ubuntu | resolute | gawk | Advisory build | 1:5.3.2-1ubuntu1.1 | USN-8588-1 |
Show 95 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | gawkaarch64 | Listed in advisory | Not stated | ALAS2023-2026-2035 |
| Rocky Linux | 10 | gawkaarch64 | Listed in advisory | Not stated | RLSA-2026:73429 |
| AlmaLinux | 9 | gawk | Advisory build | 5.1.0-6.el9_8.1 | ALSA-2026:73512 |
| Oracle Linux | 10 | gawkx86_64 | Advisory build | 0:5.3.0-6.el10_2.1 | ELSA-2026-73429 |
| Oracle Linux | 9 | gawkaarch64 | Advisory build | 0:5.1.0-6.el9_8.1 | ELSA-2026-73512 |
| Oracle Linux | 9 | gawkx86_64 | Advisory build | 0:5.1.0-6.el9_8.1 | ELSA-2026-73512 |
| Red Hat Enterprise Linux | RHEL-10 | gawkppc64le | Advisory build | 5.3.0-6.el10_2.1 | RHSA-2026:73429 |
| Red Hat Enterprise Linux | RHEL-10 | gawks390x | Advisory build | 5.3.0-6.el10_2.1 | RHSA-2026:73429 |
| Red Hat Enterprise Linux | RHEL-10 | gawksrc | Advisory build | 5.3.0-6.el10_2.1 | RHSA-2026:73429 |
| Red Hat Enterprise Linux | RHEL-10 | gawkx86_64 | Advisory build | 5.3.0-6.el10_2.1 | RHSA-2026:73429 |
| Red Hat Enterprise Linux | RHEL-9 | gawkaarch64 | Advisory build | 5.1.0-6.el9_8.1 | RHSA-2026:73512 |
| Red Hat Enterprise Linux | RHEL-9 | gawkppc64le | Advisory build | 5.1.0-6.el9_8.1 | RHSA-2026:73512 |
| Red Hat Enterprise Linux | RHEL-9 | gawks390x | Advisory build | 5.1.0-6.el9_8.1 | RHSA-2026:73512 |
| Red Hat Enterprise Linux | RHEL-9 | gawksrc | Advisory build | 5.1.0-6.el9_8.1 | RHSA-2026:73512 |
| Red Hat Enterprise Linux | RHEL-9 | gawkx86_64 | Advisory build | 5.1.0-6.el9_8.1 | RHSA-2026:73512 |
| SUSE / openSUSE | SLE-15-SP7 | gawkppc64le | Advisory build | 4.2.1-150000.3.6.1 | SUSE-SU-2026:3455-1 |
| SUSE / openSUSE | SLE-15-SP7 | gawks390x | Advisory build | 4.2.1-150000.3.6.1 | SUSE-SU-2026:3455-1 |
| SUSE / openSUSE | SLE-15-SP7 | gawkx86_64 | Advisory build | 4.2.1-150000.3.6.1 | SUSE-SU-2026:3455-1 |
| SUSE / openSUSE | SLE-16 | gawkaarch64 | Advisory build | 5.3.2-160000.3.1 | SUSE-SU-2026:22831-1 |
| SUSE / openSUSE | SLE-16 | gawkppc64le | Advisory build | 5.3.2-160000.3.1 | SUSE-SU-2026:22831-1 |
| SUSE / openSUSE | SLE-16 | gawks390x | Advisory build | 5.3.2-160000.3.1 | SUSE-SU-2026:22831-1 |
| SUSE / openSUSE | SLE-16 | gawkx86_64 | Advisory build | 5.3.2-160000.3.1 | SUSE-SU-2026:22831-1 |
| SUSE / openSUSE | SLE-5 | gawkaarch64 | Advisory build | 4.2.1-150000.3.6.1 | SUSE-SU-2026:3455-1 |
| SUSE / openSUSE | SLE-5 | gawkppc64le | Advisory build | 4.2.1-150000.3.6.1 | SUSE-SU-2026:3455-1 |
| SUSE / openSUSE | SLE-5 | gawks390x | Advisory build | 4.2.1-150000.3.6.1 | SUSE-SU-2026:3455-1 |
| SUSE / openSUSE | SLE-5 | gawkx86_64 | Advisory build | 4.2.1-150000.3.6.1 | SUSE-SU-2026:3455-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | gawkaarch64 | Advisory build | 5.3.2-160000.3.1 | OPENSUSE-SU-2026:21393-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | gawkppc64le | Advisory build | 5.3.2-160000.3.1 | OPENSUSE-SU-2026:21393-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | gawks390x | Advisory build | 5.3.2-160000.3.1 | OPENSUSE-SU-2026:21393-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | gawkx86_64 | Advisory build | 5.3.2-160000.3.1 | OPENSUSE-SU-2026:21393-1 |
| AlmaLinux | 10 | gawk-all-langpacks | Advisory build | 5.3.0-6.el10_2.1 | ALSA-2026:73429 |
| AlmaLinux | 9 | gawk-all-langpacks | Advisory build | 5.1.0-6.el9_8.1 | ALSA-2026:73512 |
| Oracle Linux | 10 | gawk-all-langpacksaarch64 | Advisory build | 0:5.3.0-6.el10_2.1 | ELSA-2026-73429 |
| Oracle Linux | 10 | gawk-all-langpacksx86_64 | Advisory build | 0:5.3.0-6.el10_2.1 | ELSA-2026-73429 |
| Oracle Linux | 9 | gawk-all-langpacksaarch64 | Advisory build | 0:5.1.0-6.el9_8.1 | ELSA-2026-73512 |
| Oracle Linux | 9 | gawk-all-langpacksx86_64 | Advisory build | 0:5.1.0-6.el9_8.1 | ELSA-2026-73512 |
| Red Hat Enterprise Linux | RHEL-10 | gawk-all-langpacksaarch64 | Advisory build | 5.3.0-6.el10_2.1 | RHSA-2026:73429 |
| Red Hat Enterprise Linux | RHEL-10 | gawk-all-langpacksppc64le | Advisory build | 5.3.0-6.el10_2.1 | RHSA-2026:73429 |
| Red Hat Enterprise Linux | RHEL-10 | gawk-all-langpackss390x | Advisory build | 5.3.0-6.el10_2.1 | RHSA-2026:73429 |
| Red Hat Enterprise Linux | RHEL-10 | gawk-all-langpacksx86_64 | Advisory build | 5.3.0-6.el10_2.1 | RHSA-2026:73429 |
| Red Hat Enterprise Linux | RHEL-10 | gawk-debuginfoaarch64 | Advisory build | 5.3.0-6.el10_2.1 | RHSA-2026:73429 |
| Red Hat Enterprise Linux | RHEL-10 | gawk-debuginfoppc64le | Advisory build | 5.3.0-6.el10_2.1 | RHSA-2026:73429 |
| Red Hat Enterprise Linux | RHEL-10 | gawk-debuginfos390x | Advisory build | 5.3.0-6.el10_2.1 | RHSA-2026:73429 |
| Red Hat Enterprise Linux | RHEL-10 | gawk-debuginfox86_64 | Advisory build | 5.3.0-6.el10_2.1 | RHSA-2026:73429 |
| Red Hat Enterprise Linux | RHEL-10 | gawk-debugsourceaarch64 | Advisory build | 5.3.0-6.el10_2.1 | RHSA-2026:73429 |
| Red Hat Enterprise Linux | RHEL-10 | gawk-debugsourceppc64le | Advisory build | 5.3.0-6.el10_2.1 | RHSA-2026:73429 |
| Red Hat Enterprise Linux | RHEL-10 | gawk-debugsources390x | Advisory build | 5.3.0-6.el10_2.1 | RHSA-2026:73429 |
| Red Hat Enterprise Linux | RHEL-10 | gawk-debugsourcex86_64 | Advisory build | 5.3.0-6.el10_2.1 | RHSA-2026:73429 |
| Red Hat Enterprise Linux | RHEL-9 | gawk-all-langpacksaarch64 | Advisory build | 5.1.0-6.el9_8.1 | RHSA-2026:73512 |
| Red Hat Enterprise Linux | RHEL-9 | gawk-all-langpacksppc64le | Advisory build | 5.1.0-6.el9_8.1 | RHSA-2026:73512 |
| Red Hat Enterprise Linux | RHEL-9 | gawk-all-langpackss390x | Advisory build | 5.1.0-6.el9_8.1 | RHSA-2026:73512 |
| Red Hat Enterprise Linux | RHEL-9 | gawk-all-langpacksx86_64 | Advisory build | 5.1.0-6.el9_8.1 | RHSA-2026:73512 |
| Red Hat Enterprise Linux | RHEL-9 | gawk-debuginfoaarch64 | Advisory build | 5.1.0-6.el9_8.1 | RHSA-2026:73512 |
| Red Hat Enterprise Linux | RHEL-9 | gawk-debuginfoppc64le | Advisory build | 5.1.0-6.el9_8.1 | RHSA-2026:73512 |
| Red Hat Enterprise Linux | RHEL-9 | gawk-debuginfos390x | Advisory build | 5.1.0-6.el9_8.1 | RHSA-2026:73512 |
| Red Hat Enterprise Linux | RHEL-9 | gawk-debuginfox86_64 | Advisory build | 5.1.0-6.el9_8.1 | RHSA-2026:73512 |
| Red Hat Enterprise Linux | RHEL-9 | gawk-debugsourceaarch64 | Advisory build | 5.1.0-6.el9_8.1 | RHSA-2026:73512 |
| Red Hat Enterprise Linux | RHEL-9 | gawk-debugsourceppc64le | Advisory build | 5.1.0-6.el9_8.1 | RHSA-2026:73512 |
| Red Hat Enterprise Linux | RHEL-9 | gawk-debugsources390x | Advisory build | 5.1.0-6.el9_8.1 | RHSA-2026:73512 |
| Red Hat Enterprise Linux | RHEL-9 | gawk-debugsourcex86_64 | Advisory build | 5.1.0-6.el9_8.1 | RHSA-2026:73512 |
| Amazon Linux | AL2023 | gawknoarch | Listed in advisory | Not stated | ALAS2023-2026-2035 |
| Amazon Linux | AL2023 | gawksrc | Listed in advisory | Not stated | ALAS2023-2026-2035 |
| Amazon Linux | AL2023 | gawkx86_64 | Listed in advisory | Not stated | ALAS2023-2026-2035 |
| Rocky Linux | 10 | gawkppc64le | Listed in advisory | Not stated | RLSA-2026:73429 |
| Rocky Linux | 10 | gawks390x | Listed in advisory | Not stated | RLSA-2026:73429 |
| Rocky Linux | 10 | gawksrc | Listed in advisory | Not stated | RLSA-2026:73429 |
| Rocky Linux | 10 | gawkx86_64 | Listed in advisory | Not stated | RLSA-2026:73429 |
| Rocky Linux | 9 | gawkaarch64 | Listed in advisory | Not stated | RLSA-2026:73512 |
| Rocky Linux | 9 | gawkppc64le | Listed in advisory | Not stated | RLSA-2026:73512 |
| Rocky Linux | 9 | gawks390x | Listed in advisory | Not stated | RLSA-2026:73512 |
| Rocky Linux | 9 | gawksrc | Listed in advisory | Not stated | RLSA-2026:73512 |
| Rocky Linux | 9 | gawkx86_64 | Listed in advisory | Not stated | RLSA-2026:73512 |
| Rocky Linux | 10 | gawk-all-langpacksaarch64 | Listed in advisory | Not stated | RLSA-2026:73429 |
| Rocky Linux | 10 | gawk-all-langpacksppc64le | Listed in advisory | Not stated | RLSA-2026:73429 |
| Rocky Linux | 10 | gawk-all-langpackss390x | Listed in advisory | Not stated | RLSA-2026:73429 |
| Rocky Linux | 10 | gawk-all-langpacksx86_64 | Listed in advisory | Not stated | RLSA-2026:73429 |
| Rocky Linux | 10 | gawk-debuginfoaarch64 | Listed in advisory | Not stated | RLSA-2026:73429 |
| Rocky Linux | 10 | gawk-debuginfoppc64le | Listed in advisory | Not stated | RLSA-2026:73429 |
| Rocky Linux | 10 | gawk-debuginfos390x | Listed in advisory | Not stated | RLSA-2026:73429 |
| Rocky Linux | 10 | gawk-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2026:73429 |
| Rocky Linux | 10 | gawk-debugsourceaarch64 | Listed in advisory | Not stated | RLSA-2026:73429 |
| Rocky Linux | 10 | gawk-debugsourceppc64le | Listed in advisory | Not stated | RLSA-2026:73429 |
| Rocky Linux | 10 | gawk-debugsources390x | Listed in advisory | Not stated | RLSA-2026:73429 |
| Rocky Linux | 10 | gawk-debugsourcex86_64 | Listed in advisory | Not stated | RLSA-2026:73429 |
| Rocky Linux | 9 | gawk-all-langpacksaarch64 | Listed in advisory | Not stated | RLSA-2026:73512 |
| Rocky Linux | 9 | gawk-all-langpacksppc64le | Listed in advisory | Not stated | RLSA-2026:73512 |
| Rocky Linux | 9 | gawk-all-langpackss390x | Listed in advisory | Not stated | RLSA-2026:73512 |
| Rocky Linux | 9 | gawk-all-langpacksx86_64 | Listed in advisory | Not stated | RLSA-2026:73512 |
| Rocky Linux | 9 | gawk-debuginfoaarch64 | Listed in advisory | Not stated | RLSA-2026:73512 |
| Rocky Linux | 9 | gawk-debuginfoppc64le | Listed in advisory | Not stated | RLSA-2026:73512 |
| Rocky Linux | 9 | gawk-debuginfos390x | Listed in advisory | Not stated | RLSA-2026:73512 |
| Rocky Linux | 9 | gawk-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2026:73512 |
| Rocky Linux | 9 | gawk-debugsourceaarch64 | Listed in advisory | Not stated | RLSA-2026:73512 |
| Rocky Linux | 9 | gawk-debugsourceppc64le | Listed in advisory | Not stated | RLSA-2026:73512 |
| Rocky Linux | 9 | gawk-debugsources390x | Listed in advisory | Not stated | RLSA-2026:73512 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.1 / 10
- Severity
- medium
- Provider
- CERT-PL · cna
- Vector string
- CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:L/SI:L/SA:L
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| GNU | gawk | 0 through 5.4.0 (affected · semver)Default: unaffected | CERT-PL · cna |
Weaknesses
1- CWE-121 CWE-121 Stack-based Buffer Overflow
References
2Provider assertions
2CERT-PL · cna
Stack-based buffer overflow in gawk
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 65615c2515ef7364c11e53aeff413a9d15609e44b9cdc1adedd91c692e1e594e
- Ingested
- 23 Sep 2026, 09:13:21 UTC
- Source record
- Official CVE record