CVE-2026-27784
NGINX vulnerability analysis and mitigation

Overview

CVE-2026-27784 is an integer overflow vulnerability in the ngx_http_mp4_module module of 32-bit NGINX Open Source that may allow an attacker to over-read or over-write NGINX worker memory, potentially resulting in worker process termination. It was published on March 24, 2026, and affects NGINX Open Source versions 1.1.19 through 1.28.2 and 1.29.0 through 1.29.6. The vulnerability is classified as CWE-190 (Integer Overflow or Wraparound) and carries a CVSS v3.1 base score of 5.5 (Medium) and a CVSS v4.0 base score of 8.5 (High) (RedHat CVE, F5 Advisory).

Technical details

The root cause is an integer overflow or wraparound (CWE-190) in the ngx_http_mp4_module module, specifically within the 32-bit build of NGINX Open Source. When processing a specially crafted MP4 file, integer arithmetic in the module can overflow, causing the server to over-read or over-write memory in the NGINX worker process. Exploitation requires three preconditions: (1) NGINX must be compiled as a 32-bit binary, (2) the ngx_http_mp4_module must be included at build time, and (3) the mp4 directive must be active in the configuration file. The attack vector is local (AV:L) with low privileges required, meaning an attacker must be able to supply a malicious MP4 file for processing by the module (F5 Advisory, RedHat CVE).

Impact

Successful exploitation can result in confidentiality breach through over-reading of NGINX worker memory, integrity compromise through over-writing of worker memory, and availability impact through termination of NGINX worker processes. The attack surface is limited to 32-bit NGINX deployments with the MP4 module explicitly configured and accessible to process untrusted MP4 files. There is no evidence of lateral movement potential beyond the affected worker process scope (F5 Advisory).

Exploitation steps

  1. Identify target: Locate a server running 32-bit NGINX Open Source (versions 1.1.19–1.28.2 or 1.29.0–1.29.6) compiled with ngx_http_mp4_module and the mp4 directive enabled in its configuration.
  2. Craft malicious MP4 file: Create a specially crafted MP4 file with manipulated metadata or atom sizes designed to trigger an integer overflow in the module's parsing logic.
  3. Trigger processing: Submit the malicious MP4 file to an endpoint served by the vulnerable NGINX instance that invokes the mp4 directive (e.g., a video streaming endpoint using mp4 pseudo-streaming).
  4. Achieve impact: The integer overflow causes the module to over-read or over-write NGINX worker memory, potentially leaking sensitive memory contents or crashing the worker process, resulting in a denial of service (F5 Advisory).

Indicators of compromise

  • Logs: Unexpected NGINX worker process crash entries in /var/log/nginx/error.log (e.g., worker process exited on signal); repeated requests to MP4 streaming endpoints with unusual or malformed file parameters.
  • Process: NGINX master process spawning replacement worker processes unexpectedly; abnormal termination of nginx: worker process entries visible via ps or system logs.
  • Network: Repeated HTTP requests to MP4 pseudo-streaming endpoints (e.g., URLs containing ?start= parameters) from a single source with varying or oversized MP4 files.
  • File System: Presence of unusually large or malformed .mp4 files in directories served by NGINX with the mp4 directive enabled.

Mitigation and workarounds

F5/NGINX has released patched versions: NGINX Open Source 1.28.3 (stable branch) and 1.29.7 (mainline branch). Organizations should upgrade to one of these versions as the primary remediation. If immediate patching is not possible, the following workarounds are recommended: (1) remove or comment out the mp4 directive from the NGINX configuration and reload the service, (2) restrict access to MP4 processing endpoints to trusted sources only via firewall or NGINX allow/deny directives, and (3) consider deploying 64-bit NGINX builds, which are not affected by this vulnerability. Red Hat has also issued errata (e.g., RHSA-2026:6906, RHSA-2026:6907, RHSA-2026:6923) for affected RHEL packages (F5 Advisory, RedHat CVE).

Community reactions

The vulnerability received coverage from security news outlets including SecurityOnline.info and SecureReading.com, which described it as part of a broader set of NGINX vulnerabilities with potential for DoS and memory corruption. The Hacker Wire posted about it on Mastodon shortly after disclosure. Multiple Linux distributions (Red Hat, SUSE, Ubuntu, Debian, Amazon Linux, openSUSE) issued security advisories and package updates in the weeks following disclosure, reflecting broad ecosystem attention. Community discussion was measured, consistent with the limited attack surface imposed by the 32-bit-only constraint (SecurityOnline, RedHat CVE).

Additional resources


SourceThis report was generated using AI

Related NGINX vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-42533CRITICAL9.2
  • NGINX logoNGINX
  • nginx-mod-http-geoip-debuginfo
NoYesJul 15, 2026
CVE-2026-42530CRITICAL9.2
  • NGINX logoNGINX
  • nginx-mod-stream-debuginfo
NoYesJun 17, 2026
CVE-2026-60005HIGH8.8
  • NGINX logoNGINX
  • nginx-mod-modsecurity-debugsource
NoYesJul 15, 2026
CVE-2026-56434HIGH8.3
  • NGINX logoNGINX
  • nginx-mod-brotli
NoYesJul 15, 2026
CVE-2026-48142MEDIUM6.3
  • NGINX logoNGINX
  • nginx-filesystem
NoYesJun 17, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management