Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <637c6490-f8cf-42d7-8799-bbe0de4136ea@cpansec.org>
Date: Tue, 31 Mar 2026 12:35:49 +0100
From: Robert Rothenberg <rrwo@...nsec.org>
To: oss-security@...ts.openwall.com
Subject: CVE-2024-14031: Sereal::Encoder versions from 4.000 through 4.009_002
 for Perl is vulnerable to a buffer overwrite flaw in the Zstandard library

========================================================================
CVE-2024-14031                                       CPAN Security Group
========================================================================

         CVE ID:  CVE-2024-14031
   Distribution:  Sereal-Encoder
       Versions:  from 4.000 through 4.009_002

       MetaCPAN:  https://metacpan.org/dist/Sereal-Encoder
       VCS Repo:  https://github.com/Sereal/Sereal


Sereal::Encoder versions from 4.000 through 4.009_002 for Perl is
vulnerable to a buffer overwrite flaw in the Zstandard library

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.

Problem types
-------------
- CWE-1395 Dependency on Vulnerable Third-Party Component

Solutions
---------
Upgrade to Sereal::Encoder 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-Encoder-4.010/changes

Timeline
--------
- 2017-02-06: Sereal::Encoder 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::Encoder version 4.010 released.
- 2023-02-09: Advisory added to the CPANSA database.
- 2024-02-17: Advisory updated in the CPANSA database.



Powered by blists - more mailing lists

Please check out the Open Source Software Security Wiki, which is counterpart to this mailing list.

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.