Description
Stack-based buffer overflow in the chkNum function in lib/cgraph/scan.l in Graphviz 2.34.0 allows remote attackers to have unspecified impact via vectors related to a "badly formed number" and a "long digit list."
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | graphviz | 2.26.3-16.1 | — |
| Debian 13 | graphviz | 2.26.3-16.1 | — |
| Debian 12 | graphviz | 2.26.3-16.1 | — |
| Debian 7 | graphviz | 2.26.3-14+deb7u1 | DSA-2843-1 |
| Debian 6.0 | graphviz | 2.26.3-5+squeeze2 | DSA-2843-1 |
Advisories 1
- DSA-2843-1 graphviz - buffer overflow Debian Security (DSA / DLA) · Mar 9, 2026
References
- [oss-security] 20140108 Re: Re: CVE Request: graphviz: stack-based buffer overflow in yyerror() mailing-list
- 101851 vdb-entry
- MDVSA-2014:024 vendor-advisory
- GLSA-201702-06 vendor-advisory
- [oss-security] 20140108 Re: CVE Request: graphviz: stack-based buffer overflow in yyerror() mailing-list
- https://github.com/ellson/graphviz/commit/1d1bdec6318746f6f19f245db589eddc887ae8ff
- DSA-2843 vendor-advisory
- [oss-security] 20140108 Re: Re: CVE Request: graphviz: stack-based buffer overflow in yyerror() mailing-list
- https://bugzilla.redhat.com/show_bug.cgi?id=1050872
- 64737 vdb-entry
- 55666 third-party-advisory
- 56244 third-party-advisory