Incorrect Calculation of Buffer Size Affecting nginx-mod-http-perl package, versions *


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
3.6% (89th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL9-NGINXMODHTTPPERL-18094653
  • published21 Jul 2026
  • disclosed15 Jul 2026

Introduced: 15 Jul 2026

NewCVE-2026-42533  (opens in a new tab)
CWE-131  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:9 nginx-mod-http-perl.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nginx-mod-http-perl package and not the nginx-mod-http-perl package as distributed by RHEL. See How to fix? for RHEL:9 relevant fixed versions and status.

A vulnerability exists in NGINX Plus and NGINX Open Source when a map directive uses regex matching and a string expression references the map's regex capture variables before referencing the map output variable. Alternatively, the same result could be achieved by using a non-cacheable variable in a string expression under certain conditions. An unauthenticated attacker along with conditions beyond their control can exploit this vulnerability by sending crafted HTTP requests. This may cause a heap buffer overflow in the NGINX worker process leading to a restart. Additionally, attackers can execute code on systems with Address Space Layout Randomization (ASLR) disabled or when the attacker can bypass ASLR.

Impact: This vulnerability may allow remote attackers to cause a denial-of-service (DoS) on the NGINX system or to possibly trigger a code execution. There is no control plane exposure; this is a data plane issue only.

 Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.

CVSS Base Scores

version 3.1