Security Advisory: CVE-2026-42533

Severity
Critical
Published
2026-08-10
Fixed versions
  • 3.15.0.3
  • 3.14.0.12
  • 3.13.0.9
  • 3.12.0.10
  • 3.10.0.17
  • 3.4.3.29
Affected versions
  • 3.15.0.0 to 3.15.0.2
  • 3.14.0.0 to 3.14.0.11
  • 3.13.0.0 to 3.13.0.8
  • 3.12.0.0 to 3.12.0.9
  • 3.10.0.0 to 3.10.0.16
  • 3.4.0.0 to 3.4.3.28

CVE

Description

Severity

Affects Kong

CVE-2026-42533 NGINX map directive heap buffer overflow Critical (CVSS 4.0: 9.2) Yes

A critical-severity NGINX map directive heap buffer overflow may affect Kong API Gateway Enterprise and Kong AI Gateway Enterprise when a custom NGINX configuration uses a vulnerable regular-expression pattern.

CVE-2026-42533

Kong API Gateway Enterprise and Kong AI Gateway Enterprise include NGINX/OpenResty and may be affected when a custom NGINX configuration uses the map directive with regular-expression matching in a vulnerable expression pattern.

A remote, unauthenticated attacker with network access to an affected HTTP listener could send crafted requests that trigger a heap buffer overflow in an NGINX worker process. Successful exploitation may cause the worker process to restart, resulting in service degradation or a denial-of-service (DoS) condition. In limited environments where Address Space Layout Randomization (ASLR) is disabled or can be bypassed, arbitrary code execution may also be possible.

  • Severity: Critical
  • CVSS v4.0 score: 9.2
  • Vector: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Am I affected?

You should consider a Kong API Gateway Enterprise deployment affected if all of the following are true:

  • Your NGINX configuration defines a map directive that uses regular-expression matching.
  • A string expression references the regular-expression capture variables before referencing the output variable of the map directive, or uses a non-cacheable variable in a vulnerable expression pattern.
  • An affected HTTP listener is reachable by untrusted clients or exposed to the internet.

Deployments that do not use this specific map configuration pattern are not affected by this issue.

Impacted products

All Kong API Gateway Enterprise versions prior to the patch versions listed in the Patches section.

Patches

The vulnerability is addressed by applying the following patch:

Impacted supported versions of Kong API Gateway Enterprise

Patch

3.15.0.0 - 3.15.0.2 3.15.0.3
3.14.0.0 - 3.14.0.11 3.14.0.12
3.13.0.0 - 3.13.0.8 3.13.0.9
3.12.0.0 - 3.12.0.9 3.12.0.10
3.10.0.0 - 3.10.0.16 3.10.0.17
3.4.0.0 - 3.4.3.28 3.4.3.29

Contact

If you have questions or need help, open a case with Kong Support or email support@konghq.com.

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!