graphviz: recursive function call in agclose in lib\cgraph\graph.c causing stack consumption
Published Mar 21, 2019
6.5
MEDIUMCVSS 3.1
EPSS 2.70%
Description
An issue was discovered in lib\cdt\dttree.c in libcdt.a in graphviz 2.40.1. Stack consumption occurs because of recursive agclose calls in lib\cgraph\graph.c in libcgraph.a, related to agfstsubg in lib\cgraph\subg.c.
Affected products
No data.
No data.
Red Hat Enterprise Linux 6
graphviz
Will not fix
Red Hat Enterprise Linux 7
graphviz
Fix deferred
Red Hat Enterprise Linux 8
graphviz
Fix deferred
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | graphviz | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | graphviz | Fix deferred | n/a |
| Red Hat Enterprise Linux 8 | graphviz | Fix deferred | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue affects the versions of graphviz as shipped with Red Hat Enterprise Linux 6 and 7. Red Hat Enterprise Linux 6 is now in Maintenance Support 2 Phase of the support and maintenance life cycle. This has been rated as having a security impact of Low, and is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
AV:N/AC:M/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Table of values (14 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.70% (0.02700) | 85.41th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.70% (0.02700) | 83.93th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.22% (0.00223) | 61.09th | v3 (v2023.03.01) |
| Mar 14, 2024 | 0.22% (0.00223) | 59.96th | v3 (v2023.03.01) |
| Sep 3, 2023 | 0.16% (0.00163) | 52.37th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.23% (0.00227) | 59.09th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.95% (0.00954) | 36.37th | v2 (v2022.01.01) |
| Apr 1, 2022 | 0.95% (0.00954) | 32.50th | v2 (v2022.01.01) |
| Feb 4, 2022 | 3.28% (0.03283) | 65.67th | v2 (v2022.01.01) |
| Feb 3, 2022 | 3.63% (0.03630) | 71.73th | v5 (v2026.06.15) |
| Jan 6, 2022 | 3.63% (0.03630) | 71.48th | v1 |
| Sep 1, 2021 | 0.83% (0.00833) | 57.50th | v1 |
| Jul 3, 2021 | 0.83% (0.00833) | 0.00th | v1 |
| Apr 14, 2021 | 0.62% (0.00624) | 0.00th | v1 |
References (7)
- https://access.redhat.com/security/cve/CVE-2019-9904 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1691717 Issue Tracking
- https://gitlab.com/graphviz/graphviz/issues/1512 x_refsource_MISCExploitIssue TrackingThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2019-9904
- https://research.loginsoft.com/bugs/stack-buffer-overflow-in-function-agclose-graphviz/ x_refsource_MISCExploitThird Party Advisory
- https://security.gentoo.org/glsa/202107-04 vendor-advisoryx_refsource_GENTOOThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2019-9904
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2019-9904 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1691717 | Issue Tracking | |
| https://gitlab.com/graphviz/graphviz/issues/1512 | x_refsource_MISCExploitIssue TrackingThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2019-9904 | ||
| https://research.loginsoft.com/bugs/stack-buffer-overflow-in-function-agclose-graphviz/ | x_refsource_MISCExploitThird Party Advisory | |
| https://security.gentoo.org/glsa/202107-04 | vendor-advisoryx_refsource_GENTOOThird Party Advisory | |
| https://www.cve.org/CVERecord?id=CVE-2019-9904 |
Change history (0)
No recorded changes yet.