<?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 all</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>Fri, 04 Dec 2026 08:36:49 +0000</lastBuildDate>
    <item>
      <title>fkie_cve-2026-142550</title>
      <link>https://db.gcve.eu/vuln/fkie_cve-2026-142550</link>
      <description>&lt;p&gt;JWTKit is a Swift library for signing and verifying JSON Web Tokens. Prior to 5.8.0, JWTKeyCollection.verify() in Sources/JWTKit/JWTKeyCollection.swift parses the JWT header using JWTParser.parseHeader() in Sources/JWTKit/JWTParser.swift before selecting a signer and verifying the signature. During parsing, JWTHeaderField.init(from:) in Sources/JWTKit/JWTHeaderField.swift decodes JSON numbers as Double and converts integral values to Int without checking the representable range. A remote unauthenticated attacker can provide an extremely large integral header value that triggers a Swift runtime trap and crashes the application without a valid signature or knowledge of the signing key. This issue is fixed in version 5.8.0.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;JWTKit is a Swift library for signing and verifying JSON Web Tokens. Prior to 5.8.0, JWTKeyCollection.verify() in Sources/JWTKit/JWTKeyCollection.swift parses the JWT header using JWTParser.parseHeader() in Sources/JWTKit/JWTParser.swift before selecting a signer and verifying the signature. During parsing, JWTHeaderField.init(from:) in Sources/JWTKit/JWTHeaderField.swift decodes JSON numbers as Double and converts integral values to Int without checking the representable range. A remote unauthenticated attacker can provide an extremely large integral header value that triggers a Swift runtime trap and crashes the application without a valid signature or knowledge of the signing key. This issue is fixed in version 5.8.0.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/fkie_cve-2026-142550</guid>
    </item>
    <item>
      <title>GHSA-hfm2-66rr-3mcf — JWTKit: Unauthenticated denial of service when parsing malicious JWT headers</title>
      <link>https://db.gcve.eu/vuln/ghsa-hfm2-66rr-3mcf</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; SwiftURL: github.com/vapor/jwt-kit&lt;/p&gt;
&lt;p&gt;### Summary
JWTKit can crash while parsing a JWT header containing an extremely large integer value.&lt;/p&gt;
&lt;p&gt;When decoding header fields, the library parses JSON numbers as Double and converts integral values to Int without checking whether the value fits into the valid Int range. A header containing a value such as 1e300 causes a Swift runtime trap.&lt;/p&gt;
&lt;p&gt;Because JWT headers are parsed before signature verification, an attacker can crash the application by sending a specially crafted JWT without requiring a valid signature.&lt;/p&gt;
&lt;p&gt;### Details
`JWTKeyCollection.verify()` parses the JWT header before selecting a signer and verifying the token signature.&lt;/p&gt;
&lt;p&gt;The header is decoded by `JWTParser.parseHeader()`, which deserializes the JSON into JWTHeader. During this process, `JWTHeaderField.init(from:)` decodes JSON numbers as Double and converts integral values to Int without validating that they fit within the representable Int range:&lt;/p&gt;
&lt;p&gt;```
let doubleValue = try container.decode(Double.self)
if doubleValue.truncatingRemainder(dividingBy: 1) == 0 {
    self = .int(Int(doubleValue))
}
```&lt;/p&gt;
&lt;p&gt;An attacker can supply an extremely large integral value (for example, 1e300), causing the Int(doubleValue) conversion to trigger a Swift runtime trap. Because this occurs while parsing the JWT header, the application crashes before signature verification.&lt;/p&gt;
&lt;p&gt;Affected code:&lt;/p&gt;
&lt;p&gt;* Sources/JWTKit/JWTKeyCollection.swift (verify() - parseHeader())
* Sources/JWTKit/JWTParser.swift (parseHeader())
* Sources/JWTKit/JWTHeaderFi…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; SwiftURL: github.com/vapor/jwt-kit&lt;/p&gt;
&lt;p&gt;### Summary
JWTKit can crash while parsing a JWT header containing an extremely large integer value.&lt;/p&gt;
&lt;p&gt;When decoding header fields, the library parses JSON numbers as Double and converts integral values to Int without checking whether the value fits into the valid Int range. A header containing a value such as 1e300 causes a Swift runtime trap.&lt;/p&gt;
&lt;p&gt;Because JWT headers are parsed before signature verification, an attacker can crash the application by sending a specially crafted JWT without requiring a valid signature.&lt;/p&gt;
&lt;p&gt;### Details
`JWTKeyCollection.verify()` parses the JWT header before selecting a signer and verifying the token signature.&lt;/p&gt;
&lt;p&gt;The header is decoded by `JWTParser.parseHeader()`, which deserializes the JSON into JWTHeader. During this process, `JWTHeaderField.init(from:)` decodes JSON numbers as Double and converts integral values to Int without validating that they fit within the representable Int range:&lt;/p&gt;
&lt;p&gt;```
let doubleValue = try container.decode(Double.self)
if doubleValue.truncatingRemainder(dividingBy: 1) == 0 {
    self = .int(Int(doubleValue))
}
```&lt;/p&gt;
&lt;p&gt;An attacker can supply an extremely large integral value (for example, 1e300), causing the Int(doubleValue) conversion to trigger a Swift runtime trap. Because this occurs while parsing the JWT header, the application crashes before signature verification.&lt;/p&gt;
&lt;p&gt;Affected code:&lt;/p&gt;
&lt;p&gt;* Sources/JWTKit/JWTKeyCollection.swift (verify() - parseHeader())
* Sources/JWTKit/JWTParser.swift (parseHeader())
* Sources/JWTKit/JWTHeaderFi…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/ghsa-hfm2-66rr-3mcf</guid>
    </item>
  </channel>
</rss>
