# CVE-2023-4156: Heap out of bound read in builtin.c

- Priority: **Routine**
- Reason: Not severe (CVSS 4.4, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-09-25 · Modified: 2024-09-24
- Aliases: SUSE-SU-2023:3431-1, SUSE-SU-2023:3440-1, UBUNTU-CVE-2023-4156, USN-6373-1, DEBIAN-CVE-2023-4156
- Record: https://cvemate.com/vulnerability/CVE-2023-4156 · JSON: https://cvemate.com/vulnerability/CVE-2023-4156/json

## Description

```text
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.
```

## Signals

- CVSS: 7.1 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
- EPSS: 0.415%, percentile 37.827%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 2 (reference)

## Affected

- debian gawk (Debian): \< 1:5.2.1-1
- ubuntu gawk (Ubuntu): \< 1:4.0.1+dfsg-2.1ubuntu2+esm1 \| \< 1:4.1.3+dfsg-0.1ubuntu0.1~esm1 \| \< 1:4.1.4+dfsg-1ubuntu0.1~esm1 \| \< 1:5.0.1+dfsg-1ubuntu0.1 \| \< 1:5.1.0-1ubuntu0.1
- fedoraproject fedora: 38
- gnu gawk: \< 5.1.1
- redhat enterprise\_linux: 6.0 \| 7.0
- opensuse gawk&distro=openSUSE Leap 15.4 (openSUSE): \< 4.2.1-150000.3.3.1
- opensuse gawk&distro=openSUSE Leap 15.5 (openSUSE): \< 4.2.1-150000.3.3.1
- opensuse gawk&distro=openSUSE Leap Micro 5.3 (openSUSE): \< 4.2.1-150000.3.3.1
- opensuse gawk&distro=openSUSE Leap Micro 5.4 (openSUSE): \< 4.2.1-150000.3.3.1
- suse gawk&distro=SUSE Linux Enterprise Micro 5.1 (SUSE Linux Enterprise): \< 4.2.1-150000.3.3.1
- suse gawk&distro=SUSE Linux Enterprise Micro 5.2 (SUSE Linux Enterprise): \< 4.2.1-150000.3.3.1
- suse gawk&distro=SUSE Linux Enterprise Micro 5.3 (SUSE Linux Enterprise): \< 4.2.1-150000.3.3.1
- suse gawk&distro=SUSE Linux Enterprise Micro 5.4 (SUSE Linux Enterprise): \< 4.2.1-150000.3.3.1
- suse gawk&distro=SUSE Linux Enterprise Module for Basesystem 15 SP4 (SUSE Linux Enterprise): \< 4.2.1-150000.3.3.1
- suse gawk&distro=SUSE Linux Enterprise Module for Basesystem 15 SP5 (SUSE Linux Enterprise): \< 4.2.1-150000.3.3.1
- suse gawk&distro=SUSE Linux Enterprise Server 12 SP5 (SUSE Linux Enterprise): \< 4.1.0-5.3.1
- suse gawk&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP5 (SUSE Linux Enterprise): \< 4.1.0-5.3.1
- suse gawk&distro=SUSE Manager Proxy 4.2 (SUSE Linux Enterprise): \< 4.2.1-150000.3.3.1
- suse gawk&distro=SUSE Manager Server 4.2 (SUSE Linux Enterprise): \< 4.2.1-150000.3.3.1

## References

- <https://access.redhat.com/security/cve/CVE-2023-4156>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2215930>
- <https://www.suse.com/support/update/announcement/2023/suse-su-20233431-1/>
- <https://bugzilla.suse.com/1214025>
- <https://www.suse.com/security/cve/CVE-2023-4156>
- <https://www.suse.com/support/update/announcement/2023/suse-su-20233440-1/>
- <https://ubuntu.com/security/CVE-2023-4156>
- <https://mail.gnu.org/archive/html/bug-gawk/2022-08/msg00000.html>
- <https://mail.gnu.org/archive/html/bug-gawk/2022-08/msg00023.html>
- <https://git.savannah.gnu.org/gitweb/?p=gawk.git;a=commitdiff;h=e709eb829448ce040087a3fc5481db6bfcaae212>
- <https://ubuntu.com/security/notices/USN-6373-1>
- <https://www.cve.org/CVERecord?id=CVE-2023-4156>
- <https://security-tracker.debian.org/tracker/CVE-2023-4156>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-4156>

---

Data as of 2026-12-05T03:12:31.058Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
