Graphviz yyerror() buffer overflow

graphviz-yyerror-bo (90085) The risk level is classified as MediumMedium Risk


Graphviz is vulnerable to a stack-based buffer overflow, caused by improper bounds checking by the yyerror() function. By persuading a victim to open a specially-crafted file, a remote attacker could overflow a buffer and execute arbitrary code on the system or cause the application to crash.


Base Score: 6.8
  Access Vector: Network
  Access Complexity: Medium
  Authentication: None
  Confidentiality Impact: Partial
  Integrity Impact: Partial
  Availability Impact: Partial
Temporal Score: 5
  Exploitability: Unproven
  Remediation Level: Official-Fix
  Report Confidence: Confirmed


Gain Access


Apply the patch for this vulnerability, available from the Graphviz GIT Repository. See References.


  • Graphviz GIT Repository: Fix buffer overflow problem when reporting a syntax error.
  • BID-64674: Graphviz 'yyerror()' Function Stack Buffer Overflow Vulnerability
  • CVE-2014-0978: Stack-based buffer overflow in the yyerror function in lib/cgraph/scan.l in Graphviz 2.34.0 allows remote attackers to have unspecified impact via a long line in a dot file.
  • SA55666: Graphviz "yyerror()" Buffer Overflow Vulnerability

Platforms Affected:

  • Graphviz Graphviz 2.34.0


Oct 05, 2013

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this

Return to the main page