CVE-2024-14030: Sereal::Decoder versions from 4.000 through 4.009_002 for Perl is vulnerable to a buffer overwrite flaw in the Zstandard library
Robert Rothenberg 31 Mar 2026 11:33 UTC
=======================================================================
CVE-2024-14030 CPAN Security Group
========================================================================
CVE ID: CVE-2024-14030
Distribution: Sereal-Decoder
Versions: from 4.000 through 4.009_002
MetaCPAN: https://metacpan.org/dist/Sereal-Decoder
VCS Repo: https://github.com/Sereal/Sereal
Sereal::Decoder versions from 4.000 through 4.009_002 for Perl is
vulnerable to a buffer overwrite flaw in the Zstandard library
Description
-----------
Sereal::Decoder versions from 4.000 through 4.009_002 for Perl is
vulnerable to a buffer overwrite flaw in the Zstandard library.
Sereal::Decoder 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.
Problem types
-------------
- CWE-1395 Dependency on Vulnerable Third-Party Component
Solutions
---------
Upgrade to Sereal::Decoder version 4.010 or later.
References
----------
https://github.com/advisories/GHSA-w77f-wv46-4vcx
https://www.cve.org/CVERecord?id=CVE-2019-11922
https://metacpan.org/release/YVES/Sereal-Decoder-4.010/changes
Timeline
--------
- 2017-02-06: Sereal::Decoder version 4.001_001 released.
- 2028-12-27: Zstandard 1.3.8 released.
- 2019-07-25: CVE-2019-11922 for Zstandard published
- 2020-02-04: Sereal::Decoder version 4.010 released.
- 2023-02-09: Advisory added to the CPANSA database.
- 2024-02-17: Advisory updated in the CPANSA database.