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 — 4 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.

Weakness Classification(1)

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

Data Freshness Timeline

(refreshed 19× in last 7d / 19× 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.

  1. 2026-08-30 01:22 UTCEPSS rescore
  2. 2026-08-30 00:38 UTCGHSA enrichment
  3. 2026-08-29 13:43 UTCGHSA enrichment
  4. 2026-08-29 02:47 UTCEG score recompute
  5. 2026-08-29 02:46 UTCGHSA enrichment
  6. 2026-08-28 21:42 UTCEPSS rescore
  7. 2026-08-28 15:52 UTCGHSA enrichment
  8. 2026-08-28 15:23 UTCGHSA enrichment
  9. 2026-08-28 04:26 UTCGHSA enrichment
  10. 2026-08-27 17:31 UTCEG score recompute
  11. 2026-08-27 17:31 UTCGHSA enrichment
  12. 2026-08-27 17:07 UTCEG score recompute
  13. 2026-08-27 17:07 UTCGHSA enrichment
  14. 2026-08-27 14:25 UTCEPSS rescore
  15. 2026-08-27 07:21 UTCEG score recompute
  16. 2026-08-27 07:21 UTCGHSA enrichment
  17. 2026-08-26 20:27 UTCEG score recompute
  18. 2026-08-26 19:27 UTCEG score recompute
  19. 2026-08-26 19:26 UTCMITRE cvelistV5first tracked

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.4% 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

Explore the affected products and dependency analysis for 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.