CVE-2026-77652

HIGHPre-NVD 7.87.8
EchelonGraph scoreHIGH confidence

Score 7.8 from GitHub Security Advisory (severity: HIGH) published 2026-08-26. a secondary CVSS source baseline 7.8; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: epss, ghsa, secondary
Trending — 3 sources updated this weekElevated
7.8EG
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS PROB: 0%CVSS: 7.8Exploit: Elevated riskExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

A heap-based buffer overflow vulnerability exists in the Dia diagram editor WPG file format importer.

In plug-ins/wpg/wpg-import.c, the WPG import renderer allocates a fixed palette with:

ren->pPal = g_new0(WPGColorRGB, 256);

When handling a WPG_COLORMAP record, the parser reads a start index (i16) and number of colors (iNum16) from the file and reads palette data with:

bRet &= (iNum16 == (int)fread(&ren->pPal[i16], sizeof(WPGColorRGB), iNum16, f));

The only bounds-related check is if (i16 >= 0 && i16 <= iSize), where iSize is the WPG record size—not the palette capacity. There is no validation that i16 is less than 256 or that i16 + iNum16 does not exceed 256.

A malicious WPG file can supply i16=256 and iNum16=264. That causes fread() to write 792 bytes starting at &pPal[256], while the palette buffer is only 768 bytes (256 entries × 3 bytes). This overflows into adjacent heap metadata and can crash Dia (SIGABRT / malloc corruption errors) or, depending on heap layout and exploit primitives, potentially lead to arbitrary code execution.

Exploitation requires convincing a user to open a crafted WPG file via Dia's file dialog, command line, or file association. No special privileges are required to deliver the file to the victim.

Affected component: WPG parser (plug-ins/wpg/wpg-import.c). Affected versions: all Dia versions containing this code path (reporter tested Dia 0.98+git20260221-1; issue present on upstream master as of 2026-08-21).

CVSS v3
7.8
EG Score
7.8(high)
EG Risk
51(Track*)
EG Risk 51/100SSVC: Track*

EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).

How it’s computed
Severity78% × 45%
Exploitation40% × 40%
Automatability0% × 15%
Action: Watch closely — could escalate to Attend.
EPSS PROB
0%
EPSS %ILE
5%
KEV
Not listed

Published

August 26, 2026

Last Modified

August 28, 2026

Advisory Details (4)

Auto-updated Aug 26, 2026
Patch available. Sources: redhat.
generic

(CVE-2026-77652) WPG Colormap Heap Buffer Overflow (#580) · Issues · GNOME / Dia · GitLab

https://gitlab.gnome.org/GNOME/dia/-/issues/580
redhat

2520884 – (CVE-2026-77652) CVE-2026-77652 dia: dia: heap buffer overflow in WPG colormap parser via out-of-bounds palette index

https://bugzilla.redhat.com/show_bug.cgi?id=2520884
redhat Patch Available

CVE-2026-77652 - Red Hat Customer Portal

Affected: Red Hat Enterprise Linux 8 or OpenShift Container Platform 4, is affected by this vulnerability and a fix may be released to a

https://access.redhat.com/security/cve/CVE-2026-77652

Vendor Advisories for CVE-2026-77652(1)

These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.

Affected Packages

(3 across 3 ecosystems)
Debian:12(1)
PackageVulnerable rangeFixed inDependents
dia0.97.3+git20220525-5 ... 0.98+git20260221-3 (11 versions)
Debian:13(1)
PackageVulnerable rangeFixed inDependents
dia0.98+git20250126-2 ... 0.98+git20260221-3 (6 versions)
Debian:14(1)
PackageVulnerable rangeFixed inDependents
dia0.98+git20250126-2 ... 0.98+git20260221-3 (6 versions)

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Data Freshness Timeline

(refreshed 28× in last 7d / 107× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

Showing the most recent 100 of 107 total refreshes for this CVE.

  1. 2026-09-21 01:38 UTCEG score recompute
  2. 2026-09-21 01:38 UTCGHSA enrichment
  3. 2026-09-20 20:16 UTCEPSS rescore
  4. 2026-09-20 14:28 UTCGHSA enrichment
  5. 2026-09-20 03:30 UTCGHSA enrichment
  6. 2026-09-19 16:36 UTCEG score recompute
  7. 2026-09-19 16:36 UTCGHSA enrichment
  8. 2026-09-19 05:42 UTCEG score recompute
  9. 2026-09-19 05:42 UTCGHSA enrichment
  10. 2026-09-18 19:28 UTCEPSS rescore
  11. 2026-09-18 18:47 UTCGHSA enrichment
  12. 2026-09-18 07:52 UTCGHSA enrichment
  13. 2026-09-17 20:57 UTCEG score recompute
  14. 2026-09-17 20:57 UTCGHSA enrichment
  15. 2026-09-17 08:26 UTCGHSA enrichment
  16. 2026-09-16 21:31 UTCEG score recompute
  17. 2026-09-16 21:31 UTCGHSA enrichment
  18. 2026-09-16 14:08 UTCEPSS rescore
  19. 2026-09-16 10:27 UTCEG score recompute
  20. 2026-09-16 10:27 UTCGHSA enrichment
  21. 2026-09-16 05:15 UTCEPSS rescore
  22. 2026-09-15 23:32 UTCGHSA enrichment
  23. 2026-09-15 12:08 UTCEG score recompute
  24. 2026-09-15 12:08 UTCGHSA enrichment
  25. 2026-09-15 03:12 UTCEPSS rescore
Show 75 more
  1. 2026-09-15 03:12 UTCEPSS rescore
  2. 2026-09-15 01:14 UTCGHSA enrichment
  3. 2026-09-14 14:19 UTCGHSA enrichment
  4. 2026-09-14 03:24 UTCEG score recompute
  5. 2026-09-14 03:24 UTCGHSA enrichment
  6. 2026-09-13 16:30 UTCGHSA enrichment
  7. 2026-09-13 05:35 UTCGHSA enrichment
  8. 2026-09-12 18:41 UTCEG score recompute
  9. 2026-09-12 18:41 UTCGHSA enrichment
  10. 2026-09-12 15:02 UTCEPSS rescore
  11. 2026-09-12 07:46 UTCGHSA enrichment
  12. 2026-09-11 20:48 UTCEG score recompute
  13. 2026-09-11 20:48 UTCGHSA enrichment
  14. 2026-09-11 14:53 UTCEPSS rescore
  15. 2026-09-11 09:45 UTCEG score recompute
  16. 2026-09-11 09:45 UTCGHSA enrichment
  17. 2026-09-10 22:50 UTCGHSA enrichment
  18. 2026-09-10 11:55 UTCEG score recompute
  19. 2026-09-10 11:55 UTCGHSA enrichment
  20. 2026-09-10 09:35 UTCEPSS rescore
  21. 2026-09-10 00:03 UTCGHSA enrichment
  22. 2026-09-09 11:42 UTCGHSA enrichment
  23. 2026-09-09 00:48 UTCEG score recompute
  24. 2026-09-09 00:48 UTCGHSA enrichment
  25. 2026-09-08 22:01 UTCEPSS rescore
  26. 2026-09-08 03:58 UTCGHSA enrichment
  27. 2026-09-07 17:03 UTCEG score recompute
  28. 2026-09-07 17:03 UTCGHSA enrichment
  29. 2026-09-07 06:08 UTCGHSA enrichment
  30. 2026-09-06 19:14 UTCEG score recompute
  31. 2026-09-06 19:14 UTCGHSA enrichment
  32. 2026-09-06 13:48 UTCEPSS rescore
  33. 2026-09-06 08:19 UTCGHSA enrichment
  34. 2026-09-05 21:24 UTCEG score recompute
  35. 2026-09-05 21:24 UTCGHSA enrichment
  36. 2026-09-05 10:30 UTCGHSA enrichment
  37. 2026-09-04 23:34 UTCEG score recompute
  38. 2026-09-04 23:34 UTCGHSA enrichment
  39. 2026-09-04 11:46 UTCEG score recompute
  40. 2026-09-04 11:46 UTCGHSA enrichment
  41. 2026-09-04 05:07 UTCEPSS rescore
  42. 2026-09-04 00:51 UTCGHSA enrichment
  43. 2026-09-03 13:50 UTCGHSA enrichment
  44. 2026-09-03 02:55 UTCGHSA enrichment
  45. 2026-09-02 16:01 UTCEG score recompute
  46. 2026-09-02 16:01 UTCGHSA enrichment
  47. 2026-09-02 14:12 UTCEPSS rescore
  48. 2026-09-02 05:04 UTCGHSA enrichment
  49. 2026-09-01 18:08 UTCEG score recompute
  50. 2026-09-01 18:08 UTCGHSA enrichment
  51. 2026-09-01 13:54 UTCEPSS rescore
  52. 2026-09-01 07:12 UTCEG score recompute
  53. 2026-09-01 07:12 UTCGHSA enrichment
  54. 2026-09-01 04:40 UTCEPSS rescore
  55. 2026-09-01 04:40 UTCEPSS rescore
  56. 2026-08-31 20:18 UTCGHSA enrichment
  57. 2026-08-31 09:24 UTCGHSA enrichment
  58. 2026-08-30 22:27 UTCEG score recompute
  59. 2026-08-30 22:27 UTCGHSA enrichment
  60. 2026-08-30 19:18 UTCEPSS rescore
  61. 2026-08-30 19:17 UTCEPSS rescore
  62. 2026-08-30 11:33 UTCEG score recompute
  63. 2026-08-30 11:33 UTCGHSA enrichment
  64. 2026-08-30 01:22 UTCEPSS rescore
  65. 2026-08-30 00:38 UTCGHSA enrichment
  66. 2026-08-29 13:43 UTCGHSA enrichment
  67. 2026-08-29 02:47 UTCEG score recompute
  68. 2026-08-29 02:46 UTCGHSA enrichment
  69. 2026-08-28 21:42 UTCEPSS rescore
  70. 2026-08-28 15:52 UTCGHSA enrichment
  71. 2026-08-28 15:23 UTCGHSA enrichment
  72. 2026-08-28 04:26 UTCGHSA enrichment
  73. 2026-08-27 17:31 UTCEG score recompute
  74. 2026-08-27 17:31 UTCGHSA enrichment
  75. 2026-08-27 17:07 UTCEG score recompute

Frequently asked(5)

What is CVE-2026-77652?
CVE-2026-77652 is a high vulnerability published on August 26, 2026. A heap-based buffer overflow vulnerability exists in the Dia diagram editor WPG file format importer. In plug-ins/wpg/wpg-import.c, the WPG import renderer allocates a fixed palette with: ren->pPal = g_new0(WPGColorRGB, 256); When handling a WPG_COLORMAP record, the parser reads a start index (i16)…
When was CVE-2026-77652 disclosed?
CVE-2026-77652 was first published in the National Vulnerability Database on August 26, 2026, with the most recent update on August 28, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-77652 actively exploited?
CVE-2026-77652 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 0% probability of exploitation in the next 30 days, which ranks it in the top 95.3% of all scored CVEs.
What is the CVSS score of CVE-2026-77652?
CVE-2026-77652 has a CVSS v3 base score of 7.8 (NVD).
How do I remediate CVE-2026-77652?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-77652, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-77652

Explore →

Is Your Infrastructure Affected by CVE-2026-77652?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.