Sereal::Encoder Buffer Overwrite Vulnerability Due to Embedded Zstandard Library Race Condition
Vulnerability
A buffer overwrite vulnerability has been identified in Sereal::Encoder versions 4.000 through 4.009_002 for Perl. This issue arises from a race condition in the one-pass compression functions of the embedded Zstandard library, prior to version 1.3.8. The vulnerability allows an attacker to write bytes out of bounds by using an output buffer smaller than the recommended size.
Impact
Exploitation of this vulnerability could lead to a buffer overwrite, allowing for potential arbitrary code execution or causing a denial-of-service condition.
Added: Mar 31, 2026, 12:33 PM
Updated: Mar 31, 2026, 12:33 PM
Vulnerability Rating
Custom Algorithm
spread
0.0impact
5.6exploitability
6.2remediation
0.0relevance
5.0threat
0.0urgency
2.9incentive
0.0Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.
