All vulnerabilities

Servers and applications

CVE-2026-39396

Decompression Bomb via Unbounded Copy in OCI Plugin Extraction (DoS)

Severity
Medium 6.5
Published
20 Apr 2026
Last changed
11 Nov 2026
Added to UpHeron
1 Nov 2026
Fixed in
2.5.3
Exploit chance
0.2% in the next 30 daysHigher than 12% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Uncontrolled resource consumption (CWE-400)Uncontrolled recursion (CWE-674)Allocation without limits (CWE-770)
Attack
Over the network · No login needed · Needs someone to click or open something
Attacker can
Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Also known as
GHSA-r65v-xgwc-g56j
Sources
NVD, Project advisories (GitHub)

Description

ExtractPluginFromImage() in OpenBao's OCI plugin downloader extracts a plugin binary from a container image by streaming decompressed tar data via io.Copy with no upper bound on the number of bytes written. An attacker who controls or compromises the OCI registry referenced in the victim's configuration can serve a crafted image containing a decompression bomb that decompresses to an arbitrarily large file.

The SHA256 integrity check occurs after the full file is written to disk, meaning the hash mismatch is detected only after the damage (disk exhaustion) has already occurred. This allow the attacker to replace legit plugin image with no need to change its signature.

helper/pluginutil/oci/downloader.go:301:

io.Copy() reads until EOF with no size limit. The tar header.Size field is never validated before the copy, and mutate.Extract decompresses all gzip layers in memory/streaming, resulting in unbounded decompression-to-disk.

From openbao/openbao's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
OpenBaoServers and applications · cpe:a:openbao:openbao
  • Every version before 2.5.3
OpenBaoServers and applications · github:openbao/openbao
  • Every version before 2.5.3

About OpenBao

foss-licensed cross-platform password manager and authentication tool

From Wikidata, CC0 1.0.
Docker Hub pulls
6,722,933Docker Hub, 15 Nov 2026
GitHub stars
9,019GitHub, 15 Nov 2026
Forks
691GitHub, 15 Nov 2026
Latest release
v2.7.2GitHub, 15 Nov 2026
Released
26 Oct 2026GitHub
License
Mozilla Public License, version 2.0Wikidata
Written in
GoWikidata
First published on GitHub
9 Nov 2023GitHub

Release lines

ReleaseLatestSecurity fixes
2.72.7.2Yes
2.62.6.5Ended 1 Oct 2026
2.52.5.5Ended 14 Jul 2026
2.42.4.4Ended 5 Feb 2026
2.32.3.2Ended 29 Aug 2025
2.22.2.2Ended 26 Jun 2025

From endoflife.date.

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-39396
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-39396
  • GitHub Advisory Database https://github.com/advisories/GHSA-r65v-xgwc-g56j
  • github.com https://github.com/openbao/openbao/security/advisories/GHSA-r65v-xgwc-g56j