Technology hubs · Nginx

Nginx security fix timeline

Public commits from nginx/nginx whose messages cite a vulnerability or a security fix. Patch text is not stored.

12 security-fix timeline events

  1. Jul 29, 2026

    Script: reserved memory overrun protection in ngx_http_script_run()

    Script: reserved memory overrun protection in ngx_http_script_run() In b76754049 buffer overrun protection in script was introduced. However in ngx_http_script_run() data could still spill over to the reserved area. This had no visible effects except the return value which cou…

  2. Jul 10, 2026

    Avoid post-rewrite URI to path mapping with alias

    Avoid post-rewrite URI to path mapping with alias Previously, after a "rewrite" had changed the URI, and before a new location was chosen, the new URI might not match the current location prefix. This becomes a problem when the location uses "alias", which is why normally such…

  3. May 14, 2026

    Rewrite: fix buffer overflow with overlapping captures

    Rewrite: fix buffer overflow with overlapping captures When the rewrite replacement string had no variables, but had overlapping captures, the length of the allocated buffer could be smaller than the replacement string. This could happen either when the "redirect" parameter is…

  4. May 14, 2026

    Rewrite: harden escape flags control

    Rewrite: harden escape flags control Following 2046b45aa0c6, this change introduces better control of memory allocation flags for escaped values. Notably: - The e->is_args flag is now explicitly reset on rewrite start. If the flag was set prior to rewrite start, then buffer…

  5. Mar 27, 2020

    Fixed buffer overflow.

    Fixed buffer overflow.

  6. Jul 18, 2019

    Xslt: fixed potential buffer overflow with null character.

    Xslt: fixed potential buffer overflow with null character. Due to shortcomings of the ccv->zero flag implementation in complex value interface, length of the resulting string from ngx_http_complex_value() might either not include terminating null character or include it, so the…

  7. Jul 18, 2019

    SSI: avoid potential buffer overflow.

    SSI: avoid potential buffer overflow. When "-" follows a parameter of maximum length, a single byte buffer overflow happens, since the error branch does not check parameter length. Fix is to avoid saving "-" to the parameter key, and instead use an error message with "-" explic…

  8. Aug 22, 2017

    Secure link: fixed stack buffer overflow.

    Secure link: fixed stack buffer overflow. When secure link checksum has length of 23 or 24 bytes, decoded base64 value could occupy 17 or 18 bytes which is more than 16 bytes previously allocated for it on stack. The buffer overflow does not have any security implications sinc…

  9. Jan 27, 2015

    A bounds check of %N format on Windows.

    A bounds check of %N format on Windows. Thanks to Joe Bialek, Adam Zabrocki and Microsoft Vulnerability Research.

  10. Apr 30, 2014

    SPDY: added a debug point to the state buffer overflow protection.

    SPDY: added a debug point to the state buffer overflow protection.