Catégories
CVE-2026-106449 low CVSS 3.7

Vulnérabilité dans at.yawk.lz4:lz4-java (CVE-2026-106449)

Résumé

Vulnérabilité dans at.yawk.lz4:lz4-java (CVE-2026-106449). Risque d'opérations non autorisées ou de divulgation. Exploitable via LZ4BlockInputStream. Atténuation : mise à jour vers 1.11.4 ou plus.

Description d'origine

La description telle que publiée par la source (souvent en anglais).

Summary

When LZ4BlockInputStream is configured with stopOnEmptyBlock = false (the mode for reading concatenated block streams), it handles each empty block by calling refill() recursively. A long run of empty blocks exhausts the thread stack and throws StackOverflowError out of read() or skip().

Details

In net.jpountz.lz4.LZ4BlockInputStream.refill():

if (originalLen == 0 && compressedLen == 0) {
  if (check != 0) {
    throw new IOException("Stream is corrupted");
  }
  if (!stopOnEmptyBlock) {
    refill();
  } else {
    finished = true;
  }
  return;
}

Each well-formed empty block is 21 bytes and adds one stack frame, with no limit on nesting depth. In local testing, around 10,000 to 100,000 consecutive empty blocks (about 210 KB to 2.1 MB, depending on JIT state and thread stack size) threw StackOverflowError. StackOverflowError is an Error, not an IOException, so callers that only handle I/O errors for corrupt input don't catch it.

Impact

Applications that decode attacker-controlled LZ4Block streams with LZ4BlockInputStream.newBuilder().withStopOnEmptyBlock(false) or the deprecated LZ4BlockInputStream(InputStream, boolean) constructor can have the decoding thread fail with StackOverflowError. The default configuration (stopOnEmptyBlock = true) is not affected. There is no memory corruption. Availability impact only.

Patch

Fixed in lz4-java 1.11.4. Empty blocks are now skipped in a loop instead of by re…

Source: NIST National Vulnerability Database NVD GitHub Advisory

Résumé généré automatiquement

Assemblé par SecPulse à partir des données sources (CVSS, CWE, versions affectées) à l'aide de modèles, sans IA. Vérifiez la description d'origine et les références ci-dessous.

Une vulnérabilité référencée CVE-2026-106449 a été découverte dans at.yawk.lz4:lz4-java.
Des attaquants peuvent cibler un point d'entrée spécifique comme LZ4BlockInputStream à distance pour détourner le produit.
Risque d'opérations non autorisées ou de divulgation. Score CVSS : 3.7/10.
Action : mettez à jour at.yawk.lz4:lz4-java vers 1.11.4 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « at.yawk.lz4:lz4-java CVE-2026-106449 » sur le site de l'éditeur.

CVE-2026-106449 (at.yawk.lz4:lz4-java) — CWE-674 / CVSS v3 3.7
Vecteur d'attaque : distant (réseau) / non authentifié / sans interaction utilisateur
Surface d'attaque : LZ4BlockInputStream / StackOverflowError / Error / IOException
Correctif : 1.11.4 — appliquer immédiatement
Plan : 1) Audit SBOM, 2) Mise à jour staging→prod, 3) Surveillance WAF/proxy sur les endpoints affectés, 4) Recherche d'IOC dans les logs.
Réfs : voir GHSA / avis éditeur / version corrigée liés sur cette page.

❓ Quel est le problème

Une vulnérabilité (CWE-674) affecte at.yawk.lz4:lz4-java. Les attaquants atteignent le code vulnérable via LZ4BlockInputStream sans authentification.

📍 Périmètre concerné

Consultez l'avis de l'éditeur pour les versions affectées de at.yawk.lz4:lz4-java. Surface d'attaque : LZ4BlockInputStream / StackOverflowError / Error / IOException.

🔥 Gravité

Gravité : Faible (CVSS 3.7/10). Risque d'opérations non autorisées ou de divulgation.

🔧 Comment corriger

Mettre à jour vers 1.11.4.

🛡️ Contournement

En attendant le correctif : désactivez la fonctionnalité concernée, appliquez des règles WAF, ou restreignez l'accès par ACL réseau.

🔍 Détection

Recherchez dans les logs des requêtes correspondant aux IOC connus de cette CVE. Auditez les SBOM/dépendances.

Actions de réponse

Étapes concrètes et exemples de commandes que les équipes SOC/SRE doivent exécuter dans l'ordre

  1. 1
    Identify exposure identify
    Audit SBOM/dependencies for affected components.

    資産台帳・SBOM・依存マニフェストで at.yawk.lz4:lz4-java を使っているサービスとバージョンを洗い出す。

  2. 2
    Apply patch patch
    Upgrade at.yawk.lz4:lz4-java to 1.11.4

    ステージング環境で 1.11.4 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  3. 3
    Post-deployment verification verify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Paquets affectés

maven at.yawk.lz4:lz4-java
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.4"}]}]
maven org.lz4:lz4-java
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.8.1"}]}]

Références

Nous utilisons des cookies pour l'analyse d'audience et la mesure publicitaire. Ce réglage s'applique à tous les sites de Game co., Ltd. En savoir plus