Skip to main content

Libarchive CVE-2025-5914

| EUVDEUVD-2025-17572 HIGH
Integer Overflow or Wraparound (CWE-190)
2025-06-09 secalert@redhat.com
7.8
CVSS 3.1 · NVD
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

CVSS 7.8 with AV:L (Local/file-based attack), AC:L (low complexity), PR:N (no privileges), UI:R (requires user interaction to open file), and C:H/I:H/A:H (complete confidentiality, integrity, availability impact) indicates a significant but practical threat. The local attack vector and user-interaction requirement reduce real-world attack surface compared to network-exploitable vulnerabilities, but the high impact ratings reflect genuine code execution potential. The double-free primitive is generally reliable to exploit once triggered, making this a 'high real-world priority' particularly for server applications that auto-process archives (backup systems, package managers, web services). Absence of public POC and KEV listing suggests this may be pre-disclosure or low current exploitation activity, but the memory corruption nature and mature exploit techniques for double-free conditions mean functional POCs will emerge quickly post-disclosure. SSVC framing: exploitation is likely possible (memory corruption bugs are generally automatable once initial crash is triggered), technical impact is complete, and scope is application-dependent (servers processing untrusted archives face maximum risk).

Exploit ScenarioDerived

An attacker crafts a malicious RAR archive containing a specially-formatted file entry with a seek offset that triggers an integer overflow in the size calculation within archive_read_format_rar_seek_data(). When a user or automated system (e.g., backup software, web file upload processor) opens/extracts this RAR file using libarchive, the overflow causes the library to allocate insufficient memory and later double-free a heap chunk during cleanup or seek operation. The attacker gains control of freed heap memory, corrupting heap metadata or adjacent objects, ultimately achieving arbitrary code execution with the privileges of the application (e.g., web server process, user shell). Example: malicious RAR with seek offset = INT_MAX + 1, causing wraparound to negative/small value, leading to undersized allocation and subsequent use-after-free. No public POC currently confirmed, but double-free exploitation is well-established in security research.

Act Now Prioritize within 24-48h. Why: Active threat signals + CRITICAL/HIGH severity.
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 14, 2026

CVE-2025-5914 is an integer overflow vulnerability in libarchive's archive_read_format_rar_seek_data() function that leads to a double-free memory corruption condition. This affects all users of libarchive who process untrusted RAR archive files, potentially allowing arbitrary code execution or denial-of-service with user interaction (opening a malicious RAR file). While no KEV listing or confirmed public exploits are currently documented, the high CVSS score (7.8) and memory safety nature of the vulnerability indicate significant real-world risk if weaponized.

RemediationAI

  1. IMMEDIATE: Update libarchive to the first patched version (typically 3.7.1 or later, pending official release note—consult libarchive GitHub releases). 2) For distributions: Apply security updates from your vendor (Ubuntu, Debian, Red Hat, etc.) when available. 3) TEMPORARY WORKAROUNDS: Disable RAR format support if possible in applications, restrict archive processing to trusted sources only, or sandbox archive extraction in isolated containers. 4) CODE REVIEW: Applications should validate RAR archives before processing and consider input sanitization. Vendor advisory expected from libarchive maintainers on GitHub; check https://github.com/libarchive/libarchive/security/advisories and vendor-specific security pages (Apple Security Updates, Chromium Security, Red Hat CVE details).

Affected VersionsENISA

RHOSS-1.36-RHEL-8 patch: 1.36.0-18
Red Hat OpenShift distributed tracing 3.5.2 patch: sha256:648db93ff38b16ecb8a0fe831d722d1ddac9aadcb8663a45a1a9086ef9129dd2
Red Hat OpenShift distributed tracing 3.5.2 patch: sha256:4856bc69d0c18c6049819007d25b966a6ee02dcc819682f7294503ab2d646776
Red Hat OpenShift distributed tracing 3.5.2 patch: sha256:03b0aced2885356099971c8470add4b0f7732bcb380c74be3691d30c2894e5c0
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions patch: 0:3.3.3-5.el8_8.1
Red Hat OpenShift distributed tracing 3.5.2 patch: sha256:b6f2f955cb33ccb5c8f82d1537f4e0cb30c2bf31b30d4ef6a44a72abb742b973
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions patch: 0:3.5.3-5.el9_2
Red Hat OpenShift distributed tracing 3.5.1 patch: sha256:da510d9c86c877d8f4cdcddfa337b16858dd4e490cc3e85124b2076408499826
RHOSS-1.36-RHEL-8 patch: 1.36.0-10
Red Hat OpenShift distributed tracing 3.5.3 patch: sha256:69c5921a94e0ac1f254ac8bc1fbd400fc4322b0537320dcd205d9ad854b277f3
Red Hat OpenShift distributed tracing 3.5.3 patch: sha256:73ddf7caa420d1cb2027068dabcc7bbf07fdd160135ab12ad0656cec5dbef185
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On patch: 0:3.3.3-1.el8_4.1
Red Hat OpenShift distributed tracing 3.5.3 patch: sha256:88ce7e9894e7e4b1406d6e1f20e18cd19cff9df376f5455a24eeffb118f0535f
Red Hat OpenShift distributed tracing 3.5.3 patch: sha256:9b66a46b3a28084c45823268d1fa4ae953c50b996f3d265c5fc9f4bc3eb326b4
Red Hat OpenShift distributed tracing 3.5.3 patch: sha256:ce79641c2031185586fa3dc5c504db2df69f4ae8ac1e91577232dfccde20633f
Red Hat OpenShift distributed tracing 3.5.1 patch: sha256:88ce7e9894e7e4b1406d6e1f20e18cd19cff9df376f5455a24eeffb118f0535f
Red Hat OpenShift distributed tracing 3.5.3 patch: sha256:bec83c93d089d4ec7a8e00c0b1a94732c0e083ed216978fd1214ef9bea1082dd
Red Hat OpenShift sandboxed containers 1.1 patch: sha256:99cc26f9e0e5b0f29cb7f34fe3aa5c974e935fdf21e0f3ad02f1af571113a32c
Red Hat OpenShift distributed tracing 3.5.3 patch: sha256:86d400b195958c287846ae60d76d2ec277740da3d3de033c7e72ab9a42370b4b
Red Hat OpenShift sandboxed containers 1.1 patch: sha256:8f29671308ca658e32e97d5c3b482f7541aae1bca1b71f39b3276a9a334d8108
RHOSS-1.36-RHEL-8 patch: 1.36.0-4
Red Hat OpenShift distributed tracing 3.5.1 patch: sha256:ce79641c2031185586fa3dc5c504db2df69f4ae8ac1e91577232dfccde20633f
Red Hat OpenShift distributed tracing 3.5.1 patch: sha256:64db38a22aab24fb69cc1fbadc9aed331f52eb0fb14ff9d45c4aa054ead38b81
Red Hat OpenShift distributed tracing 3.5.2 patch: sha256:69c5921a94e0ac1f254ac8bc1fbd400fc4322b0537320dcd205d9ad854b277f3
Compliance Operator 1 patch: sha256:9bc1fca7173d0080640ff9900d362512e480012a616922f4763e8e6becd8f520
cert-manager operator for Red Hat OpenShift 1.16 patch: sha256:ec9c6b34a40da29f3ee89b361d94879025a998d34309bf3b63c555f3c225eb16
Red Hat OpenShift distributed tracing 3.5.3 patch: sha256:648db93ff38b16ecb8a0fe831d722d1ddac9aadcb8663a45a1a9086ef9129dd2
Red Hat OpenShift distributed tracing 3.5.3 patch: sha256:a51ae66a32ddfa21fc4c9bcd42540a8e12c5a59b0e8c27369dd1689a924bbebe
Compliance Operator 1 patch: sha256:b282ae2e5cfe451081785f221137d45d05320cf0017c3f1cba18a509d43eb6d9
Red Hat OpenShift distributed tracing 3.5.1 patch: sha256:044c58b2f2d18d5a20fd23dafc2db1ee6d6d48ac5c20706f176b8132d1d8ac96
Red Hat OpenShift sandboxed containers 1.1 patch: sha256:9ff002e628e5646b5ab3cc9201087847bea29569b4a1bc135b89d5c1a5f0a422
Red Hat OpenShift distributed tracing 3.5.1 patch: sha256:540ed092ec7c7e8e07927636ccdb04a662a7108c295f793028494c9184bdf85b
Red Hat OpenShift distributed tracing 3.5.1 patch: sha256:73ddf7caa420d1cb2027068dabcc7bbf07fdd160135ab12ad0656cec5dbef185
Red Hat OpenShift distributed tracing 3.5.2 patch: sha256:6ceeba5ce034140d4144ead58de768d8f374aa3f1c4800855871c229ee1cd785
Red Hat OpenShift distributed tracing 3.5.1 patch: sha256:fd355e1feeb516ebe51d161bad67c32659884bf551cccbf34b9f13e46a89449b
Red Hat OpenShift distributed tracing 3.5.3 patch: sha256:34c4588cf354ab2a69695897911e7caca6f7df93fb13fed716b3f99608ff70aa
cert-manager operator for Red Hat OpenShift 1.16 patch: sha256:df852ad92734bc087e213e6c7075daf6d7010db4ab72919649736804e295a6a2
Red Hat OpenShift distributed tracing 3.5.1 patch: sha256:9407bf93b2128d5da4a14b2ba8dd48a27b688fbb962b9383e7cb260ab43b6f24
Red Hat OpenShift distributed tracing 3.5.3 patch: sha256:f250e39033d7cb1d786e5a7ec6798c25d4c5d8c6ecbcf6828915605fc4658da5
Red Hat OpenShift distributed tracing 3.5.1 patch: sha256:648db93ff38b16ecb8a0fe831d722d1ddac9aadcb8663a45a1a9086ef9129dd2
Red Hat Enterprise Linux 9 patch: 0:3.5.3-6.el9_6
Compliance Operator 1 patch: sha256:4953a7ea865ff38a4fe19d5536d8062870c262733c640a2c7e4bd9e0bfb3d498
Red Hat OpenShift sandboxed containers 1.1 patch: sha256:8caeae7ffadf08840a47bc90c390ff402dd7db11457bca48f4e08a11e394be74
File Integrity Operator 1 patch: sha256:86d2378dea6c26da92e19e1a8dc9c9fb0fa8587fd60f83e6cc4503153e753db9
Red Hat OpenShift distributed tracing 3.5.2 patch: sha256:044c58b2f2d18d5a20fd23dafc2db1ee6d6d48ac5c20706f176b8132d1d8ac96
Red Hat OpenShift distributed tracing 3.5.1 patch: sha256:3198d0074236cb452644b5c580c6f37df3ff2984f6ca94fcda8b35ba271658d4
cert-manager operator for Red Hat OpenShift 1.16 patch: sha256:330e8b5ab4841a21f8f5f23cc7fb192197872f11639b12bf4b1e70831f636323
Red Hat OpenShift distributed tracing 3.5.2 patch: sha256:88ce7e9894e7e4b1406d6e1f20e18cd19cff9df376f5455a24eeffb118f0535f
Red Hat OpenShift distributed tracing 3.5.1 patch: sha256:9b66a46b3a28084c45823268d1fa4ae953c50b996f3d265c5fc9f4bc3eb326b4
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support patch: 0:3.3.3-1.el8_4.1
Red Hat Web Terminal 1.11 on RHEL 9 patch: 1.11-8
Red Hat OpenShift distributed tracing 3.5.2 patch: sha256:f250e39033d7cb1d786e5a7ec6798c25d4c5d8c6ecbcf6828915605fc4658da5
Red Hat OpenShift distributed tracing 3.5.1 patch: sha256:6ceeba5ce034140d4144ead58de768d8f374aa3f1c4800855871c229ee1cd785
Red Hat OpenShift distributed tracing 3.5.2 patch: sha256:ce79641c2031185586fa3dc5c504db2df69f4ae8ac1e91577232dfccde20633f
Red Hat OpenShift distributed tracing 3.5.3 patch: sha256:044c58b2f2d18d5a20fd23dafc2db1ee6d6d48ac5c20706f176b8132d1d8ac96
Red Hat OpenShift sandboxed containers 1.1 patch: sha256:7b7c0b42ff8814d9d0cfa1b0ec9e58aebe79bc5cfbc658384f026d8493ae6fbe
Red Hat OpenShift distributed tracing 3.5.2 patch: sha256:5604dbb58d5e31f399f41ae4bf7a766272bf091a4e1bd6e89d1b85d62b0db93a
Red Hat OpenShift distributed tracing 3.5.1 patch: sha256:acfdb88e8d2870d07fb93fb022a000f2a5d9b854cdf4c43a0e650f387ea1a713
Red Hat OpenShift distributed tracing 3.5.3 patch: sha256:6b72262a6a1e4b8acda6be579e26572adf2ff59254530e6e5d3ef17cfa6657f4
RHOSS-1.36-RHEL-8 patch: 1.36.0-11
Red Hat OpenShift distributed tracing 3.5.1 patch: sha256:5604dbb58d5e31f399f41ae4bf7a766272bf091a4e1bd6e89d1b85d62b0db93a
Red Hat OpenShift distributed tracing 3.5.2 patch: sha256:a51ae66a32ddfa21fc4c9bcd42540a8e12c5a59b0e8c27369dd1689a924bbebe
Red Hat OpenShift distributed tracing 3.5.1 patch: sha256:69c5921a94e0ac1f254ac8bc1fbd400fc4322b0537320dcd205d9ad854b277f3
Red Hat OpenShift distributed tracing 3.5.2 patch: sha256:73ddf7caa420d1cb2027068dabcc7bbf07fdd160135ab12ad0656cec5dbef185
Red Hat OpenShift distributed tracing 3.5.3 patch: sha256:4856bc69d0c18c6049819007d25b966a6ee02dcc819682f7294503ab2d646776
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions patch: 0:3.3.3-6.el8_6
Red Hat OpenShift sandboxed containers 1.1 patch: sha256:869dabef4a7bf424fb000f5d5f772f02b1c4653fe08fff96ec67e0adf2b2c27d
Red Hat OpenShift sandboxed containers 1.1 patch: sha256:e45dfb3b2bcc1e13376fc017ba00bbc2966a61c097fdeae8edddfd13b7d69f91
Red Hat OpenShift distributed tracing 3.5.1 patch: sha256:b6f2f955cb33ccb5c8f82d1537f4e0cb30c2bf31b30d4ef6a44a72abb742b973
Red Hat OpenShift distributed tracing 3.5.3 patch: sha256:35a048b43d21f9f05df76fc7cb5766eb1f708be1c0012f117fdc09851b8047e1
Red Hat OpenShift distributed tracing 3.5.2 patch: sha256:86d400b195958c287846ae60d76d2ec277740da3d3de033c7e72ab9a42370b4b
Red Hat OpenShift sandboxed containers 1.1 patch: sha256:cead623ceda4048cabaa81c371ed2a8143f5c5514276fca1d71685bd9e6d1e65
Red Hat OpenShift distributed tracing 3.5.3 patch: sha256:1413caf075bae338e12199fc8a6f53c13b491c81e3ad36251a09bceee554955d
Red Hat OpenShift distributed tracing 3.5.2 patch: sha256:6b72262a6a1e4b8acda6be579e26572adf2ff59254530e6e5d3ef17cfa6657f4
Red Hat OpenShift sandboxed containers 1.1 patch: sha256:7b6bd3411ca5ec140968975d4f11f3ec0686b6fbca0ce05288e041ee2e569a89
Red Hat Enterprise Linux 8.2 Advanced Update Support patch: 0:3.3.2-8.el8_2.1
Red Hat OpenShift distributed tracing 3.5.2 patch: sha256:d19f9ec47cebda060653f6f810431dbb1ea4209f0a925a9f9a9739e7b7487c33
Red Hat Discovery 2 patch: sha256:1c67d8d526ab4f2854947f7dccd8752a2efd414c0f1cbab17706fa91147e7cda
Red Hat OpenShift distributed tracing 3.5.2 patch: sha256:d0878cf4a206d3f70a7a8fc3d5d30f0272697afcb360599b248da9215ec60366
Red Hat OpenShift distributed tracing 3.5.2 patch: sha256:3198d0074236cb452644b5c580c6f37df3ff2984f6ca94fcda8b35ba271658d4
Red Hat Enterprise Linux 8 patch: 0:3.3.3-6.el8_10
Red Hat Web Terminal 1.11 on RHEL 9 patch: 1.11-19
Red Hat OpenShift distributed tracing 3.5.2 patch: sha256:fd355e1feeb516ebe51d161bad67c32659884bf551cccbf34b9f13e46a89449b
Red Hat OpenShift Container Platform 4.20 patch: 4.20.9.6.202509251656-0
Compliance Operator 1 patch: sha256:c953e9f9abf9cf25bf65bb3ffdc86ccf49b3e69a1cf3fbb47b6972e421fd6628
Red Hat Web Terminal 1.12 on RHEL 9 patch: 1.12-4
Red Hat OpenShift Container Platform 4.16 patch: 416.94.202601071926-0
Red Hat OpenShift distributed tracing 3.5.3 patch: sha256:c1e80172a78d227fb1076cbf608e42b2c551cc09233abd9a6ada74af06758447
RHOSS-1.36-RHEL-8 patch: 1.36.0-9
Red Hat OpenShift distributed tracing 3.5.2 patch: sha256:540ed092ec7c7e8e07927636ccdb04a662a7108c295f793028494c9184bdf85b
Red Hat OpenShift Container Platform 4.19 patch: 4.19.9.6.202510140714-0
Red Hat OpenShift distributed tracing 3.5.3 patch: sha256:9407bf93b2128d5da4a14b2ba8dd48a27b688fbb962b9383e7cb260ab43b6f24
Red Hat OpenShift distributed tracing 3.5.3 patch: sha256:25bf841bfc90928c684f6cf07329d5551806503fbb42806fe564f90fdf98d743
Red Hat OpenShift distributed tracing 3.5.2 patch: sha256:c1e80172a78d227fb1076cbf608e42b2c551cc09233abd9a6ada74af06758447
Red Hat OpenShift sandboxed containers 1.1 patch: sha256:59fb1f7f1653361d94f7d48b42d8fe19ed3263c1c78654837c11f2135544c1ac
Red Hat OpenShift distributed tracing 3.5.2 patch: sha256:e17c9de114b6b89e9c66642ab5f95b62321d367b6d22be1464cf89dbc3ead673
Red Hat OpenShift distributed tracing 3.5.2 patch: sha256:9407bf93b2128d5da4a14b2ba8dd48a27b688fbb962b9383e7cb260ab43b6f24
Red Hat OpenShift distributed tracing 3.5.3 patch: sha256:f778be7b2721aae35d0025fc30dae9bd1e1c2e0c69cecd0171b6bdec927388ff
File Integrity Operator 1 patch: sha256:59fcdf4ea159ba76fdb582011263672646dd9d63304a91592c0a21d0f43986a4
File Integrity Operator 1 patch: sha256:364d11af112a5b1d3f28c9ea8b7aac678e111b9c7fca0516d61036904f318605
Red Hat OpenShift distributed tracing 3.5.2 patch: sha256:25bf841bfc90928c684f6cf07329d5551806503fbb42806fe564f90fdf98d743
Compliance Operator 1 patch: sha256:06ad8599c4b0170264e40a45b0126504c87c37f0832265c7ff6541d2385b2049
Red Hat Enterprise Linux 8.8 Telecommunications Update Service patch: 0:3.3.3-5.el8_8.1
Red Hat OpenShift distributed tracing 3.5.3 patch: sha256:d19f9ec47cebda060653f6f810431dbb1ea4209f0a925a9f9a9739e7b7487c33
Red Hat OpenShift distributed tracing 3.5.2 patch: sha256:1413caf075bae338e12199fc8a6f53c13b491c81e3ad36251a09bceee554955d
Compliance Operator 1 patch: sha256:6ab41bd207ae7e33f29adc87e208366472654bb5fb9b1854234cc5674ecc169e
Red Hat OpenShift distributed tracing 3.5.2 patch: sha256:64db38a22aab24fb69cc1fbadc9aed331f52eb0fb14ff9d45c4aa054ead38b81
Red Hat OpenShift distributed tracing 3.5.3 patch: sha256:da510d9c86c877d8f4cdcddfa337b16858dd4e490cc3e85124b2076408499826
Red Hat OpenShift distributed tracing 3.5.2 patch: sha256:34c4588cf354ab2a69695897911e7caca6f7df93fb13fed716b3f99608ff70aa
Red Hat Enterprise Linux 9.4 Extended Update Support patch: 0:3.5.3-4.el9_4.1
Compliance Operator 1 patch: sha256:8294e4b1b531457282270c375f4045ea2baf20a0a8a637006364096a9dec3c41
Red Hat Enterprise Linux 8.6 Telecommunications Update Service patch: 0:3.3.3-6.el8_6
Red Hat OpenShift distributed tracing 3.5.3 patch: sha256:d0878cf4a206d3f70a7a8fc3d5d30f0272697afcb360599b248da9215ec60366
Red Hat OpenShift distributed tracing 3.5.2 patch: sha256:acfdb88e8d2870d07fb93fb022a000f2a5d9b854cdf4c43a0e650f387ea1a713
Red Hat Insights proxy 1.5 patch: sha256:b7f671263af799e681ccca9b07420c1b5cee369282b5e1520557ee2414618652
Compliance Operator 1 patch: sha256:09f37fa618a4e02460b28b1097148573b395354300db5f917ed155ab7968b779
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions patch: 0:3.5.3-2.el9_0.1
Red Hat OpenShift Container Platform 4.18 patch: 418.94.202510230424-0
Red Hat OpenShift distributed tracing 3.5.3 patch: sha256:acfdb88e8d2870d07fb93fb022a000f2a5d9b854cdf4c43a0e650f387ea1a713
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support patch: 0:3.3.3-6.el8_6
Red Hat OpenShift distributed tracing 3.5.1 patch: sha256:03b0aced2885356099971c8470add4b0f7732bcb380c74be3691d30c2894e5c0
Red Hat OpenShift distributed tracing 3.5.3 patch: sha256:3198d0074236cb452644b5c580c6f37df3ff2984f6ca94fcda8b35ba271658d4
Red Hat OpenShift distributed tracing 3.5.3 patch: sha256:e17c9de114b6b89e9c66642ab5f95b62321d367b6d22be1464cf89dbc3ead673
Red Hat OpenShift distributed tracing 3.5.1 patch: sha256:4856bc69d0c18c6049819007d25b966a6ee02dcc819682f7294503ab2d646776
Red Hat OpenShift sandboxed containers 1.1 patch: sha256:f5e1602d72177d77f1b879c76e6f6cfbc2979c136c06ca9f03ea97ffb369b7a6
Red Hat OpenShift distributed tracing 3.5.3 patch: sha256:5604dbb58d5e31f399f41ae4bf7a766272bf091a4e1bd6e89d1b85d62b0db93a
Red Hat OpenShift distributed tracing 3.5.2 patch: sha256:35a048b43d21f9f05df76fc7cb5766eb1f708be1c0012f117fdc09851b8047e1
cert-manager operator for Red Hat OpenShift 1.16 patch: sha256:1abdfac084e7c86e7a93a19e5cf6b54db79b903bfb7474a42200f753b29eda4b
Red Hat OpenShift Container Platform 4.15 patch: 415.92.202601271320-0
Red Hat OpenShift distributed tracing 3.5.3 patch: sha256:fd355e1feeb516ebe51d161bad67c32659884bf551cccbf34b9f13e46a89449b
RHOSS-1.36-RHEL-8 patch: 1.36.0-7
Red Hat OpenShift distributed tracing 3.5.2 patch: sha256:bec83c93d089d4ec7a8e00c0b1a94732c0e083ed216978fd1214ef9bea1082dd
Red Hat OpenShift distributed tracing 3.5.3 patch: sha256:b6f2f955cb33ccb5c8f82d1537f4e0cb30c2bf31b30d4ef6a44a72abb742b973
Red Hat OpenShift distributed tracing 3.5.1 patch: sha256:f250e39033d7cb1d786e5a7ec6798c25d4c5d8c6ecbcf6828915605fc4658da5
Red Hat OpenShift sandboxed containers 1.1 patch: sha256:24722900db1425bf0c27f6ad6f3fb7d79ff9ebc433bdab58423fa71bab76122b
Red Hat OpenShift distributed tracing 3.5.1 patch: sha256:86d400b195958c287846ae60d76d2ec277740da3d3de033c7e72ab9a42370b4b
Red Hat OpenShift distributed tracing 3.5.1 patch: sha256:c1e80172a78d227fb1076cbf608e42b2c551cc09233abd9a6ada74af06758447
Red Hat OpenShift Container Platform 4.17 patch: 417.94.202510112152-0
Red Hat OpenShift distributed tracing 3.5.2 patch: sha256:f778be7b2721aae35d0025fc30dae9bd1e1c2e0c69cecd0171b6bdec927388ff
Red Hat Insights proxy 1.5 patch: sha256:3fa6c89778502bfb0b16ef8ff3c576467e8a21269afb2380c4ae176ee2fc7fec
Red Hat Enterprise Linux 10 patch: 0:3.7.7-4.el10_0
Red Hat OpenShift distributed tracing 3.5.1 patch: sha256:d0878cf4a206d3f70a7a8fc3d5d30f0272697afcb360599b248da9215ec60366
Compliance Operator 1 patch: sha256:0903a7a5c857d96c84fd022e5785514eff201047e2fdd5d6699d79f17440ef02
Red Hat Discovery 2 patch: sha256:c85cfbcaf7888885e57596b7b8bde3894718cfc33326499b24961a66a62cf083
Red Hat Enterprise Linux 7 Extended Lifecycle Support patch: 0:3.1.2-14.el7_9.1
Red Hat OpenShift distributed tracing 3.5.3 patch: sha256:6ceeba5ce034140d4144ead58de768d8f374aa3f1c4800855871c229ee1cd785
Red Hat OpenShift distributed tracing 3.5.2 patch: sha256:da510d9c86c877d8f4cdcddfa337b16858dd4e490cc3e85124b2076408499826
Red Hat OpenShift sandboxed containers 1.1 patch: sha256:616297cf428a55918fad3653d7aca18fe3c1f622ff63ab9885991bd6dbc6ed65
Red Hat OpenShift distributed tracing 3.5.3 patch: sha256:03b0aced2885356099971c8470add4b0f7732bcb380c74be3691d30c2894e5c0
RHOSS-1.36-RHEL-8 patch: 1.36.0-12
Red Hat OpenShift Container Platform 4.14 patch: 414.92.202510211419-0
Red Hat OpenShift distributed tracing 3.5.1 patch: sha256:e17c9de114b6b89e9c66642ab5f95b62321d367b6d22be1464cf89dbc3ead673
Red Hat OpenShift sandboxed containers 1.1 patch: sha256:6b2da66d287083cf823f6efd8d61ba6a1be10eb6ba8cda484dea4e2ab67ae108
Compliance Operator 1 patch: sha256:525c4d55fde92557bd0c3123961cb32eee28edca3aaa884e224d5efa4f3c4f83
Red Hat OpenShift distributed tracing 3.5.3 patch: sha256:64db38a22aab24fb69cc1fbadc9aed331f52eb0fb14ff9d45c4aa054ead38b81

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

libarchive is a widely-used open-source library for reading and writing archive formats (TAR, ZIP, RAR, etc.), integrated into numerous applications and operating systems. The vulnerability exists in the RAR format handler, specifically the archive_read_format_rar_seek_data() function, which processes seek operations within RAR archives. An integer overflow (CWE-190) in size calculations causes incorrect memory allocation or boundary checks, subsequently leading to a double-free condition (CWE-415) when the same memory region is freed multiple times. This is a classic memory safety defect: an attacker crafts a malicious RAR file with specific seek offset values that overflow, causing the library to free previously-freed memory when processing the archive. CPE affected: cpe:2.3:a:libarchive:libarchive:*:*:*:*:*:*:*:* (all versions prior to patch).

Know when Libarchive gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 7.8 HIGH
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Ubuntu MEDIUM
SUSE HIGH
Red Hat 7.8 HIGH

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
PoC Detected
Feb 05, 2026 - 20:15 vuln.today
Public exploit code
CVE Published
Jun 09, 2025 - 20:15 nvd
HIGH 7.8

DescriptionNVD

A vulnerability has been identified in the libarchive library, specifically within the archive_read_format_rar_seek_data() function. This flaw involves an integer overflow that can ultimately lead to a double-free condition. Exploiting a double-free vulnerability can result in memory corruption, enabling an attacker to execute arbitrary code or cause a denial-of-service condition.

Executive ViewAI

Why It Matters

A critical vulnerability in libarchive (CVE-2025-5914) allows attackers to execute arbitrary code or crash systems through specially crafted archive files. Organizations using applications that depend on libarchive are at immediate risk, particularly those processing untrusted archive uploads or files from external sources.

Business Impact: High
Compensating Controls

Disable RAR format support if not business-critical; implement strict file upload restrictions (whitelist safe formats, enforce file size limits); deploy WAF rules to block suspicious archive submissions; isolate archive processing to sandboxed environments; segment networks to limit lateral movement from compromised systems; implement robust input validation and file type verification.

Threat Intelligence Overview

Threat Score
5.1/10
Composite threat intelligence
EPSS Score
0.0%
Top 91% exploitable
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available Yes
Active threat Yes
Deciding rule
Active threat signals + CRITICAL/HIGH severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

69
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: +20
Weaponized: 0
Threat intel: +10
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2024-37407 CRITICAL POC
9.1 Jun 08

Libarchive before 3.7.4 allows name out-of-bounds access when a ZIP archive has an empty-name file and mac-ext is enable

CVE-2016-5418 HIGH POC
7.5 Sep 21

The sandboxing code in libarchive 3.2.0 and earlier mishandles hardlink archive entries of non-zero data size, which mig

CVE-2016-4301 HIGH POC
7.8 Sep 21

Stack-based buffer overflow in the parse_device function in archive_read_support_format_mtree.c in libarchive before 3.2

CVE-2016-4302 HIGH POC
7.8 Sep 21

Heap-based buffer overflow in the parse_codes function in archive_read_support_format_rar.c in libarchive before 3.2.1 a

CVE-2016-4300 HIGH POC
7.8 Sep 21

Integer overflow in the read_SubStreamsInfo function in archive_read_support_format_7zip.c in libarchive before 3.2.1 al

CVE-2015-8931 HIGH POC
7.8 Sep 20

Multiple integer overflows in the (1) get_time_t_max and (2) get_time_t_min functions in archive_read_support_format_mtr

CVE-2024-48615 HIGH POC
7.5 Mar 28

Null Pointer Dereference vulnerability in libarchive 3.7.6 and earlier when running program bsdtar in function header_pa

CVE-2015-2304 MEDIUM POC
6.4 Mar 15

Absolute path traversal vulnerability in bsdcpio in libarchive 3.1.2 and earlier allows remote attackers to write to arb

CVE-2016-5844 MEDIUM POC
6.5 Sep 21

Integer overflow in the ISO parser in libarchive before 3.2.1 allows remote attackers to cause a denial of service (appl

CVE-2016-1541 HIGH
8.8 May 07

Heap-based buffer overflow in the zip_read_mac_metadata function in archive_read_support_format_zip.c in libarchive befo

CVE-2022-26280 MEDIUM POC
6.5 Mar 28

Libarchive v3.6.0 was discovered to contain an out-of-bounds read via the component zipx_lzma_alone_init. Rated medium s

CVE-2019-1000019 MEDIUM POC
6.5 Feb 04

libarchive version commit bf9aec176c6748f0ee7a678c5f9f9555b9a757c1 onwards (release v3.0.2 onwards) contains a CWE-125:

Vendor StatusVendor

Ubuntu

Priority: Medium
libarchive
Release Status Version
bionic needed -
focal needed -
upstream needs-triage -
jammy released 3.6.0-1ubuntu1.5
noble released 3.7.2-2ubuntu0.5
oracular released 3.7.4-1ubuntu0.3
trusty needed -
xenial needed -
plucky released 3.7.7-0ubuntu2.3
questing released 3.7.7-0ubuntu3

Debian

Bug #1107621
libarchive
Release Status Fixed Version Urgency
bullseye fixed 3.4.3-2+deb11u3 -
bullseye (security) fixed 3.4.3-2+deb11u3 -
bookworm fixed 3.6.2-1+deb12u3 -
bookworm (security) vulnerable 3.6.2-1+deb12u2 -
trixie fixed 3.7.4-4 -
forky, sid fixed 3.8.5-1 -
(unstable) fixed 3.7.4-4 -

SUSE

Severity: High
Product Status
Container bci/spack:0.23.1-11.30 Container containers/lmcache-vllm-openai:0.3.2-1.2 Container containers/pytorch:2.7.0-nvidia-2.39 Container containers/vllm-openai:0.9.1-1.2 Container suse/manager/5.0/x86_64/server:5.0.5.1.7.33.2 Container suse/multi-linux-manager/5.1/x86_64/server:5.1.1.8.7.1 Image SLES15-SP6-SAP Image SLES15-SP6-SAP-Azure Image SLES15-SP6-SAP-EC2 Image SLES15-SP6-SAP-GCE Image SLES15-SP6-SAPCAL Image SLES15-SP6-SAPCAL-Azure Image SLES15-SP6-SAPCAL-EC2 Image SLES15-SP6-SAPCAL-GCE Image SLES15-SP7-SAPCAL-Azure Image SLES15-SP7-SAPCAL-EC2 Image SLES15-SP7-SAPCAL-GCE Image ai_15_6 Image server-image Affected
Image SLES15-SP4-Manager-Server-4-3-BYOS Image SLES15-SP4-Manager-Server-4-3-BYOS-Azure Image SLES15-SP4-Manager-Server-4-3-BYOS-EC2 Image SLES15-SP4-Manager-Server-4-3-BYOS-GCE Image SLES15-SP4-SAP Image SLES15-SP4-SAP-Azure Image SLES15-SP4-SAP-EC2 Image SLES15-SP4-SAP-GCE Image SLES15-SP4-SAPCAL Image SLES15-SP4-SAPCAL-Azure Image SLES15-SP4-SAPCAL-EC2 Image SLES15-SP4-SAPCAL-GCE Image SLES15-SP5-SAPCAL-Azure Image SLES15-SP5-SAPCAL-EC2 Image SLES15-SP5-SAPCAL-GCE Affected
SUSE Liberty Linux 7 LTSS Fixed
SUSE Liberty Linux 8 Fixed
SUSE Liberty Linux 9 Fixed

Threat IntelligenceMISP

CISA Advisories
Sources: CISA (public domain)

References

Advisories & patches
ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2025-5914 ADVISORY https://security-tracker.debian.org/tracker/dla-4368-1 ADVISORY https://ubuntu.com/security/notices/USN-7601-1 ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:02522/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:02566/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:02718/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20560/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:20594/ REF https://access.redhat.com/errata/RHSA-2025:14130 REF https://access.redhat.com/errata/RHSA-2025:14135 REF https://access.redhat.com/errata/RHSA-2025:14137 REF https://access.redhat.com/errata/RHSA-2025:14141 REF https://access.redhat.com/errata/RHSA-2025:14142 REF https://access.redhat.com/errata/RHSA-2025:14525 REF https://access.redhat.com/errata/RHSA-2025:14528 REF https://access.redhat.com/errata/RHSA-2025:14594 REF https://access.redhat.com/errata/RHSA-2025:14644 REF https://access.redhat.com/errata/RHSA-2025:14808 REF https://access.redhat.com/errata/RHSA-2025:14810 REF https://access.redhat.com/errata/RHSA-2025:14828 REF https://access.redhat.com/errata/RHSA-2025:15024 REF https://access.redhat.com/errata/RHSA-2025:15397 REF https://access.redhat.com/errata/RHSA-2025:15709 REF https://access.redhat.com/errata/RHSA-2025:15827 REF https://access.redhat.com/errata/RHSA-2025:15828 REF https://access.redhat.com/errata/RHSA-2025:16524 REF https://access.redhat.com/errata/RHSA-2025:18217 REF https://access.redhat.com/errata/RHSA-2025:18218 REF https://access.redhat.com/errata/RHSA-2025:18219 REF https://access.redhat.com/errata/RHSA-2025:19041 REF https://access.redhat.com/errata/RHSA-2025:19046 REF https://access.redhat.com/errata/RHSA-2025:21885 REF https://access.redhat.com/errata/RHSA-2025:21913 REF https://access.redhat.com/errata/RHSA-2026:0326 REF https://access.redhat.com/errata/RHSA-2026:0934 REF https://access.redhat.com/errata/RHSA-2026:1541 REF https://access.redhat.com/security/cve/CVE-2025-5914 REF https://bugzilla.redhat.com/show_bug.cgi?id=2370861 REF https://cert-portal.siemens.com/productcert/html/ssa-585531.html REF https://github.com/libarchive/libarchive/releases/tag/v3.8.0

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy