CVE
CVE-2023-4156
published medium CVSS 3.1 · 4.4Heap out of bound read in builtin.c
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | gawk5.1.1 | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 6 | gawk | Unknown | Not stated | redhat |
| Red Hat Enterprise Linux | 7, 8, 9 | gawk | Affected | Not stated | redhat |
| Fedora | — | gawkFedora | Affected | Not stated | redhat |
| Amazon Linux | AL2 | Release evaluationALAS2-2023-2357 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-292 | Fixed | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | SLE-12-SP5 | gawkaarch64 | Advisory build | 4.1.0-5.3.1 | SUSE-SU-2023:3431-1 |
| Ubuntu | bionic | gawk | Advisory build | 1:4.1.4+dfsg-1ubuntu0.1~esm1 | USN-6373-1 |
Show 39 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2 | gawkaarch64 | Listed in advisory | Not stated | ALAS2-2023-2357 |
| SUSE / openSUSE | SLE-12-SP5 | gawkppc64le | Advisory build | 4.1.0-5.3.1 | SUSE-SU-2023:3431-1 |
| SUSE / openSUSE | SLE-12-SP5 | gawks390x | Advisory build | 4.1.0-5.3.1 | SUSE-SU-2023:3431-1 |
| SUSE / openSUSE | SLE-12-SP5 | gawkx86_64 | Advisory build | 4.1.0-5.3.1 | SUSE-SU-2023:3431-1 |
| SUSE / openSUSE | SLE-15-SP4 | gawkaarch64 | Advisory build | 4.2.1-150000.3.3.1 | SUSE-SU-2023:3440-1 |
| SUSE / openSUSE | SLE-15-SP4 | gawkppc64le | Advisory build | 4.2.1-150000.3.3.1 | SUSE-SU-2023:3440-1 |
| SUSE / openSUSE | SLE-15-SP4 | gawks390x | Advisory build | 4.2.1-150000.3.3.1 | SUSE-SU-2023:3440-1 |
| SUSE / openSUSE | SLE-15-SP4 | gawkx86_64 | Advisory build | 4.2.1-150000.3.3.1 | SUSE-SU-2023:3440-1 |
| SUSE / openSUSE | SLE-15-SP5 | gawkaarch64 | Advisory build | 4.2.1-150000.3.3.1 | SUSE-SU-2023:3440-1 |
| SUSE / openSUSE | SLE-15-SP5 | gawkppc64le | Advisory build | 4.2.1-150000.3.3.1 | SUSE-SU-2023:3440-1 |
| SUSE / openSUSE | SLE-15-SP5 | gawks390x | Advisory build | 4.2.1-150000.3.3.1 | SUSE-SU-2023:3440-1 |
| SUSE / openSUSE | SLE-15-SP5 | gawkx86_64 | Advisory build | 4.2.1-150000.3.3.1 | SUSE-SU-2023:3440-1 |
| SUSE / openSUSE | SLE-5 | gawkaarch64 | Advisory build | 4.2.1-150000.3.3.1 | SUSE-SU-2023:3440-1 |
| SUSE / openSUSE | SLE-5 | gawks390x | Advisory build | 4.2.1-150000.3.3.1 | SUSE-SU-2023:3440-1 |
| SUSE / openSUSE | SLE-5 | gawkx86_64 | Advisory build | 4.2.1-150000.3.3.1 | SUSE-SU-2023:3440-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | gawkaarch64 | Advisory build | 4.2.1-150000.3.3.1 | SUSE-SU-2023:3440-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | gawkppc64le | Advisory build | 4.2.1-150000.3.3.1 | SUSE-SU-2023:3440-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | gawks390x | Advisory build | 4.2.1-150000.3.3.1 | SUSE-SU-2023:3440-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | gawkx86_64 | Advisory build | 4.2.1-150000.3.3.1 | SUSE-SU-2023:3440-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | gawkaarch64 | Advisory build | 4.2.1-150000.3.3.1 | SUSE-SU-2023:3440-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | gawkppc64le | Advisory build | 4.2.1-150000.3.3.1 | SUSE-SU-2023:3440-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | gawks390x | Advisory build | 4.2.1-150000.3.3.1 | SUSE-SU-2023:3440-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | gawkx86_64 | Advisory build | 4.2.1-150000.3.3.1 | SUSE-SU-2023:3440-1 |
| SUSE / openSUSE | openSUSE-Leap-Micro-5.3 | gawkaarch64 | Advisory build | 4.2.1-150000.3.3.1 | SUSE-SU-2023:3440-1 |
| SUSE / openSUSE | openSUSE-Leap-Micro-5.3 | gawkx86_64 | Advisory build | 4.2.1-150000.3.3.1 | SUSE-SU-2023:3440-1 |
| SUSE / openSUSE | openSUSE-Leap-Micro-5.4 | gawkaarch64 | Advisory build | 4.2.1-150000.3.3.1 | SUSE-SU-2023:3440-1 |
| SUSE / openSUSE | openSUSE-Leap-Micro-5.4 | gawks390x | Advisory build | 4.2.1-150000.3.3.1 | SUSE-SU-2023:3440-1 |
| SUSE / openSUSE | openSUSE-Leap-Micro-5.4 | gawkx86_64 | Advisory build | 4.2.1-150000.3.3.1 | SUSE-SU-2023:3440-1 |
| Ubuntu | esm | gawk | Advisory build | 1:4.0.1+dfsg-2.1ubuntu2+esm1 | USN-6373-1 |
| Ubuntu | focal | gawk | Advisory build | 1:5.0.1+dfsg-1ubuntu0.1 | USN-6373-1 |
| Ubuntu | jammy | gawk | Advisory build | 1:5.1.0-1ubuntu0.1 | USN-6373-1 |
| Ubuntu | xenial | gawk | Advisory build | 1:4.1.3+dfsg-0.1ubuntu0.1~esm1 | USN-6373-1 |
| Amazon Linux | AL2 | gawki686 | Listed in advisory | Not stated | ALAS2-2023-2357 |
| Amazon Linux | AL2 | gawksrc | Listed in advisory | Not stated | ALAS2-2023-2357 |
| Amazon Linux | AL2 | gawkx86_64 | Listed in advisory | Not stated | ALAS2-2023-2357 |
| Amazon Linux | AL2023 | gawkaarch64 | Listed in advisory | Not stated | ALAS2023-2023-292 |
| Amazon Linux | AL2023 | gawknoarch | Listed in advisory | Not stated | ALAS2023-2023-292 |
| Amazon Linux | AL2023 | gawksrc | Listed in advisory | Not stated | ALAS2023-2023-292 |
| Amazon Linux | AL2023 | gawkx86_64 | Listed in advisory | Not stated | ALAS2023-2023-292 |
Description
A heap out-of-bounds read flaw was found in builtin.c in the gawk package. This issue may lead to a crash and could be used to read sensitive information.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.4 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | gawk | 5.1.1 (unaffected) | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 6 | Default: unknown | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 7 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | Default: affected | redhat · cna |
| Fedora | Fedora | Default: affected | redhat · cna |
Weaknesses
1- CWE-125 Out-of-bounds Read
References
2- https://access.redhat.com/security/cve/CVE-2023-4156
- RHBZ#2215930 https://bugzilla.redhat.com/show_bug.cgi?id=2215930
Provider assertions
3redhat · cna
Heap out of bound read in builtin.c
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 56153e9826bda88435b6438f006184abdeff94e85ebf06ac23146e2e153c353f
- Ingested
- 23 Sep 2026, 08:13:36 UTC
- Source record
- Official CVE record