<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-09-30T13:16:02.903432+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/cve-2022-31116</id>
    <title>CVE-2022-31116 — Incorrect handling of invalid surrogate pair characters in ujson</title>
    <updated>2026-09-30T13:16:02.907670+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> ultrajson</p>
<p>UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. Affected versions were found to improperly decode certain characters. JSON strings that contain escaped surrogate characters not part of a proper surrogate pair were decoded incorrectly. Besides corrupting strings, this allowed for potential key confusion and value overwriting in dictionaries. All users parsing JSON from untrusted sources are vulnerable. From version 5.4.0, UltraJSON decodes lone surrogates in the same way as the standard library's `json` module does, preserving them in the parsed output. Users are advised to upgrade. There are no known workarounds for this issue.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2022-31116"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/ghsa-wpqr-jcpx-745r</id>
    <title>GHSA-wpqr-jcpx-745r — Incorrect handling of invalid surrogate pair characters</title>
    <updated>2026-09-30T13:16:02.907791+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: ujson</p>
<p>### Impact
_What kind of vulnerability is it? Who is impacted?_</p>
<p>Anyone parsing JSON from an untrusted source is vulnerable.</p>
<p>JSON strings that contain escaped surrogate characters not part of a proper surrogate pair were decoded incorrectly. Besides corrupting strings, this allowed for potential key confusion and value overwriting in dictionaries.</p>
<p>Examples:</p>
<p>```python
# An unpaired high surrogate character is ignored.
&gt;&gt;&gt; ujson.loads(r'"\uD800"')
''
&gt;&gt;&gt; ujson.loads(r'"\uD800hello"')
'hello'</p>
<p># An unpaired low surrogate character is preserved.
&gt;&gt;&gt; ujson.loads(r'"\uDC00"')
'\udc00'</p>
<p># A pair of surrogates with additional non surrogate characters pair up in spite of being invalid.
&gt;&gt;&gt; ujson.loads(r'"\uD800foo bar\uDC00"')
'foo bar𐀀'
```</p>
<p>### Patches
_Has the problem been patched? What versions should users upgrade to?_</p>
<p>Users should upgrade to UltraJSON 5.4.0.</p>
<p>From version 5.4.0, UltraJSON decodes lone surrogates in the same way as the standard library's `json` module does, preserving them in the parsed output:</p>
<p>```python3
&gt;&gt;&gt; ujson.loads(r'"\uD800"')
'\ud800'
&gt;&gt;&gt; ujson.loads(r'"\uD800hello"')
'\ud800hello'
&gt;&gt;&gt; ujson.loads(r'"\uDC00"')
'\udc00'
&gt;&gt;&gt; ujson.loads(r'"\uD800foo bar\uDC00"')
'\ud800foo bar\udc00'
```</p>
<p>### Workarounds
_Is there a way for users to fix or remediate the vulnerability without upgrading?_</p>
<p>Short of switching to an entirely different JSON library, there are no safe alternatives to upgrading.</p>
<p>### For more information
If you have any questions or comments…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-wpqr-jcpx-745r"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/pysec-2026-1057</id>
    <title>PYSEC-2026-1057 — Incorrect handling of invalid surrogate pair characters</title>
    <updated>2026-09-30T13:16:02.907903+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: ujson</p>
<p>### Impact
_What kind of vulnerability is it? Who is impacted?_</p>
<p>Anyone parsing JSON from an untrusted source is vulnerable.</p>
<p>JSON strings that contain escaped surrogate characters not part of a proper surrogate pair were decoded incorrectly. Besides corrupting strings, this allowed for potential key confusion and value overwriting in dictionaries.</p>
<p>Examples:</p>
<p>```python
# An unpaired high surrogate character is ignored.
&gt;&gt;&gt; ujson.loads(r'"\uD800"')
''
&gt;&gt;&gt; ujson.loads(r'"\uD800hello"')
'hello'</p>
<p># An unpaired low surrogate character is preserved.
&gt;&gt;&gt; ujson.loads(r'"\uDC00"')
'\udc00'</p>
<p># A pair of surrogates with additional non surrogate characters pair up in spite of being invalid.
&gt;&gt;&gt; ujson.loads(r'"\uD800foo bar\uDC00"')
'foo bar𐀀'
```</p>
<p>### Patches
_Has the problem been patched? What versions should users upgrade to?_</p>
<p>Users should upgrade to UltraJSON 5.4.0.</p>
<p>From version 5.4.0, UltraJSON decodes lone surrogates in the same way as the standard library's `json` module does, preserving them in the parsed output:</p>
<p>```python3
&gt;&gt;&gt; ujson.loads(r'"\uD800"')
'\ud800'
&gt;&gt;&gt; ujson.loads(r'"\uD800hello"')
'\ud800hello'
&gt;&gt;&gt; ujson.loads(r'"\uDC00"')
'\udc00'
&gt;&gt;&gt; ujson.loads(r'"\uD800foo bar\uDC00"')
'\ud800foo bar\udc00'
```</p>
<p>### Workarounds
_Is there a way for users to fix or remediate the vulnerability without upgrading?_</p>
<p>Short of switching to an entirely different JSON library, there are no safe alternatives to upgrading.</p>
<p>### For more information
If you have any questions or comments…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/pysec-2026-1057"/>
  </entry>
</feed>
