CVE-2026-40553

Source
https://cve.org/CVERecord?id=CVE-2026-40553
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40553.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-40553
Downstream
AZL (1)
BELL (1)
CLSA (3)
DEBIAN (1)
ECHO (1)
JLSEC (1)
MGASA (1)
OESA (5)
openSUSE (1)
RHSA (4)
RLSA (2)
SUSE (4)
UBUNTU (1)
Related
Published
2026-07-13T12:07:56Z
Modified
2026-10-26T02:30:34Z
Severity
  • 5.1 (Medium) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:L/SI:L/SA:L CVSS Calculator
Summary
Stack-based buffer overflow in gawk
Details

Buffer overflow vulnerability has been found in "extension/readdir.c" program file of gawk (ftype() routine). This issue could be used to crash the program and potentially to achieve code execution, although the latter has not been confirmed to be feasible. It affects gawk in versions 5.4.0 and below.

Database specific
{
    "cna_assigner":  "CERT-PL",
    "cwe_ids":  [
        "CWE-121"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40553.json",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "last_affected":  "5.4.0"
                        }
                    ],
                    "source":  "AFFECTED_FIELD",
                    "strategy":  "StandardRange"
                }
            ]
        },
        {
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "last_affected":  "5.4.0"
                        }
                    ],
                    "source":  "DESCRIPTION"
                }
            ]
        }
    ]
}
References

Affected packages

Git / cgit.git.savannah.gnu.org/cgit/gawk.git

Affected ranges

Type
GIT
Repo
https://cgit.git.savannah.gnu.org/cgit/gawk.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
cca0366144336b49aaa7d5d949966ce8e2c70843
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "fixed":  "cca0366144336b49aaa7d5d949966ce8e2c70843"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40553.json"