Skip to main content
Mallory
HighVulnerability

CVE-2024-14031: Buffer overwrite in Sereal::Encoder via embedded vulnerable Zstandard library

Published Mar 31, 2026 · Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS8.1High · v3.1
EPSS0.64%45th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Yves
IdentifiersCVE-2024-14031CWE-1395

CVE-2024-14031 affects Sereal::Encoder for Perl versions 4.000 through 4.009_002. The issue is not a native flaw in Sereal::Encoder logic itself, but arises because the package embeds a vulnerable version of the Zstandard (zstd) library affected by CVE-2019-11922. The underlying zstd flaw is a race condition in one-pass compression functions in versions prior to 1.3.8. Under conditions where an output buffer smaller than the recommended size is used, the vulnerable compression path can perform an out-of-bounds write, resulting in a buffer overwrite condition within processes using the affected embedded library.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation can cause out-of-bounds memory writes during compression operations, which may lead to process instability, crashes, memory corruption, and potentially more severe consequences depending on runtime conditions and exploitability in the host application. The supplied CVSS vector indicates potential high impact to confidentiality, integrity, and availability, although exploitation complexity is high.

Mitigation

If you can’t patch tonight, do this now.

If immediate upgrade is not possible, reduce exposure by avoiding use of affected Sereal::Encoder versions in untrusted or attacker-influenced compression workflows, especially paths invoking one-pass compression with potentially undersized output buffers. Review deployments for embedded vulnerable zstd code, constrain access to services that process attacker-controlled serialized/compressed data, and monitor for crashes or anomalous behavior in applications using Sereal::Encoder compression features. These are compensating measures only; upgrading is the definitive fix.

Remediation

Patch, then assume compromise.

Upgrade Sereal::Encoder to version 4.010 or later. This release is referenced as the fixed version and addresses the issue by no longer shipping the vulnerable embedded zstd state present in versions 4.000 through 4.009_002. Where applicable, ensure the bundled or linked Zstandard component is at least version 1.3.8 or later.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
YvesSereal::Encoderapplication
FAQ

Frequently asked questions

Is CVE-2024-14031 exploited in the wild?
As of Sep 25, 2026, Mallory has no reports of CVE-2024-14031 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2024-14031?
As of Sep 25, 2026, Mallory has found no public exploit for CVE-2024-14031.
Is there a patch for CVE-2024-14031?
Upgrade Sereal::Encoder to version 4.010 or later. This release is referenced as the fixed version and addresses the issue by no longer shipping the vulnerable embedded zstd state present in versions 4.000 through 4.009_002.
What products are affected by CVE-2024-14031?
Yves Sereal::Encoder.
How severe is CVE-2024-14031?
CVE-2024-14031 has a CVSS v3.1 score of 8.1 (High) and an EPSS score of 0.64% (45th percentile) as of Sep 25, 2026.
Activity feed

Recent activity

4 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity3Community discussion across Reddit, Mastodon, and other social sources.