CVE Vulnerabilities

CVE-2026-42946

Memory Allocation with Excessive Size Value

Published: May 13, 2026 | Modified: Jun 18, 2026
CVSS 3.x
7.4
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
7.4 MODERATE
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

A vulnerability exists in the ngx_http_scgi_module and ngx_http_uwsgi_module modules that may result in excessive memory allocation or an over-read of data. When scgi_pass or uwsgi_pass is configured, an unauthenticated attacker with man-in-the-middle (MITM) ability to control responses from an upstream server may be able to read the memory of the NGINX worker process or restart it.  Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.

Weakness

The product allocates memory based on an untrusted, large size value, but it does not ensure that the size is within expected limits, allowing arbitrary amounts of memory to be allocated.

Affected Software

NameVendorStart VersionEnd Version
DosF54.3.0 (including)4.7.0 (including)
DosF54.8.0 (including)4.8.0 (including)
Nginx_gateway_fabricF51.3.0 (including)1.6.2 (including)
Nginx_gateway_fabricF52.0.0 (including)2.6.0 (including)
Nginx_ingress_controllerF53.5.0 (including)3.7.2 (including)
Nginx_ingress_controllerF54.0.0 (including)4.0.1 (including)
Nginx_ingress_controllerF55.0.0 (including)5.4.2 (including)
Nginx_instance_managerF52.16.0 (including)2.22.0 (including)
Nginx_open_sourceF50.8.42 (including)0.9.7 (including)
Nginx_open_sourceF51.0.0 (including)1.30.0 (including)
Nginx_plusF5r32 (including)r36 (including)
WafF54.9.0 (including)4.16.0 (including)
WafF55.1.0 (including)5.8.0 (including)
WafF55.9.0 (including)5.12.1 (including)
NginxUbuntuesm-infra-legacy/trusty*
NginxUbuntuesm-infra-legacy/xenial*
NginxUbuntuesm-infra/bionic*
NginxUbuntuesm-infra/focal*
NginxUbuntuesm-infra/xenial*
NginxUbuntujammy*
NginxUbuntunoble*
NginxUbuntuquesting*
NginxUbunturesolute*

Potential Mitigations

References