CVE-2024-14031

Sereal::Encoder versions from 4.000 through 4.009_002 for Perl embeds a vulnerable version of the Zstandard library

Published Mar 31, 2026 CVSS 3.1 · 8.1 High EPSS < 1% KEV · Not listed
Description
Sereal::Encoder versions from 4.000 through 4.009_002 for Perl embeds a vulnerable version of the Zstandard library.

Sereal::Encoder embeds a version of the Zstandard (zstd) library that is vulnerable to CVE-2019-11922. This is a race condition in the one-pass compression functions of Zstandard prior to version 1.3.8 could allow an attacker to write bytes out of bounds if an output buffer smaller than the recommended size was used.

Analysis

AI-generated

Technical impact

The vulnerability is a race condition in the one‑pass compression functions of the Zstandard library embedded within Sereal::Encoder versions 4.000 through 4.009_002. The defect permits an attacker to trigger an out‑of‑bounds write when the compression routine writes to an output buffer that is smaller than the recommended size. This corruption can overwrite adjacent memory, potentially enabling arbitrary code execution. The weakness corresponds to an out‑of‑bounds write (CWE‑787) coupled with a race condition (CWE‑1395).

Affected Systems

The affected product is Sereal::Encoder for Perl, provided by the YVES vendor. All releases from version 4.000 up to and including 4.009_002 contain the vulnerable Zstandard implementation. Versions 4.010 and later incorporate the fixed library and are not affected.

Risk and Exploitability

The CVSS base score of 8.1 marks this flaw as high severity. The EPSS score indicates that the probability of exploitation in the wild is below 1 %, and it is not currently listed in CISA’s KEV catalog. Because the weakness lies in compression logic, an attacker must be able to invoke the Zstandard compression functions, which typically requires sending crafted data to an application that uses Sereal::Encoder. This suggests a local or application‑level attack vector, and no evidence of a publicly available exploit is known.

Remediation

Vendor Solution

Upgrade to Sereal::Encoder version 4.010 or later.


OpenCVE Recommended Actions

  • Upgrade Sereal::Encoder to version 4.010 or later.
  • Verify that the application rebuilds Sereal::Encoder with the updated library.

Generated by OpenCVE AI on April 13, 2026 at 14:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Yves sereal\
Weaknesses CWE-787
CPEs cpe:2.3:a:yves:sereal\:\:encoder:*:*:*:*:*:perl:*:*
Vendors & Products Yves sereal\
Type Values Removed Values Added
Description Sereal::Encoder versions from 4.000 through 4.009_002 for Perl is vulnerable to a buffer overwrite flaw in the Zstandard library. Sereal::Encoder embeds a version of the Zstandard (zstd) library that is vulnerable to CVE-2019-11922. This is a race condition in the one-pass compression functions of Zstandard prior to version 1.3.8 could allow an attacker to write bytes out of bounds if an output buffer smaller than the recommended size was used. Sereal::Encoder versions from 4.000 through 4.009_002 for Perl embeds a vulnerable version of the Zstandard library. Sereal::Encoder embeds a version of the Zstandard (zstd) library that is vulnerable to CVE-2019-11922. This is a race condition in the one-pass compression functions of Zstandard prior to version 1.3.8 could allow an attacker to write bytes out of bounds if an output buffer smaller than the recommended size was used.
Title Sereal::Encoder versions from 4.000 through 4.009_002 for Perl is vulnerable to a buffer overwrite flaw in the Zstandard library Sereal::Encoder versions from 4.000 through 4.009_002 for Perl embeds a vulnerable version of the Zstandard library
Type Values Removed Values Added
First Time appeared Yves
Yves sereal::encoder
Vendors & Products Yves
Yves sereal::encoder
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Sereal::Encoder versions from 4.000 through 4.009_002 for Perl is vulnerable to a buffer overwrite flaw in the Zstandard library. Sereal::Encoder embeds a version of the Zstandard (zstd) library that is vulnerable to CVE-2019-11922. This is a race condition in the one-pass compression functions of Zstandard prior to version 1.3.8 could allow an attacker to write bytes out of bounds if an output buffer smaller than the recommended size was used.
Title Sereal::Encoder versions from 4.000 through 4.009_002 for Perl is vulnerable to a buffer overwrite flaw in the Zstandard library
Weaknesses CWE-1395
References
Weaknesses
  • CWE-1395

    Dependency on Vulnerable Third-Party Component

  • CWE-787

    Out-of-bounds Write

Sources

Status
PUBLISHED
Assigner
CPANSec
Published
Updated
Apr 1, 2026, 4:30 PM
Reserved
Mar 29, 2026, 3:12 PM
Status
Analyzed
Published
Mar 31, 2026, 12:16 PM
Modified
Jul 25, 2026, 10:10 AM