Skip to content
Heist/ feed
Back to feed
Critical

gawk — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2026-40469

Integer overflow vulnerability has been found in "builtin.c" program file of gawk (do_sub() routine). This issue could be used to overwrite gawk heap metadata and objects causing the program to crash. It affects 32-bit builds of gawk in versions 5.4.0 and below.

Products
gawk
Affected versions
1:5.2.1-2, 1:5.3.2-1
Fixed versions
Not specified
CVEs
CVE-2026-40469
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 09:52 UTC · Revision 2

Source evidence

DEBIAN-CVE-2026-40469

core-osv · Original source

Published 13 Jul 2026, 13:16 UTC

Integer overflow vulnerability has been found in "builtin.c" program file of gawk (do_sub() routine). This issue could be used to overwrite gawk heap metadata and objects causing the program to crash. It affects 32-bit builds of gawk in versions 5.4.0 and below.

osv:DEBIAN-CVE-2026-40469

gawk

Fixed versions: Not specified

gawk

Fixed versions: Not specified

gawk

Fixed versions: Not specified

Complete source record
{
  "id": "f45e4f1cf7687fed3860566da0a9f80f1697636f0e4d555244254e9d5e7c4cbf",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-40469",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2026-40469",
    "summary": "Integer overflow vulnerability has been found in \"builtin.c\" program file of gawk (do_sub() routine). This issue could be used to overwrite gawk heap metadata and objects causing the program to crash. It affects 32-bit builds of gawk in versions 5.4.0 and below.",
    "evidence": "osv:DEBIAN-CVE-2026-40469",
    "products": [
      {
        "name": {
          "value": "gawk",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1:5.2.1-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1:5.3.2-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "gawk",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1:5.2.1-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1:5.3.2-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "gawk",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1:5.2.1-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1:5.3.2-1",
            "evidence": "/affected/2/versions"
          }
        ]
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "DEBIAN-CVE-2026-40469",
      "aliases": [
        "DEBIAN-CVE-2026-40469"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "gawk",
            "purl": "pkg:deb/debian/gawk?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "1:5.2.1-2",
            "1:5.3.2-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-40469.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "gawk",
            "purl": "pkg:deb/debian/gawk?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "versions": [
            "1:5.2.1-2",
            "1:5.3.2-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-40469.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "gawk",
            "purl": "pkg:deb/debian/gawk?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "versions": [
            "1:5.2.1-2",
            "1:5.3.2-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-40469.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-25T09:47:35.658074228Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-40469"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2026-40469"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-40469",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 445120,
  "published_at": "2026-07-13T13:16:37.033+00:00"
}