RHSA-2026:40041
Vulnerability from csaf_redhat - Published: 2026-07-15 14:28 - Updated: 2026-08-05 06:41A flaw was found in gawk. A Use After Free vulnerability exists in the do_getline_redir() routine within the io.c program file. This vulnerability can be triggered by an attacker, potentially leading to a system crash and causing a Denial of Service (DoS).
| Product | Identifier | Version | Remediation |
|---|---|---|---|
| Unresolved product id: Red Hat Hardened Images:gawk-main@aarch64 | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: Red Hat Hardened Images:gawk-main@noarch | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: Red Hat Hardened Images:gawk-main@src | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: Red Hat Hardened Images:gawk-main@x86_64 | — |
Vendor Fix
fix
Workaround
|
A flaw was found in gawk. An integer overflow vulnerability could allow a local attacker to cause memory exhaustion, leading to a denial of service. This flaw may also enable an attacker to corrupt gawk's internal memory, potentially leading to system instability.
| Product | Identifier | Version | Remediation |
|---|---|---|---|
| Unresolved product id: Red Hat Hardened Images:gawk-main@aarch64 | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: Red Hat Hardened Images:gawk-main@noarch | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: Red Hat Hardened Images:gawk-main@src | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: Red Hat Hardened Images:gawk-main@x86_64 | — |
Vendor Fix
fix
Workaround
|
A flaw was found in gawk. An integer overflow vulnerability exists in the `do_sub()` routine, which could allow an attacker to overwrite internal program data. This can lead to a denial of service (DoS) by causing the gawk program to crash. This issue affects 32-bit builds of gawk.
CWE-190 - Integer Overflow or Wraparound| Product | Identifier | Version | Remediation |
|---|---|---|---|
| Unresolved product id: Red Hat Hardened Images:gawk-main@aarch64 | — |
Vendor Fix
fix
|
|
| Unresolved product id: Red Hat Hardened Images:gawk-main@noarch | — |
Vendor Fix
fix
|
|
| Unresolved product id: Red Hat Hardened Images:gawk-main@src | — |
Vendor Fix
fix
|
|
| Unresolved product id: Red Hat Hardened Images:gawk-main@x86_64 | — |
Vendor Fix
fix
|
A flaw was found in gawk. A buffer overflow vulnerability exists in the `ftype()` routine, located in the `extension/readdir.c` program file. This vulnerability could allow an attacker to crash the program, resulting in a denial of service. It may also potentially lead to arbitrary code execution, though this has not been definitively confirmed.
| Product | Identifier | Version | Remediation |
|---|---|---|---|
| Unresolved product id: Red Hat Hardened Images:gawk-main@aarch64 | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: Red Hat Hardened Images:gawk-main@noarch | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: Red Hat Hardened Images:gawk-main@src | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: Red Hat Hardened Images:gawk-main@x86_64 | — |
Vendor Fix
fix
Workaround
|
{
"document": {
"aggregate_severity": {
"namespace": "https://access.redhat.com/security/updates/classification/",
"text": "Moderate"
},
"category": "csaf_security_advisory",
"csaf_version": "2.0",
"distribution": {
"text": "Copyright \u00a9 Red Hat, Inc. All rights reserved.",
"tlp": {
"label": "WHITE",
"url": "https://www.first.org/tlp/"
}
},
"lang": "en",
"notes": [
{
"category": "summary",
"text": "An update for Red Hat Hardened Images RPMs is now available.",
"title": "Topic"
},
{
"category": "general",
"text": "This update includes the following RPMs:\n\ngawk:\n * gawk-5.4.0-3.1.hum1 (aarch64, x86_64)\n * gawk-all-langpacks-5.4.0-3.1.hum1 (aarch64, x86_64)\n * gawk-devel-5.4.0-3.1.hum1 (aarch64, x86_64)\n * gawk-doc-5.4.0-3.1.hum1 (noarch)\n * gawk-5.4.0-3.1.hum1.src (src)\n\nSecurity Fix(es):\n\ngawk:\n * CVE-2026-40553",
"title": "Details"
},
{
"category": "legal_disclaimer",
"text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
"title": "Terms of Use"
}
],
"publisher": {
"category": "vendor",
"contact_details": "https://access.redhat.com/security/team/contact/",
"issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
"name": "Red Hat Product Security",
"namespace": "https://www.redhat.com"
},
"references": [
{
"category": "self",
"summary": "https://access.redhat.com/errata/RHSA-2026:40041",
"url": "https://access.redhat.com/errata/RHSA-2026:40041"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/cve/CVE-2026-40553",
"url": "https://access.redhat.com/security/cve/CVE-2026-40553"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/updates/classification/",
"url": "https://access.redhat.com/security/updates/classification/"
},
{
"category": "external",
"summary": "https://images.redhat.com/",
"url": "https://images.redhat.com/"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/cve/CVE-2026-40468",
"url": "https://access.redhat.com/security/cve/CVE-2026-40468"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/cve/CVE-2026-40467",
"url": "https://access.redhat.com/security/cve/CVE-2026-40467"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/cve/CVE-2026-40469",
"url": "https://access.redhat.com/security/cve/CVE-2026-40469"
},
{
"category": "self",
"summary": "Canonical URL",
"url": "https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_40041.json"
}
],
"title": "Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update",
"tracking": {
"current_release_date": "2026-08-05T06:41:22+00:00",
"generator": {
"date": "2026-08-05T06:41:22+00:00",
"engine": {
"name": "Red Hat SDEngine",
"version": "5.3.8"
}
},
"id": "RHSA-2026:40041",
"initial_release_date": "2026-07-15T14:28:58+00:00",
"revision_history": [
{
"date": "2026-07-15T14:28:58+00:00",
"number": "1",
"summary": "Initial version"
},
{
"date": "2026-08-01T08:08:43+00:00",
"number": "2",
"summary": "Last updated version"
},
{
"date": "2026-08-05T06:41:22+00:00",
"number": "3",
"summary": "Last generated version"
}
],
"status": "final",
"version": "3"
}
},
"product_tree": {
"branches": [
{
"branches": [
{
"branches": [
{
"category": "product_name",
"name": "Red Hat Hardened Images",
"product": {
"name": "Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images",
"product_identification_helper": {
"cpe": "cpe:/a:redhat:hummingbird:1"
}
}
}
],
"category": "product_family",
"name": "Red Hat Hardened Images"
},
{
"branches": [
{
"category": "product_version",
"name": "gawk-main@aarch64",
"product": {
"name": "gawk-main@aarch64",
"product_id": "gawk-main@aarch64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/gawk@5.4.0-3.1.hum1?arch=aarch64\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-aarch64-rpms"
}
}
}
],
"category": "architecture",
"name": "aarch64"
},
{
"branches": [
{
"category": "product_version",
"name": "gawk-main@src",
"product": {
"name": "gawk-main@src",
"product_id": "gawk-main@src",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/gawk@5.4.0-3.1.hum1?arch=src\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-source-rpms"
}
}
}
],
"category": "architecture",
"name": "src"
},
{
"branches": [
{
"category": "product_version",
"name": "gawk-main@x86_64",
"product": {
"name": "gawk-main@x86_64",
"product_id": "gawk-main@x86_64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/gawk@5.4.0-3.1.hum1?arch=x86_64\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-x86_64-rpms"
}
}
}
],
"category": "architecture",
"name": "x86_64"
},
{
"branches": [
{
"category": "product_version",
"name": "gawk-main@noarch",
"product": {
"name": "gawk-main@noarch",
"product_id": "gawk-main@noarch",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/gawk-doc@5.4.0-3.1.hum1?arch=noarch\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-x86_64-rpms"
}
}
}
],
"category": "architecture",
"name": "noarch"
}
],
"category": "vendor",
"name": "Red Hat"
}
],
"relationships": [
{
"category": "default_component_of",
"full_product_name": {
"name": "gawk-main@aarch64 as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:gawk-main@aarch64"
},
"product_reference": "gawk-main@aarch64",
"relates_to_product_reference": "Red Hat Hardened Images"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "gawk-main@noarch as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:gawk-main@noarch"
},
"product_reference": "gawk-main@noarch",
"relates_to_product_reference": "Red Hat Hardened Images"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "gawk-main@src as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:gawk-main@src"
},
"product_reference": "gawk-main@src",
"relates_to_product_reference": "Red Hat Hardened Images"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "gawk-main@x86_64 as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:gawk-main@x86_64"
},
"product_reference": "gawk-main@x86_64",
"relates_to_product_reference": "Red Hat Hardened Images"
}
]
},
"vulnerabilities": [
{
"cve": "CVE-2026-40467",
"cwe": {
"id": "CWE-825",
"name": "Expired Pointer Dereference"
},
"discovery_date": "2026-07-13T13:01:40.927366+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "2499658"
}
],
"notes": [
{
"category": "description",
"text": "A flaw was found in gawk. A Use After Free vulnerability exists in the do_getline_redir() routine within the io.c program file. This vulnerability can be triggered by an attacker, potentially leading to a system crash and causing a Denial of Service (DoS).",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "gawk: gawk: Denial of Service due to Use After Free vulnerability in io.c",
"title": "Vulnerability summary"
},
{
"category": "other",
"text": "Moderate: A Use After Free vulnerability in gawk\u0027s `do_getline_redir()` routine can lead to a denial of service. This flaw, affecting gawk in Red Hat Hardened Images, requires a local attacker with low privileges to trick a user into interacting with specially crafted input, limiting its immediate impact.",
"title": "Statement"
},
{
"category": "general",
"text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
"title": "CVSS score applicability"
}
],
"product_status": {
"fixed": [
"Red Hat Hardened Images:gawk-main@aarch64",
"Red Hat Hardened Images:gawk-main@noarch",
"Red Hat Hardened Images:gawk-main@src",
"Red Hat Hardened Images:gawk-main@x86_64"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2026-40467"
},
{
"category": "external",
"summary": "RHBZ#2499658",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2499658"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2026-40467",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-40467"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2026-40467",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-40467"
},
{
"category": "external",
"summary": "https://cert.pl/en/posts/2026/07/CVE-2026-40467",
"url": "https://cert.pl/en/posts/2026/07/CVE-2026-40467"
},
{
"category": "external",
"summary": "https://cgit.git.savannah.gnu.org/cgit/gawk.git/commit/?id=a2d18c74109e41bec29a23098eba2e00057286d8",
"url": "https://cgit.git.savannah.gnu.org/cgit/gawk.git/commit/?id=a2d18c74109e41bec29a23098eba2e00057286d8"
}
],
"release_date": "2026-07-13T12:07:52.006000+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2026-07-15T14:28:58+00:00",
"details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\nhttps://images.redhat.com/",
"product_ids": [
"Red Hat Hardened Images:gawk-main@aarch64",
"Red Hat Hardened Images:gawk-main@noarch",
"Red Hat Hardened Images:gawk-main@src",
"Red Hat Hardened Images:gawk-main@x86_64"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2026:40041"
},
{
"category": "workaround",
"details": "To mitigate this issue, users should avoid processing untrusted or maliciously crafted input with `gawk`. Exercise caution when executing `gawk` scripts or commands that process data from unknown or unverified sources.",
"product_ids": [
"Red Hat Hardened Images:gawk-main@aarch64",
"Red Hat Hardened Images:gawk-main@noarch",
"Red Hat Hardened Images:gawk-main@src",
"Red Hat Hardened Images:gawk-main@x86_64"
]
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "LOW",
"baseScore": 4.0,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
"version": "3.1"
},
"products": [
"Red Hat Hardened Images:gawk-main@aarch64",
"Red Hat Hardened Images:gawk-main@noarch",
"Red Hat Hardened Images:gawk-main@src",
"Red Hat Hardened Images:gawk-main@x86_64"
]
}
],
"threats": [
{
"category": "impact",
"details": "Moderate"
}
],
"title": "gawk: gawk: Denial of Service due to Use After Free vulnerability in io.c"
},
{
"cve": "CVE-2026-40468",
"cwe": {
"id": "CWE-190",
"name": "Integer Overflow or Wraparound"
},
"discovery_date": "2026-07-13T13:01:04.393054+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "2499655"
}
],
"notes": [
{
"category": "description",
"text": "A flaw was found in gawk. An integer overflow vulnerability could allow a local attacker to cause memory exhaustion, leading to a denial of service. This flaw may also enable an attacker to corrupt gawk\u0027s internal memory, potentially leading to system instability.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "gawk: gawk: Memory corruption via integer overflow",
"title": "Vulnerability summary"
},
{
"category": "other",
"text": "Moderate: An integer overflow vulnerability in gawk\u0027s builtin.c could allow a local attacker to cause memory exhaustion and overwrite heap metadata. This could lead to system instability or a denial of service on affected Red Hat products, requiring local access to execute a malicious gawk script.",
"title": "Statement"
},
{
"category": "general",
"text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
"title": "CVSS score applicability"
}
],
"product_status": {
"fixed": [
"Red Hat Hardened Images:gawk-main@aarch64",
"Red Hat Hardened Images:gawk-main@noarch",
"Red Hat Hardened Images:gawk-main@src",
"Red Hat Hardened Images:gawk-main@x86_64"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2026-40468"
},
{
"category": "external",
"summary": "RHBZ#2499655",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2499655"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2026-40468",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-40468"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2026-40468",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-40468"
},
{
"category": "external",
"summary": "https://cert.pl/en/posts/2026/07/CVE-2026-40467",
"url": "https://cert.pl/en/posts/2026/07/CVE-2026-40467"
},
{
"category": "external",
"summary": "https://cgit.git.savannah.gnu.org/cgit/gawk.git/commit/?id=062f2f2581b991362c046f7f2e238ffa34e6f8c7",
"url": "https://cgit.git.savannah.gnu.org/cgit/gawk.git/commit/?id=062f2f2581b991362c046f7f2e238ffa34e6f8c7"
}
],
"release_date": "2026-07-13T12:07:54.910000+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2026-07-15T14:28:58+00:00",
"details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\nhttps://images.redhat.com/",
"product_ids": [
"Red Hat Hardened Images:gawk-main@aarch64",
"Red Hat Hardened Images:gawk-main@noarch",
"Red Hat Hardened Images:gawk-main@src",
"Red Hat Hardened Images:gawk-main@x86_64"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2026:40041"
},
{
"category": "workaround",
"details": "Do not execute untrusted awk scripts or process untrusted inputs that could trigger oversized calculations in builtin.c.",
"product_ids": [
"Red Hat Hardened Images:gawk-main@aarch64",
"Red Hat Hardened Images:gawk-main@noarch",
"Red Hat Hardened Images:gawk-main@src",
"Red Hat Hardened Images:gawk-main@x86_64"
]
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "LOW",
"baseScore": 4.4,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "NONE",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L",
"version": "3.1"
},
"products": [
"Red Hat Hardened Images:gawk-main@aarch64",
"Red Hat Hardened Images:gawk-main@noarch",
"Red Hat Hardened Images:gawk-main@src",
"Red Hat Hardened Images:gawk-main@x86_64"
]
}
],
"threats": [
{
"category": "impact",
"details": "Moderate"
}
],
"title": "gawk: gawk: Memory corruption via integer overflow"
},
{
"cve": "CVE-2026-40469",
"cwe": {
"id": "CWE-190",
"name": "Integer Overflow or Wraparound"
},
"discovery_date": "2026-07-13T13:01:26.529702+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "2499656"
}
],
"notes": [
{
"category": "description",
"text": "A flaw was found in gawk. An integer overflow vulnerability exists in the `do_sub()` routine, which could allow an attacker to overwrite internal program data. This can lead to a denial of service (DoS) by causing the gawk program to crash. This issue affects 32-bit builds of gawk.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "gawk: gawk: Denial of Service due to integer overflow",
"title": "Vulnerability summary"
},
{
"category": "other",
"text": "This vulnerability is only present in 32-bit builds of gawk, which are not provided for Red Hat CoreOS, Red Hat Enterprise Linux versions 7 and later.",
"title": "Statement"
},
{
"category": "general",
"text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
"title": "CVSS score applicability"
}
],
"product_status": {
"fixed": [
"Red Hat Hardened Images:gawk-main@aarch64",
"Red Hat Hardened Images:gawk-main@noarch",
"Red Hat Hardened Images:gawk-main@src",
"Red Hat Hardened Images:gawk-main@x86_64"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2026-40469"
},
{
"category": "external",
"summary": "RHBZ#2499656",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2499656"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2026-40469",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-40469"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2026-40469",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-40469"
},
{
"category": "external",
"summary": "https://cert.pl/en/posts/2026/07/CVE-2026-40467",
"url": "https://cert.pl/en/posts/2026/07/CVE-2026-40467"
},
{
"category": "external",
"summary": "https://cgit.git.savannah.gnu.org/cgit/gawk.git/commit/?id=ae1b2d508f46913269a9e62aceda3636afe8147b",
"url": "https://cgit.git.savannah.gnu.org/cgit/gawk.git/commit/?id=ae1b2d508f46913269a9e62aceda3636afe8147b"
}
],
"release_date": "2026-07-13T12:07:55.692000+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2026-07-15T14:28:58+00:00",
"details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\nhttps://images.redhat.com/",
"product_ids": [
"Red Hat Hardened Images:gawk-main@aarch64",
"Red Hat Hardened Images:gawk-main@noarch",
"Red Hat Hardened Images:gawk-main@src",
"Red Hat Hardened Images:gawk-main@x86_64"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2026:40041"
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "LOW",
"baseScore": 2.8,
"baseSeverity": "LOW",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L",
"version": "3.1"
},
"products": [
"Red Hat Hardened Images:gawk-main@aarch64",
"Red Hat Hardened Images:gawk-main@noarch",
"Red Hat Hardened Images:gawk-main@src",
"Red Hat Hardened Images:gawk-main@x86_64"
]
}
],
"threats": [
{
"category": "impact",
"details": "Moderate"
}
],
"title": "gawk: gawk: Denial of Service due to integer overflow"
},
{
"cve": "CVE-2026-40553",
"cwe": {
"id": "CWE-121",
"name": "Stack-based Buffer Overflow"
},
"discovery_date": "2026-07-13T13:01:32.299484+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "2499657"
}
],
"notes": [
{
"category": "description",
"text": "A flaw was found in gawk. A buffer overflow vulnerability exists in the `ftype()` routine, located in the `extension/readdir.c` program file. This vulnerability could allow an attacker to crash the program, resulting in a denial of service. It may also potentially lead to arbitrary code execution, though this has not been definitively confirmed.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "gawk: Gawk: Buffer overflow in ftype() routine may lead to code execution or denial of service",
"title": "Vulnerability summary"
},
{
"category": "other",
"text": "Moderate: A buffer overflow in gawk\u0027s `ftype()` routine, when processing untrusted input, could lead to a denial of service or potentially arbitrary code execution. This is rated Moderate as successful exploitation requires user interaction, such as processing a specially crafted file.",
"title": "Statement"
},
{
"category": "general",
"text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
"title": "CVSS score applicability"
}
],
"product_status": {
"fixed": [
"Red Hat Hardened Images:gawk-main@aarch64",
"Red Hat Hardened Images:gawk-main@noarch",
"Red Hat Hardened Images:gawk-main@src",
"Red Hat Hardened Images:gawk-main@x86_64"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2026-40553"
},
{
"category": "external",
"summary": "RHBZ#2499657",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2499657"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2026-40553",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-40553"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2026-40553",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-40553"
},
{
"category": "external",
"summary": "https://cert.pl/en/posts/2026/07/CVE-2026-40467",
"url": "https://cert.pl/en/posts/2026/07/CVE-2026-40467"
},
{
"category": "external",
"summary": "https://cgit.git.savannah.gnu.org/cgit/gawk.git/commit/?id=cca0366144336b49aaa7d5d949966ce8e2c70843",
"url": "https://cgit.git.savannah.gnu.org/cgit/gawk.git/commit/?id=cca0366144336b49aaa7d5d949966ce8e2c70843"
}
],
"release_date": "2026-07-13T12:07:56.611000+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2026-07-15T14:28:58+00:00",
"details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\nhttps://images.redhat.com/",
"product_ids": [
"Red Hat Hardened Images:gawk-main@aarch64",
"Red Hat Hardened Images:gawk-main@noarch",
"Red Hat Hardened Images:gawk-main@src",
"Red Hat Hardened Images:gawk-main@x86_64"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2026:40041"
},
{
"category": "workaround",
"details": "Do not run gawk against untrusted scripts, files, or directories to prevent triggering these vulnerabilities. If an attack is attempted, Red Hat\u0027s built-in memory protections will safely crash the program, preventing malicious code execution.",
"product_ids": [
"Red Hat Hardened Images:gawk-main@aarch64",
"Red Hat Hardened Images:gawk-main@noarch",
"Red Hat Hardened Images:gawk-main@src",
"Red Hat Hardened Images:gawk-main@x86_64"
]
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 6.2,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"version": "3.1"
},
"products": [
"Red Hat Hardened Images:gawk-main@aarch64",
"Red Hat Hardened Images:gawk-main@noarch",
"Red Hat Hardened Images:gawk-main@src",
"Red Hat Hardened Images:gawk-main@x86_64"
]
}
],
"threats": [
{
"category": "impact",
"details": "Moderate"
}
],
"title": "gawk: Gawk: Buffer overflow in ftype() routine may lead to code execution or denial of service"
}
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.