CVE-2017-9160

libautotrace.a in AutoTrace 0.31.1 has a stack-based buffer overflow in the pnmscanner_gettoken function in input-pnm.c:458:12

published May 23, 2017

CVSS
—
EPSS
2%
Percentile
80.5
In the wild
Unconfirmed
What it is

⚠️ A sneaky stack-based buffer overflow lurks in AutoTrace’s libautotrace.a! This bug in pnmscanner_gettoken could let an attacker exploit your application if they know where to prod. 🔍 Think of it like a crowded subway train — if one person pushes too hard, everyone gets jostled around, and chaos ensues. Similarly, this buffer overflow can cause a program to behave unexpectedly when pushed beyond its limits. The consequences? An attacker could potentially manipulate the stack, leading to unexpected behavior that might even crash your application. Although not currently exploited, this vulnerability could be a gateway for future attacks if left unaddressed.

Put simply

Think of it like a crowded subway train — if one person pushes too hard, everyone gets jostled around, and chaos ensues. Similarly, this buffer overflow can cause a program to behave unexpectedly when pushed beyond its limits. Specifically, this buffer overflow occurs in the pnmscanner_gettoken function in input-pnm.c, which fails to properly handle input size, allowing an overflow into adjacent memory space.

What to do

The consequences? An attacker could potentially manipulate the stack, leading to unexpected behavior that might even crash your application. Although not currently exploited, this vulnerability could be a gateway for future attacks if left unaddressed. To safeguard against this, update AutoTrace to the latest version if available, or consider applying workarounds that restrict input sizes. Regularly audit your dependencies to catch issues like this before they become a problem. You've got this! With a little diligence, you can keep your applications running smoothly and secure. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.02001 · 80.5th percentile
Published
2017-05-23T03:56Z
EPSS history
Timeline
  • 23 MAY 03:56Z
    libautotrace.a in AutoTrace 0.31.1 has a stack-based buffer overflow in the pnmscanner_gettoken function in input-pnm.c:458:12
    cvelistv5