Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. galois_2p8
  4. ›
  5. CVE-2022-24988

CVE-2022-24988: Buffer Overflow in galois_2p8

February 15, 2022 (updated February 25, 2022)

In galois_2p8 before 0.1.2, PrimitivePolynomialField::new has an off-by-one buffer overflow for a vector.

References

  • github.com/advisories/GHSA-9p8q-j6q5-mjw8
  • github.com/djsweet/galois_2p8
  • github.com/djsweet/galois_2p8/blob/master/CHANGELOG.md
  • nvd.nist.gov/vuln/detail/CVE-2022-24988

Code Behaviors & Features

Detect and mitigate CVE-2022-24988 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.1.2

Fixed versions

  • 0.1.2

Solution

Upgrade to version 0.1.2 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
  • CWE-193: Off-by-one Error

Source file

cargo/galois_2p8/CVE-2022-24988.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:31 +0000.