# JLSEC-2026-786: Integer overflow in gawk's `builtin.c` can cause buffer overflow and denial of service

- Severity: Critical 9.1 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-07-25T03:14:11.289Z
- Modified: 2026-07-25T03:30:03.700Z
- Related: CVE-2026-40468

## Description

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.

(As written by Julia Security Advisories.)

## Affected

- gawk_jll (Julia): before 5.4.1+0

## Every score

- Julia Security Advisories: 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`
- Julia Security Advisories: CVSS:4.0 `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`

## References

- <https://cert.pl/en/posts/2026/07/CVE-2026-40467> (web)
- <https://cgit.git.savannah.gnu.org/cgit/gawk.git/commit/?id=062f2f2581b991362c046f7f2e238ffa34e6f8c7> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-786](https://osv.dev/vulnerability/JLSEC-2026-786), CC-BY-4.0, modified 2026-07-25

---

Page: https://cve.day/JLSEC-2026-786 · Whole record: https://cve.day/JLSEC-2026-786.json · Rebuilt by cve.day 2026-11-25T22:56:26.237Z
