Skip to main content

Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

CVE-2023-31979

Severity High
Score 7.8/10

Summary

Catdoc v0.95 was discovered to contain a global buffer overflow via the function process_file at /src/reader.c.

  • LOW
  • LOCAL
  • HIGH
  • UNCHANGED
  • NONE
  • LOW
  • HIGH
  • HIGH

CWE-120 - Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

The program copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buffer overflow.

References

Advisory Timeline

  • Published