7-Zip · Public exploit code

PoC exploits out-of-bounds write in 7-Zip LZX decoder

· 1 min read

7-Zip before 26.06 has a heap out-of-bounds write in the LZX decoder, triggered when victims extract crafted multi-volume CAB archives, enabling arbitrary code execution. A PoC has been published. Update to version 26.06.

WhatsApp LinkedIn X
HighVulnerabilityPublic exploit codePatched

In 30 seconds

Observed

A proof-of-concept exploit is now public for CVE-2026-125742, a flaw in 7-Zip's LZX decoder, the code that decompresses a Microsoft-era compression format used inside CAB archive files. The announcement came through the ptdbugs account with tracker ID PT-2026-141597, and a GitHub repository now hosts the exploit code.ptdbugsx.com · ptdbugs · xOpen original sourceSee in source listgithub.comgithub.com · rssOpen original sourceSee in source list

Alleged

According to the advisory summary, the flaw is a heap out-of-bounds write, which means the program can write data past the end of a memory buffer it owns. If a victim extracts a specially crafted multi-volume CAB archive, the advisory claims this corrupts memory and enables arbitrary code execution, meaning the attacker runs code of their choice on the victim's machine.ptdbugsx.com · ptdbugs · xOpen original sourceSee in source list

Inferred

The advisory pins the problem to versions before 26.06, so moving to 26.06 or later looks like the straightforward fix, though the evidence here does not spell out the patch details.ptdbugsx.com · ptdbugs · xOpen original sourceSee in source list

What happened

Observed

The news arrived through an X post from the account ptdbugs, which announced that a PoC/exploit has been discovered for CVE-2026-125742, tracked on the dbugs platform as PT-2026-141597. The announcement is accompanied by a public GitHub repository, ThomasAtlantis/CVE-2026-125742, where the exploit code lives.ptdbugsx.com · ptdbugs · xOpen original sourceSee in source listgithub.comgithub.com · rssOpen original sourceSee in source list

Alleged

The advisory describes a specific causal chain. An attacker crafts a multi-volume CAB archive, meaning an archive split across several files. During extraction, a continuation volume declares a smaller compression window than the earlier volume used. A stale _pos value, an internal position marker that was not reset, then bypasses the bounds checks and lets the decoder write outside its heap buffer.ptdbugsx.com · ptdbugs · xOpen original sourceSee in source list

Alleged

The delivery path is social engineering rather than remote access. The advisory says attackers can entice victims to extract the crafted archives, so the bug fires during a routine user action, not through a network connection.ptdbugsx.com · ptdbugs · xOpen original sourceSee in source list

Why it matters

Alleged

Archive extraction is one of the most ordinary things a computer user does, and that is exactly what this bug targets. The advisory claims arbitrary code execution as the outcome, which in plain terms means the machine runs whatever the attacker's archive carries, with the privileges of the person who opened it.ptdbugsx.com · ptdbugs · xOpen original sourceSee in source list

Inferred

The attack still needs a person to open a hostile multi-volume CAB file, so the practical risk concentrates where users handle archives from untrusted sources. That shapes who should treat this as urgent: workflows that automatically or routinely process stranger-supplied archives carry the most exposure.ptdbugsx.com · ptdbugs · xOpen original sourceSee in source list

What to do

Inferred

The clearest step is to move to 7-Zip 26.06 or newer. The advisory frames the flaw as present in versions before 26.06, which points to that release as the fixed one, though this batch includes no changelog to confirm the patch directly.ptdbugsx.com · ptdbugs · xOpen original sourceSee in source list

Inferred

Until the update is in place, treat multi-volume CAB archives from unknown origins with suspicion. If your work depends on processing untrusted archives, doing it inside an isolated environment is a reasonable extra layer of protection.ptdbugsx.com · ptdbugs · xOpen original sourceSee in source list

Confirmed and still uncertain

Observed

On the observed side: the dbugs advisory entry exists, a GitHub repository for the CVE-2026-125742 PoC exists, and the ptdbugs account announced the discovery publicly with a full description of the affected vendor and product, both listed as 7-Zip.dbu.gsdbu.gs · rssOpen original sourceSee in source listgithub.comgithub.com · rssOpen original sourceSee in source listptdbugsx.com · ptdbugs · xOpen original sourceSee in source list

Inferred

Plenty remains open. Nothing in this batch shows exploitation in the wild, no victim is confirmed, and both RSS entries arrived without body text, so the entire technical narrative traces to a single X post summary. The PoC's exact capabilities, such as whether it achieves reliable code execution or only crashes the application, are not documented in the evidence provided.ptdbugsx.com · ptdbugs · xOpen original sourceSee in source listdbu.gsdbu.gs · rssOpen original sourceSee in source list

What people are saying

Observed

The loudest voice in this batch is ptdbugs on X, which posted: 'A PoC/exploit has been discovered for vulnerability CVE-2026-125742'. The account pairs the announcement with the vendor and product identification, both listed as 7-Zip, and directs readers to the dbugs page for the details.ptdbugsx.com · ptdbugs · xOpen original sourceSee in source list

Inferred

No other commentary, vendor statement, or researcher response appears in the evidence, so the public conversation around this flaw is, so far, a single announcer plus the artifacts it points to.ptdbugsx.com · ptdbugs · xOpen original sourceSee in source list

Evolution

Observed

The picture assembled in three pieces: a tracker entry on dbu.gs under PT-2026-141597 documenting the vulnerability, a public GitHub repository hosting exploit code for CVE-2026-125742, and an X post from ptdbugs tying them together for a wider audience.dbu.gsdbu.gs · rssOpen original sourceSee in source listgithub.comgithub.com · rssOpen original sourceSee in source listptdbugsx.com · ptdbugs · xOpen original sourceSee in source list

Inferred

The decisive shift is the move from advisory to demonstrated exploit code. A described memory bug is a concern; a published PoC hands every attacker a working starting point, which typically raises the urgency of patching from 'eventually' to 'soon'.github.comgithub.com · rssOpen original sourceSee in source listptdbugsx.com · ptdbugs · xOpen original sourceSee in source list

Reach

Observed

2 independent groups, 1 updates, and 0 engagements.

Technical detail

Alleged

The mechanics, as the advisory tells it: the LZX decoder is the 7-Zip code that decompresses LZX, a compression format used in Microsoft cabinet (CAB) files. The bug is a heap out-of-bounds write, meaning decompression writes data beyond the boundary of a heap-allocated buffer.ptdbugsx.com · ptdbugs · xOpen original sourceSee in source list

Alleged

The trigger hinges on multi-volume archives. A continuation CAB volume, the next file in a split archive, declares a smaller window size than its predecessor. The decoder keeps a stale _pos value from the earlier volume, and that outdated position marker slips past the bounds checks, letting a write land outside the buffer. Memory corruption, and per the advisory arbitrary code execution, follow from there.ptdbugsx.com · ptdbugs · xOpen original sourceSee in source list

Sources and evidence

Observed

This story rests on three items: the dbu.gs advisory page for PT-2026-141597, the GitHub repository ThomasAtlantis/CVE-2026-125742 with the PoC, and the ptdbugs X post that announced the exploit along with the vulnerability description.dbu.gsdbu.gs · rssOpen original sourceSee in source listgithub.comgithub.com · rssOpen original sourceSee in source listptdbugsx.com · ptdbugs · xOpen original sourceSee in source list

Inferred

The evidence has limits worth naming. Both RSS entries arrived without body text, so the technical narrative traces to the X post summary alone. The PoC repository was not independently reviewed here, and the claim of arbitrary code execution remains the advisory's assertion rather than a demonstrated result within this batch.ptdbugsx.com · ptdbugs · xOpen original sourceSee in source listdbu.gsdbu.gs · rssOpen original sourceSee in source list

Sources

  1. ptdbugsx.com · ptdbugs · x
  2. github.comgithub.com · rss
  3. dbu.gsdbu.gs · rss

Incidents like this, every morning

The ones that need action first, in a 3-minute read.

Free · 1 email a day, in the morning · no spam, unsubscribe in 1 click

Get the next one tomorrow morning

One email a day with what changed, what to fix first and how.

Free · 1 email a day, in the morning · no spam, unsubscribe in 1 click

Share it with your team

Whoever handles security with you should get it too.

LinkedIn X

Your colleague gets a confirmation request. Nothing is sent unless they confirm.

See all news

Read also

Before you go: get this every day

The HIFY Radar daily edition lands every morning with the incidents that need action. Free.

Free · 1 email a day, in the morning · no spam, unsubscribe in 1 click