Moderate Vulnerability in gawk: Memory Corruption and Buffer Overflow Issues

gawk Updated 30 Sep 2026

Summary

30/09/2026
N/A
Yes i
Medium
6.2

RLSA-2026:73512: Moderate: gawk security update. Affects gawk versions < 0:5.1.0-6.el9_8.1. Fixed in 0:5.1.0-6.el9_8.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The gawk package is the GNU implementation of awk, a powerful text processing utility that allows users to perform pattern matching and text reformatting tasks efficiently. It is widely used in various scripting and programming environments due to its versatility and ease of use. However, recent security updates have highlighted vulnerabilities that could potentially compromise the integrity and availability of systems utilizing this package.

Vulnerability Detail

The gawk package has been identified with several vulnerabilities that pose significant risks. These include a memory corruption issue due to an integer overflow (CVE-2026-40468), a buffer overflow in the ftype() routine that may lead to code execution or denial of service (CVE-2026-40553), and a denial of service vulnerability caused by a use-after-free condition in io.c (CVE-2026-40467). These vulnerabilities can allow attackers to exploit the gawk utility, potentially leading to unauthorized code execution or system crashes.

How To Fix

Minimum fixed version

0:5.1.0-6.el9_8.1

This is the first release that contains the fix.

sudo dnf update gawk

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary measure, users may consider restricting access to the gawk utility or running it in a controlled environment where potential exploits can be mitigated. However, the most effective solution remains updating to the patched version.

Conclusion

The gawk package has critical vulnerabilities that require immediate attention. Users should update to the latest version to protect their systems from potential exploits. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for gawk →

Share this vulnerability

FAQ

Gawk is the GNU implementation of awk, a programming language designed for text processing and pattern matching.

The vulnerabilities include memory corruption via integer overflow, buffer overflow leading to potential code execution, and denial of service due to a use-after-free condition.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The CVSS score for the vulnerabilities in gawk is 6.2, indicating a moderate level of severity.

You can update gawk by running the command 'sudo dnf update gawk' in your terminal to install the patched version.

Related vulnerabilities

Recent vulnerabilities recorded for gawk.

How To Fix

Minimum fixed version

0:5.1.0-6.el9_8.1

This is the first release that contains the fix.

sudo dnf update gawk

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback