<?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://vulnerability.circl.lu</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>Thu, 01 Oct 2026 07:07:20 +0000</lastBuildDate>
    <item>
      <title>fkie_cve-2026-81875</title>
      <link>https://vulnerability.circl.lu/vuln/fkie_cve-2026-81875</link>
      <description>&lt;p&gt;HAPI FHIR is a complete implementation of the HL7 FHIR standard for healthcare interoperability in Java. Prior to version 6.9.12, SHCParser in org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/elementmodel/SHCParser.java can consume attacker-controlled Smart Health Card JWT content whose header contains zip: &amp;#34;DEF&amp;#34; and whose small raw-DEFLATE payload expands to a very large value. SHCParser.decodeJWT() passes the decoded payload to SHCParser.inflate(), which accumulates all decompressed bytes in a ByteArrayOutputStream without an output-size limit before JSON parsing, and SHCParser.decompress() contains the same unbounded pattern. An application or validator service that accepts attacker-supplied SHC content can therefore suffer excessive heap allocation, severe garbage-collection pressure, request failure, process instability, or process termination. This issue is fixed in version 6.9.12.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;HAPI FHIR is a complete implementation of the HL7 FHIR standard for healthcare interoperability in Java. Prior to version 6.9.12, SHCParser in org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/elementmodel/SHCParser.java can consume attacker-controlled Smart Health Card JWT content whose header contains zip: &amp;#34;DEF&amp;#34; and whose small raw-DEFLATE payload expands to a very large value. SHCParser.decodeJWT() passes the decoded payload to SHCParser.inflate(), which accumulates all decompressed bytes in a ByteArrayOutputStream without an output-size limit before JSON parsing, and SHCParser.decompress() contains the same unbounded pattern. An application or validator service that accepts attacker-supplied SHC content can therefore suffer excessive heap allocation, severe garbage-collection pressure, request failure, process instability, or process termination. This issue is fixed in version 6.9.12.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/fkie_cve-2026-81875</guid>
    </item>
    <item>
      <title>GHSA-3w98-rrpr-fprr — HAPI FHIR: SHCParser unbounded DEFLATE decompression causes denial of service</title>
      <link>https://vulnerability.circl.lu/vuln/ghsa-3w98-rrpr-fprr</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Maven: ca.uhn.hapi.fhir:org.hl7.fhir.r5, Maven: ca.uhn.hapi.fhir:org.hl7.fhir.validation, Maven: ca.uhn.hapi.fhir:org.hl7.fhir.validation.cli&lt;/p&gt;
&lt;p&gt;### Summary
`SHCParser` inflates compressed Smart Health Card JWT payloads into memory without a decompressed-size limit. An attacker who can submit SHC content for validation can craft a small compressed JWT payload that expands to a very large byte array, causing memory exhaustion or severe garbage collection pressure.&lt;/p&gt;
&lt;p&gt;### Details
The vulnerable code is in `org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/elementmodel/SHCParser.java`.&lt;/p&gt;
&lt;p&gt;`decodeJWT()` checks `MAX_ALLOWED_SHC_LENGTH`, but this only logs an error and parsing continues:&lt;/p&gt;
&lt;p&gt;```java
// SHCParser.java:282-284
if (jwt.length() &amp;gt; MAX_ALLOWED_SHC_LENGTH) {
  logError(...);
}
```&lt;/p&gt;
&lt;p&gt;If the header contains `&amp;#34;zip&amp;#34;:&amp;#34;DEF&amp;#34;`, the payload is inflated before JSON parsing:&lt;/p&gt;
&lt;p&gt;```java
// SHCParser.java:300-304
if (&amp;#34;DEF&amp;#34;.equals(res.header.asString(&amp;#34;zip&amp;#34;))) {
  payloadJson = inflate(payloadJson);
}
res.payload = JsonParser.parseObject(FileUtilities.bytesToString(payloadJson), true);
```&lt;/p&gt;
&lt;p&gt;`inflate()` accumulates all decompressed output in a `ByteArrayOutputStream` and has no maximum output size:&lt;/p&gt;
&lt;p&gt;```java
// SHCParser.java:455-468
while (!inflater.finished()) {
  final int count = inflater.inflate(buffer);
  outputStream.write(buffer, 0, count);
}
return outputStream.toByteArray();
```&lt;/p&gt;
&lt;p&gt;The same unbounded decompression pattern exists in `decompress()` at `SHCParser.java:410-423`.&lt;/p&gt;
&lt;p&gt;### PoC
Create a highly compressible SHC-shaped JSON payload, compress it with raw DEFLATE (`new Deflater(9, true)`), Base64URL-encode it as the JWT payload, and…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Maven: ca.uhn.hapi.fhir:org.hl7.fhir.r5, Maven: ca.uhn.hapi.fhir:org.hl7.fhir.validation, Maven: ca.uhn.hapi.fhir:org.hl7.fhir.validation.cli&lt;/p&gt;
&lt;p&gt;### Summary
`SHCParser` inflates compressed Smart Health Card JWT payloads into memory without a decompressed-size limit. An attacker who can submit SHC content for validation can craft a small compressed JWT payload that expands to a very large byte array, causing memory exhaustion or severe garbage collection pressure.&lt;/p&gt;
&lt;p&gt;### Details
The vulnerable code is in `org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/elementmodel/SHCParser.java`.&lt;/p&gt;
&lt;p&gt;`decodeJWT()` checks `MAX_ALLOWED_SHC_LENGTH`, but this only logs an error and parsing continues:&lt;/p&gt;
&lt;p&gt;```java
// SHCParser.java:282-284
if (jwt.length() &amp;gt; MAX_ALLOWED_SHC_LENGTH) {
  logError(...);
}
```&lt;/p&gt;
&lt;p&gt;If the header contains `&amp;#34;zip&amp;#34;:&amp;#34;DEF&amp;#34;`, the payload is inflated before JSON parsing:&lt;/p&gt;
&lt;p&gt;```java
// SHCParser.java:300-304
if (&amp;#34;DEF&amp;#34;.equals(res.header.asString(&amp;#34;zip&amp;#34;))) {
  payloadJson = inflate(payloadJson);
}
res.payload = JsonParser.parseObject(FileUtilities.bytesToString(payloadJson), true);
```&lt;/p&gt;
&lt;p&gt;`inflate()` accumulates all decompressed output in a `ByteArrayOutputStream` and has no maximum output size:&lt;/p&gt;
&lt;p&gt;```java
// SHCParser.java:455-468
while (!inflater.finished()) {
  final int count = inflater.inflate(buffer);
  outputStream.write(buffer, 0, count);
}
return outputStream.toByteArray();
```&lt;/p&gt;
&lt;p&gt;The same unbounded decompression pattern exists in `decompress()` at `SHCParser.java:410-423`.&lt;/p&gt;
&lt;p&gt;### PoC
Create a highly compressible SHC-shaped JSON payload, compress it with raw DEFLATE (`new Deflater(9, true)`), Base64URL-encode it as the JWT payload, and…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/ghsa-3w98-rrpr-fprr</guid>
    </item>
  </channel>
</rss>
