CVE-2026-40468

Publication date 13 July 2026

Last updated 28 October 2026


Ubuntu priority

Cvss 3 Severity Score

9.1 · Critical

Score breakdown

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.

Status

Package Ubuntu Release Status
gawk 26.10 stonking
Not affected
26.04 LTS resolute
Fixed in 1:5.3.2-1ubuntu1.1
24.04 LTS noble
Fixed in 1:5.2.1-2ubuntu0.1
22.04 LTS jammy
Fixed in 1:5.1.0-1ubuntu0.2
20.04 LTS focal
Fixed in 1:5.0.1+dfsg-1ubuntu0.1+esm1
18.04 LTS bionic
Fixed in 1:4.1.4+dfsg-1ubuntu0.1~esm2
16.04 LTS xenial
Fixed in 1:4.1.3+dfsg-0.1ubuntu0.1~esm2
14.04 LTS trusty
Fixed in 1:4.0.1+dfsg-2.1ubuntu2+esm2

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro 30-day free trial

Severity score breakdown

CVSS version:

Base score 2.1 · Low

Vector: 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

Base score 9.1 · Critical

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

References

Related Ubuntu Security Notices (USN)

Other references


Access our resources on patching vulnerabilities