<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from osv_homebrew</title>
    <link>https://db.gcve.eu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Mon, 12 Oct 2026 22:48:41 +0000</lastBuildDate>
    <item>
      <title>BREW-gimme-aws-creds-CVE-2024-37891 — urllib3's Proxy-Authorization request header isn't stripped during cross-origin redirects</title>
      <link>https://db.gcve.eu/vuln/brew-gimme-aws-creds-cve-2024-37891</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Homebrew: gimme-aws-creds&lt;/p&gt;
&lt;p&gt;When using urllib3&amp;#39;s proxy support with `ProxyManager`, the `Proxy-Authorization` header is only sent to the configured proxy, as expected.&lt;/p&gt;
&lt;p&gt;However, when sending HTTP requests *without* using urllib3&amp;#39;s proxy support, it&amp;#39;s possible to accidentally configure the `Proxy-Authorization` header even though it won&amp;#39;t have any effect as the request is not using a forwarding proxy or a tunneling proxy. In those cases, urllib3 doesn&amp;#39;t treat the `Proxy-Authorization` HTTP header as one carrying authentication material and thus doesn&amp;#39;t strip the header on cross-origin redirects.&lt;/p&gt;
&lt;p&gt;Because this is a highly unlikely scenario, we believe the severity of this vulnerability is low for almost all users. Out of an abundance of caution urllib3 will automatically strip the `Proxy-Authorization` header during cross-origin redirects to avoid the small chance that users are doing this on accident.&lt;/p&gt;
&lt;p&gt;Users should use urllib3&amp;#39;s proxy support or disable automatic redirects to achieve safe processing of the `Proxy-Authorization` header, but we still decided to strip the header by default in order to further protect users who aren&amp;#39;t using the correct approach.&lt;/p&gt;
&lt;p&gt;## Affected usages&lt;/p&gt;
&lt;p&gt;We believe the number of usages affected by this advisory is low. It requires all of the following to be true to be exploited:&lt;/p&gt;
&lt;p&gt;* Setting the `Proxy-Authorization` header without using urllib3&amp;#39;s built-in proxy support.
* Not disabling HTTP redirects.
* Either not using an HTTPS origin server or for the proxy or target origin to…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Homebrew: gimme-aws-creds&lt;/p&gt;
&lt;p&gt;When using urllib3&amp;#39;s proxy support with `ProxyManager`, the `Proxy-Authorization` header is only sent to the configured proxy, as expected.&lt;/p&gt;
&lt;p&gt;However, when sending HTTP requests *without* using urllib3&amp;#39;s proxy support, it&amp;#39;s possible to accidentally configure the `Proxy-Authorization` header even though it won&amp;#39;t have any effect as the request is not using a forwarding proxy or a tunneling proxy. In those cases, urllib3 doesn&amp;#39;t treat the `Proxy-Authorization` HTTP header as one carrying authentication material and thus doesn&amp;#39;t strip the header on cross-origin redirects.&lt;/p&gt;
&lt;p&gt;Because this is a highly unlikely scenario, we believe the severity of this vulnerability is low for almost all users. Out of an abundance of caution urllib3 will automatically strip the `Proxy-Authorization` header during cross-origin redirects to avoid the small chance that users are doing this on accident.&lt;/p&gt;
&lt;p&gt;Users should use urllib3&amp;#39;s proxy support or disable automatic redirects to achieve safe processing of the `Proxy-Authorization` header, but we still decided to strip the header by default in order to further protect users who aren&amp;#39;t using the correct approach.&lt;/p&gt;
&lt;p&gt;## Affected usages&lt;/p&gt;
&lt;p&gt;We believe the number of usages affected by this advisory is low. It requires all of the following to be true to be exploited:&lt;/p&gt;
&lt;p&gt;* Setting the `Proxy-Authorization` header without using urllib3&amp;#39;s built-in proxy support.
* Not disabling HTTP redirects.
* Either not using an HTTPS origin server or for the proxy or target origin to…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/brew-gimme-aws-creds-cve-2024-37891</guid>
      <pubDate>Thu, 13 Aug 2026 16:50:34 +0000</pubDate>
    </item>
    <item>
      <title>BREW-gimme-aws-creds-CVE-2023-45803 — urllib3's request body not stripped after redirect from 303 status changes request method to GET</title>
      <link>https://db.gcve.eu/vuln/brew-gimme-aws-creds-cve-2023-45803</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Homebrew: gimme-aws-creds&lt;/p&gt;
&lt;p&gt;urllib3 previously wouldn&amp;#39;t remove the HTTP request body when an HTTP redirect response using status 303 &amp;#34;See Other&amp;#34; after the request had its method changed from one that could accept a request body (like `POST`) to `GET` as is required by HTTP RFCs. Although the behavior of removing the request body is not specified in the section for redirects, it can be inferred by piecing together information from different sections and we have observed the behavior in other major HTTP client implementations like curl and web browsers.&lt;/p&gt;
&lt;p&gt;From [RFC 9110 Section 9.3.1](https://www.rfc-editor.org/rfc/rfc9110.html#name-get):&lt;/p&gt;
&lt;p&gt;&amp;gt; A client SHOULD NOT generate content in a GET request unless it is made directly to an origin server that has previously indicated, in or out of band, that such a request has a purpose and will be adequately supported.&lt;/p&gt;
&lt;p&gt;## Affected usages&lt;/p&gt;
&lt;p&gt;Because the vulnerability requires a previously trusted service to become compromised in order to have an impact on confidentiality we believe the exploitability of this vulnerability is low. Additionally, many users aren&amp;#39;t putting sensitive data in HTTP request bodies, if this is the case then this vulnerability isn&amp;#39;t exploitable.&lt;/p&gt;
&lt;p&gt;Both of the following conditions must be true to be affected by this vulnerability:&lt;/p&gt;
&lt;p&gt;* If you&amp;#39;re using urllib3 and submitting sensitive information in the HTTP request body (such as form data or JSON)
* The origin service is compromised and starts redirecting using 303 to a malicious peer or the redirect…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Homebrew: gimme-aws-creds&lt;/p&gt;
&lt;p&gt;urllib3 previously wouldn&amp;#39;t remove the HTTP request body when an HTTP redirect response using status 303 &amp;#34;See Other&amp;#34; after the request had its method changed from one that could accept a request body (like `POST`) to `GET` as is required by HTTP RFCs. Although the behavior of removing the request body is not specified in the section for redirects, it can be inferred by piecing together information from different sections and we have observed the behavior in other major HTTP client implementations like curl and web browsers.&lt;/p&gt;
&lt;p&gt;From [RFC 9110 Section 9.3.1](https://www.rfc-editor.org/rfc/rfc9110.html#name-get):&lt;/p&gt;
&lt;p&gt;&amp;gt; A client SHOULD NOT generate content in a GET request unless it is made directly to an origin server that has previously indicated, in or out of band, that such a request has a purpose and will be adequately supported.&lt;/p&gt;
&lt;p&gt;## Affected usages&lt;/p&gt;
&lt;p&gt;Because the vulnerability requires a previously trusted service to become compromised in order to have an impact on confidentiality we believe the exploitability of this vulnerability is low. Additionally, many users aren&amp;#39;t putting sensitive data in HTTP request bodies, if this is the case then this vulnerability isn&amp;#39;t exploitable.&lt;/p&gt;
&lt;p&gt;Both of the following conditions must be true to be affected by this vulnerability:&lt;/p&gt;
&lt;p&gt;* If you&amp;#39;re using urllib3 and submitting sensitive information in the HTTP request body (such as form data or JSON)
* The origin service is compromised and starts redirecting using 303 to a malicious peer or the redirect…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/brew-gimme-aws-creds-cve-2023-45803</guid>
      <pubDate>Thu, 13 Aug 2026 16:50:34 +0000</pubDate>
    </item>
    <item>
      <title>BREW-gimme-aws-creds-CVE-2023-43804 — `Cookie` HTTP header isn't stripped on cross-origin redirects</title>
      <link>https://db.gcve.eu/vuln/brew-gimme-aws-creds-cve-2023-43804</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Homebrew: gimme-aws-creds&lt;/p&gt;
&lt;p&gt;urllib3 doesn&amp;#39;t treat the `Cookie` HTTP header special or provide any helpers for managing cookies over HTTP, that is the responsibility of the user. However, it is possible for a user to specify a `Cookie` header and unknowingly leak information via HTTP redirects to a different origin if that user doesn&amp;#39;t disable redirects explicitly.&lt;/p&gt;
&lt;p&gt;Users **must** handle redirects themselves instead of relying on urllib3&amp;#39;s automatic redirects to achieve safe processing of the `Cookie` header, thus we decided to strip the header by default in order to further protect users who aren&amp;#39;t using the correct approach.&lt;/p&gt;
&lt;p&gt;## Affected usages&lt;/p&gt;
&lt;p&gt;We believe the number of usages affected by this advisory is low. It requires all of the following to be true to be exploited:&lt;/p&gt;
&lt;p&gt;* Using an affected version of urllib3 (patched in v1.26.17 and v2.0.6)
* Using the `Cookie` header on requests, which is mostly typical for impersonating a browser.
* Not disabling HTTP redirects
* Either not using HTTPS or for the origin server to redirect to a malicious origin.&lt;/p&gt;
&lt;p&gt;## Remediation&lt;/p&gt;
&lt;p&gt;* Upgrading to at least urllib3 v1.26.17 or v2.0.6
* Disabling HTTP redirects using `redirects=False` when sending requests.
* Not using the `Cookie` header.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Homebrew: gimme-aws-creds&lt;/p&gt;
&lt;p&gt;urllib3 doesn&amp;#39;t treat the `Cookie` HTTP header special or provide any helpers for managing cookies over HTTP, that is the responsibility of the user. However, it is possible for a user to specify a `Cookie` header and unknowingly leak information via HTTP redirects to a different origin if that user doesn&amp;#39;t disable redirects explicitly.&lt;/p&gt;
&lt;p&gt;Users **must** handle redirects themselves instead of relying on urllib3&amp;#39;s automatic redirects to achieve safe processing of the `Cookie` header, thus we decided to strip the header by default in order to further protect users who aren&amp;#39;t using the correct approach.&lt;/p&gt;
&lt;p&gt;## Affected usages&lt;/p&gt;
&lt;p&gt;We believe the number of usages affected by this advisory is low. It requires all of the following to be true to be exploited:&lt;/p&gt;
&lt;p&gt;* Using an affected version of urllib3 (patched in v1.26.17 and v2.0.6)
* Using the `Cookie` header on requests, which is mostly typical for impersonating a browser.
* Not disabling HTTP redirects
* Either not using HTTPS or for the origin server to redirect to a malicious origin.&lt;/p&gt;
&lt;p&gt;## Remediation&lt;/p&gt;
&lt;p&gt;* Upgrading to at least urllib3 v1.26.17 or v2.0.6
* Disabling HTTP redirects using `redirects=False` when sending requests.
* Not using the `Cookie` header.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/brew-gimme-aws-creds-cve-2023-43804</guid>
      <pubDate>Thu, 13 Aug 2026 16:50:34 +0000</pubDate>
    </item>
    <item>
      <title>BREW-dynaconf-CVE-2026-33154 — dynaconf Affected by Remote Code Execution (RCE) via Insecure Template Evaluation in @jinja Resolver</title>
      <link>https://db.gcve.eu/vuln/brew-dynaconf-cve-2026-33154</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Homebrew: dynaconf&lt;/p&gt;
&lt;p&gt;### Summary
Dynaconf is vulnerable to Server-Side Template Injection (SSTI) due to unsafe template evaluation in the @jinja resolver.
When the jinja2 package is installed, Dynaconf evaluates template expressions embedded in configuration values without a sandboxed environment.&lt;/p&gt;
&lt;p&gt;If an attacker can influence configuration sources such as:
environment variables
.env files
container environment configuration
CI/CD secrets
they can execute arbitrary OS commands on the host system.
In addition, the @format resolver allows object graph traversal, which may expose sensitive runtime objects and environment variables.&lt;/p&gt;
&lt;p&gt;### Details
The vulnerability arises because Dynaconf&amp;#39;s string resolvers lack proper security boundaries.&lt;/p&gt;
&lt;p&gt;1. @jinja Resolver
The @jinja resolver renders templates using full Jinja2 evaluation.
However, the rendering context is not sandboxed, which allows attackers to access Python&amp;#39;s internal attributes.
Using objects such as cycler, attackers can reach Python&amp;#39;s __globals__ and import the os module.&lt;/p&gt;
&lt;p&gt;Example attack path
cycler
 → __init__
 → __globals__
 → os
 → popen()
This leads to arbitrary command execution.&lt;/p&gt;
&lt;p&gt;2. @format Resolver
The @format resolver performs Python string formatting using internal objects.
This allows attackers to traverse Python&amp;#39;s object graph and access sensitive runtime objects.
Example traversal:
{this.__class__.__init__.__globals__[os].environ}
This can expose
- API keys
- database credentials
- internal service tokens
- environment secrets&lt;/p&gt;
&lt;p&gt;##…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Homebrew: dynaconf&lt;/p&gt;
&lt;p&gt;### Summary
Dynaconf is vulnerable to Server-Side Template Injection (SSTI) due to unsafe template evaluation in the @jinja resolver.
When the jinja2 package is installed, Dynaconf evaluates template expressions embedded in configuration values without a sandboxed environment.&lt;/p&gt;
&lt;p&gt;If an attacker can influence configuration sources such as:
environment variables
.env files
container environment configuration
CI/CD secrets
they can execute arbitrary OS commands on the host system.
In addition, the @format resolver allows object graph traversal, which may expose sensitive runtime objects and environment variables.&lt;/p&gt;
&lt;p&gt;### Details
The vulnerability arises because Dynaconf&amp;#39;s string resolvers lack proper security boundaries.&lt;/p&gt;
&lt;p&gt;1. @jinja Resolver
The @jinja resolver renders templates using full Jinja2 evaluation.
However, the rendering context is not sandboxed, which allows attackers to access Python&amp;#39;s internal attributes.
Using objects such as cycler, attackers can reach Python&amp;#39;s __globals__ and import the os module.&lt;/p&gt;
&lt;p&gt;Example attack path
cycler
 → __init__
 → __globals__
 → os
 → popen()
This leads to arbitrary command execution.&lt;/p&gt;
&lt;p&gt;2. @format Resolver
The @format resolver performs Python string formatting using internal objects.
This allows attackers to traverse Python&amp;#39;s object graph and access sensitive runtime objects.
Example traversal:
{this.__class__.__init__.__globals__[os].environ}
This can expose
- API keys
- database credentials
- internal service tokens
- environment secrets&lt;/p&gt;
&lt;p&gt;##…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/brew-dynaconf-cve-2026-33154</guid>
      <pubDate>Thu, 13 Aug 2026 16:44:51 +0000</pubDate>
    </item>
    <item>
      <title>BREW-python-lsp-server-CVE-2026-54911 — UltraJSON: Malformed/Truncated UTF-8 Accepted and Silently Rewritten in ujson.dumps()</title>
      <link>https://db.gcve.eu/vuln/brew-python-lsp-server-cve-2026-54911</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Homebrew: python-lsp-server&lt;/p&gt;
&lt;p&gt;### Summary
`ujson.dumps()` (or `ujson.dump()` or `ujson.encode()`) have a `reject_bytes=False` option. When set, they may accept malformed or truncated UTF-8 byte sequences, silently rewriting them into different Unicode characters instead of rejecting them. This leads to input validation bypass and data integrity issues.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;The expected behavior is that for `x` being any bytes string, `x == ujson.loads(ujson.dumps(x, reject_bytes=False)).encode(errors=&amp;#34;surrogatepass&amp;#34;)` should always either be true or `ujson.dumps()` will throw an exception. In reality, some strings which should&amp;#39;ve been errors are silently rewritten as other strings:&lt;/p&gt;
&lt;p&gt;* Invalid continuation bytes are replaced with valid ones: `b&amp;#39;\xcf\x13&amp;#39;` -&amp;gt; `b&amp;#39;\xcf\x93&amp;#39;`
* Unterminated sequence completes the sequence: `b&amp;#39;\xc3&amp;#39;` -&amp;gt; `b&amp;#39;\xc3\x80&amp;#39;`
* ... or leads to reading past the end of string: `b&amp;#39;\xf0\x90\x94&amp;#39;` -&amp;gt; `b&amp;#34;\xf0\x90\x94\x80inxcontrib&amp;#39;&amp;#34;`&lt;/p&gt;
&lt;p&gt;### Impact&lt;/p&gt;
&lt;p&gt;An application relying on reject_bytes=False for UTF-8 handling may experience:&lt;/p&gt;
&lt;p&gt;- Data integrity issues
- Experience validation bypass if said validation occurs before serialisation&lt;/p&gt;
&lt;p&gt;### Remediation&lt;/p&gt;
&lt;p&gt;The missing/broken UTF-8 validation checks were added/fixed in https://github.com/ultrajson/ultrajson/commit/169eaf36b1116fece5034ee79a7a0ef3f6deedcf. We recommend upgrading to [UltraJSON 5.13.0](https://github.com/ultrajson/ultrajson/releases/tag/5.13.0).&lt;/p&gt;
&lt;p&gt;### Workarounds&lt;/p&gt;
&lt;p&gt;Decoding bytes to strings in Python before passing them to `ujson.dumps()` avoids this…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Homebrew: python-lsp-server&lt;/p&gt;
&lt;p&gt;### Summary
`ujson.dumps()` (or `ujson.dump()` or `ujson.encode()`) have a `reject_bytes=False` option. When set, they may accept malformed or truncated UTF-8 byte sequences, silently rewriting them into different Unicode characters instead of rejecting them. This leads to input validation bypass and data integrity issues.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;The expected behavior is that for `x` being any bytes string, `x == ujson.loads(ujson.dumps(x, reject_bytes=False)).encode(errors=&amp;#34;surrogatepass&amp;#34;)` should always either be true or `ujson.dumps()` will throw an exception. In reality, some strings which should&amp;#39;ve been errors are silently rewritten as other strings:&lt;/p&gt;
&lt;p&gt;* Invalid continuation bytes are replaced with valid ones: `b&amp;#39;\xcf\x13&amp;#39;` -&amp;gt; `b&amp;#39;\xcf\x93&amp;#39;`
* Unterminated sequence completes the sequence: `b&amp;#39;\xc3&amp;#39;` -&amp;gt; `b&amp;#39;\xc3\x80&amp;#39;`
* ... or leads to reading past the end of string: `b&amp;#39;\xf0\x90\x94&amp;#39;` -&amp;gt; `b&amp;#34;\xf0\x90\x94\x80inxcontrib&amp;#39;&amp;#34;`&lt;/p&gt;
&lt;p&gt;### Impact&lt;/p&gt;
&lt;p&gt;An application relying on reject_bytes=False for UTF-8 handling may experience:&lt;/p&gt;
&lt;p&gt;- Data integrity issues
- Experience validation bypass if said validation occurs before serialisation&lt;/p&gt;
&lt;p&gt;### Remediation&lt;/p&gt;
&lt;p&gt;The missing/broken UTF-8 validation checks were added/fixed in https://github.com/ultrajson/ultrajson/commit/169eaf36b1116fece5034ee79a7a0ef3f6deedcf. We recommend upgrading to [UltraJSON 5.13.0](https://github.com/ultrajson/ultrajson/releases/tag/5.13.0).&lt;/p&gt;
&lt;p&gt;### Workarounds&lt;/p&gt;
&lt;p&gt;Decoding bytes to strings in Python before passing them to `ujson.dumps()` avoids this…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/brew-python-lsp-server-cve-2026-54911</guid>
      <pubDate>Thu, 13 Aug 2026 17:29:47 +0000</pubDate>
    </item>
    <item>
      <title>BREW-python-lsp-server-CVE-2026-44660 — UltraJSON has a Memory Leak in ujson.dump() on Write Failure</title>
      <link>https://db.gcve.eu/vuln/brew-python-lsp-server-cve-2026-44660</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Homebrew: python-lsp-server&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;When `ujson.dump()` writes to a file-like object and the write operation raises an exception, the serialized JSON string object is not decremented, leaking memory. Each failed write operation leaks the full size of the serialized payload.&lt;/p&gt;
&lt;p&gt;Code that uses `ujson.dumps()` rather than `ujson.dump()` or only JSON load/decode methods is unaffected.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;**Vulnerability Location:**
- `src/ujson/python/objToJSON.c:913` - `objToJSONFile()` function start
- `src/ujson/python/objToJSON.c:931` - Error return on write failure
- `src/ujson/python/objToJSON.c:942` - Early return without cleanup
 
**Root Cause:**&lt;/p&gt;
&lt;p&gt;The `objToJSONFile()` function allocates a Python string object via `ujson_dumps_internal()`, calls the file&amp;#39;s `write()` method, and returns early if `write()` raises an exception—but never calls `Py_DECREF(string)` on the early exit path.&lt;/p&gt;
&lt;p&gt;### PoC
```python
import gc, tracemalloc, ujson&lt;/p&gt;
&lt;p&gt;class BadFile:
    def write(self, s):
        raise RuntimeError(&amp;#34;boom&amp;#34;)&lt;/p&gt;
&lt;p&gt;obj = {&amp;#34;x&amp;#34;: &amp;#34;A&amp;#34; * 200000}&lt;/p&gt;
&lt;p&gt;def run():
    try:
        ujson.dump(obj, BadFile())
    except RuntimeError:
        pass&lt;/p&gt;
&lt;p&gt;run()
tracemalloc.start()
gc.collect()
base = tracemalloc.get_traced_memory()[0]&lt;/p&gt;
&lt;p&gt;for i in range(5):
    run()
    gc.collect()
    cur = tracemalloc.get_traced_memory()[0]
    print(i, cur - base)
```&lt;/p&gt;
&lt;p&gt;### Impact&lt;/p&gt;
&lt;p&gt;Any application that serializes data through `ujson.dump()` to an attacker-influenced file-like object that can fail can be driven into linear memory growth. An attacker…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Homebrew: python-lsp-server&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;When `ujson.dump()` writes to a file-like object and the write operation raises an exception, the serialized JSON string object is not decremented, leaking memory. Each failed write operation leaks the full size of the serialized payload.&lt;/p&gt;
&lt;p&gt;Code that uses `ujson.dumps()` rather than `ujson.dump()` or only JSON load/decode methods is unaffected.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;**Vulnerability Location:**
- `src/ujson/python/objToJSON.c:913` - `objToJSONFile()` function start
- `src/ujson/python/objToJSON.c:931` - Error return on write failure
- `src/ujson/python/objToJSON.c:942` - Early return without cleanup
 
**Root Cause:**&lt;/p&gt;
&lt;p&gt;The `objToJSONFile()` function allocates a Python string object via `ujson_dumps_internal()`, calls the file&amp;#39;s `write()` method, and returns early if `write()` raises an exception—but never calls `Py_DECREF(string)` on the early exit path.&lt;/p&gt;
&lt;p&gt;### PoC
```python
import gc, tracemalloc, ujson&lt;/p&gt;
&lt;p&gt;class BadFile:
    def write(self, s):
        raise RuntimeError(&amp;#34;boom&amp;#34;)&lt;/p&gt;
&lt;p&gt;obj = {&amp;#34;x&amp;#34;: &amp;#34;A&amp;#34; * 200000}&lt;/p&gt;
&lt;p&gt;def run():
    try:
        ujson.dump(obj, BadFile())
    except RuntimeError:
        pass&lt;/p&gt;
&lt;p&gt;run()
tracemalloc.start()
gc.collect()
base = tracemalloc.get_traced_memory()[0]&lt;/p&gt;
&lt;p&gt;for i in range(5):
    run()
    gc.collect()
    cur = tracemalloc.get_traced_memory()[0]
    print(i, cur - base)
```&lt;/p&gt;
&lt;p&gt;### Impact&lt;/p&gt;
&lt;p&gt;Any application that serializes data through `ujson.dump()` to an attacker-influenced file-like object that can fail can be driven into linear memory growth. An attacker…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/brew-python-lsp-server-cve-2026-44660</guid>
      <pubDate>Thu, 13 Aug 2026 17:29:47 +0000</pubDate>
    </item>
    <item>
      <title>BREW-python-lsp-server-CVE-2026-32875 — UltraJSON has an integer overflow handling large indent leads to buffer overflow or infinite loop</title>
      <link>https://db.gcve.eu/vuln/brew-python-lsp-server-cve-2026-32875</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Homebrew: python-lsp-server&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;`ujson.dumps()` crashes the Python interpreter (segmentation fault) when the product of the `indent` parameter and the nested depth of the input exceeds INT32_MAX. It can also get stuck in an infinite loop if the `indent` is a large negative number. Both are caused by an integer overflow/underflow whilst calculating how much memory to reserve for indentation. And both can be used to achieve denial of service.&lt;/p&gt;
&lt;p&gt;(Note: A negative indent to `ujson` means add spaces after colons but do not add line breaks or indentation. It is unclear to the current maintainers whether this was ever even an intended feature or just a byproduct of the way it was written.)&lt;/p&gt;
&lt;p&gt;### Exploitability&lt;/p&gt;
&lt;p&gt;To be vulnerable, a service must call `ujson.dump()`/`ujson.dumps()`/`ujson.encode()` whilst giving untrusted users control over the `indent` parameter and not restrict that indentation to reasonably small non-negative values. (Even with the fix for this vulnerability, such usage is strongly advised against since even a bug-free JSON serialiser would be vulnerable to denial of service simply by the attacker requesting indents that have the server needlessly filling out gigabytes of whitespace.)&lt;/p&gt;
&lt;p&gt;A service may also be vulnerable to the infinite loop if it uses a fixed _negative_ `indent`. An underflow always occurs for any negative indent when the input data is at least one level nested but, for small negative indents, the underflow is usually accidentally rectified by another overflow. As far as…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Homebrew: python-lsp-server&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;`ujson.dumps()` crashes the Python interpreter (segmentation fault) when the product of the `indent` parameter and the nested depth of the input exceeds INT32_MAX. It can also get stuck in an infinite loop if the `indent` is a large negative number. Both are caused by an integer overflow/underflow whilst calculating how much memory to reserve for indentation. And both can be used to achieve denial of service.&lt;/p&gt;
&lt;p&gt;(Note: A negative indent to `ujson` means add spaces after colons but do not add line breaks or indentation. It is unclear to the current maintainers whether this was ever even an intended feature or just a byproduct of the way it was written.)&lt;/p&gt;
&lt;p&gt;### Exploitability&lt;/p&gt;
&lt;p&gt;To be vulnerable, a service must call `ujson.dump()`/`ujson.dumps()`/`ujson.encode()` whilst giving untrusted users control over the `indent` parameter and not restrict that indentation to reasonably small non-negative values. (Even with the fix for this vulnerability, such usage is strongly advised against since even a bug-free JSON serialiser would be vulnerable to denial of service simply by the attacker requesting indents that have the server needlessly filling out gigabytes of whitespace.)&lt;/p&gt;
&lt;p&gt;A service may also be vulnerable to the infinite loop if it uses a fixed _negative_ `indent`. An underflow always occurs for any negative indent when the input data is at least one level nested but, for small negative indents, the underflow is usually accidentally rectified by another overflow. As far as…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/brew-python-lsp-server-cve-2026-32875</guid>
      <pubDate>Thu, 13 Aug 2026 17:29:47 +0000</pubDate>
    </item>
    <item>
      <title>BREW-python-lsp-server-CVE-2026-32874 — UltraJSON has a Memory Leak parsing large integers allows DoS</title>
      <link>https://db.gcve.eu/vuln/brew-python-lsp-server-cve-2026-32874</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Homebrew: python-lsp-server&lt;/p&gt;
&lt;p&gt;#### Summary&lt;/p&gt;
&lt;p&gt;ujson 5.4.0 to 5.11.0 inclusive contain an accumulating memory leak in JSON parsing _large_ (outside of the range [-2^63, 2^64 - 1]) integers.&lt;/p&gt;
&lt;p&gt;#### Exploitability&lt;/p&gt;
&lt;p&gt;Any service that calls `ujson.load()`/`ujson.loads()`/`ujson.decode()` on untrusted inputs is affected and vulnerable to denial of service attacks.&lt;/p&gt;
&lt;p&gt;#### Details&lt;/p&gt;
&lt;p&gt;The leaked memory is a copy of the string form of the integer plus an additional NULL byte. The leak occurs irrespective of whether the integer parses successfully or is rejected due to having more than `sys.get_int_max_str_digits()` digits, meaning that any sized leak per malicious JSON can be achieved provided that there is no limit on the overall size of the payload.&lt;/p&gt;
&lt;p&gt;```python
ujson.loads(str(2 ** 64 - 1))  # No leak
ujson.loads(str(2 ** 64))  # Leaks
ujson.loads(str(10 ** sys.get_int_max_str_digits()))  # Leaks and raises ValueError
```&lt;/p&gt;
&lt;p&gt;#### Fix&lt;/p&gt;
&lt;p&gt;The leak is fixed in `ujson 5.12.0` (4baeb950df780092bd3c89fc702a868e99a3a1d2). There are no workarounds beyond upgrading to an unaffected version.&lt;/p&gt;
&lt;p&gt;#### Credits&lt;/p&gt;
&lt;p&gt;Discovered by Cameron Criswell/Skevros using Coverage-guided fuzzing (libFuzzer + AddressSanitizer)&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Homebrew: python-lsp-server&lt;/p&gt;
&lt;p&gt;#### Summary&lt;/p&gt;
&lt;p&gt;ujson 5.4.0 to 5.11.0 inclusive contain an accumulating memory leak in JSON parsing _large_ (outside of the range [-2^63, 2^64 - 1]) integers.&lt;/p&gt;
&lt;p&gt;#### Exploitability&lt;/p&gt;
&lt;p&gt;Any service that calls `ujson.load()`/`ujson.loads()`/`ujson.decode()` on untrusted inputs is affected and vulnerable to denial of service attacks.&lt;/p&gt;
&lt;p&gt;#### Details&lt;/p&gt;
&lt;p&gt;The leaked memory is a copy of the string form of the integer plus an additional NULL byte. The leak occurs irrespective of whether the integer parses successfully or is rejected due to having more than `sys.get_int_max_str_digits()` digits, meaning that any sized leak per malicious JSON can be achieved provided that there is no limit on the overall size of the payload.&lt;/p&gt;
&lt;p&gt;```python
ujson.loads(str(2 ** 64 - 1))  # No leak
ujson.loads(str(2 ** 64))  # Leaks
ujson.loads(str(10 ** sys.get_int_max_str_digits()))  # Leaks and raises ValueError
```&lt;/p&gt;
&lt;p&gt;#### Fix&lt;/p&gt;
&lt;p&gt;The leak is fixed in `ujson 5.12.0` (4baeb950df780092bd3c89fc702a868e99a3a1d2). There are no workarounds beyond upgrading to an unaffected version.&lt;/p&gt;
&lt;p&gt;#### Credits&lt;/p&gt;
&lt;p&gt;Discovered by Cameron Criswell/Skevros using Coverage-guided fuzzing (libFuzzer + AddressSanitizer)&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/brew-python-lsp-server-cve-2026-32874</guid>
      <pubDate>Thu, 13 Aug 2026 17:29:47 +0000</pubDate>
    </item>
    <item>
      <title>BREW-python-lsp-server-CVE-2026-32274 — Black: Arbitrary file writes from unsanitized user input in cache file name</title>
      <link>https://db.gcve.eu/vuln/brew-python-lsp-server-cve-2026-32274</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Homebrew: python-lsp-server&lt;/p&gt;
&lt;p&gt;### Impact&lt;/p&gt;
&lt;p&gt;Black writes a cache file, the name of which is computed from various formatting options. The value of the `--python-cell-magics` option was placed in the filename without sanitization, which allowed an attacker who controls the value of this argument to write cache files to arbitrary file system locations.&lt;/p&gt;
&lt;p&gt;### Patches&lt;/p&gt;
&lt;p&gt;Fixed in Black 26.3.1.&lt;/p&gt;
&lt;p&gt;### Workarounds&lt;/p&gt;
&lt;p&gt;Do not allow untrusted user input into the value of the `--python-cell-magics` option.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Homebrew: python-lsp-server&lt;/p&gt;
&lt;p&gt;### Impact&lt;/p&gt;
&lt;p&gt;Black writes a cache file, the name of which is computed from various formatting options. The value of the `--python-cell-magics` option was placed in the filename without sanitization, which allowed an attacker who controls the value of this argument to write cache files to arbitrary file system locations.&lt;/p&gt;
&lt;p&gt;### Patches&lt;/p&gt;
&lt;p&gt;Fixed in Black 26.3.1.&lt;/p&gt;
&lt;p&gt;### Workarounds&lt;/p&gt;
&lt;p&gt;Do not allow untrusted user input into the value of the `--python-cell-magics` option.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/brew-python-lsp-server-cve-2026-32274</guid>
      <pubDate>Thu, 13 Aug 2026 17:29:47 +0000</pubDate>
    </item>
    <item>
      <title>BREW-twtxt-GHSA-pjjw-qhg8-p2p9 — aiohttp has vulnerable dependency that is vulnerable to request smuggling</title>
      <link>https://db.gcve.eu/vuln/brew-twtxt-ghsa-pjjw-qhg8-p2p9</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Homebrew: twtxt&lt;/p&gt;
&lt;p&gt;### Summary
llhttp 8.1.1 is vulnerable to two request smuggling vulnerabilities.
Details have not been disclosed yet, so refer to llhttp for future information.
The issue is resolved by using llhttp 9+ (which is included in aiohttp 3.8.6+).&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Homebrew: twtxt&lt;/p&gt;
&lt;p&gt;### Summary
llhttp 8.1.1 is vulnerable to two request smuggling vulnerabilities.
Details have not been disclosed yet, so refer to llhttp for future information.
The issue is resolved by using llhttp 9+ (which is included in aiohttp 3.8.6+).&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/brew-twtxt-ghsa-pjjw-qhg8-p2p9</guid>
      <pubDate>Thu, 13 Aug 2026 17:44:53 +0000</pubDate>
    </item>
  </channel>
</rss>
