SiYuan denial of service via base64 image decoding
Affects SiYuan before 3.9.0-alpha.14 when importing a document that contains an embedded Base64 raster image. Fixed in 3.9.0-alpha.14.
- Exploited
- No known exploitation
- Fix
- Fixed in 3.9.0-alpha.14
- Who is exposed
- Specific setups only
Summary
SiYuan contains a denial of service flaw in how it decodes base64 images, which lets an attacker exhaust memory and crash the application. Remotely and without logging in, an attacker can supply a small PNG that declares huge dimensions through clipped, pasted, or imported HTML, but a user must take an action such as pasting or importing that content.
Written by a model
Original description
SiYuan before 3.9.0-alpha.14 contains a denial of service vulnerability in processBase64Img() that decodes base64 images without enforcing pixel limits. Attackers can supply small PNGs declaring huge dimensions via clipped, pasted, or imported HTML to exhaust kernel memory and crash the SiYuan kernel.
Who should check
Teams running SiYuan kernel versions before 3.9.0-alpha.14 that import HTML or clipped content containing embedded base64 images.
“Affecting siyuan < 3.9.0-alpha.14”
What to do
Check whether your setup matches what the bug needs.
Importing a document containing an embedded Base64 raster imageUpgrade to a fixed version: 3.9.0-alpha.14.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-145565 (SiYuan before 3.9.0-alpha.14 Denial of Service via Base64 Image Decompression Bomb), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-145565 (entry last updated 2026-12-05):
Affected:
- Go package github.com/siyuan-note/siyuan/kernel: fixed in 3.9.0-alpha.14
Fixed versions: 3.9.0-alpha.14.
Conditions (all must be true for the bug to be hit):
- Importing a document containing an embedded Base64 raster image (source: https://github.com/siyuan-note/siyuan/security/advisories/GHSA-w4r8-r82r-498j)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: network access, no login, a user action.
CISA KEV: CVE-2026-145565 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-145565 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Packages (Go): find every lockfile in each project and run the stack.check operation of the cve.now MCP server (execute) on each one. Compare the resolved versions, not the ranges a manifest declares, with the affected versions above. Include transitive dependencies.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-w4r8-r82r-498j
- https://github.com/siyuan-note/siyuan/commit/299c7672eceeb1926e639c89715085912ae9900c
- https://github.com/siyuan-note/siyuan/releases/tag/v3.9.0-alpha.14
- https://github.com/siyuan-note/siyuan/blob/v3.9.0-alpha.13/kernel/model/import.go#L2115-L2165
- https://www.vulncheck.com/advisories/siyuan-before-3.9.0-alpha.14-denial-of-service-via-base64-image-decompression-bomb
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-145565
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-145565"}.Affected versions
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure12/25Specific setups only, reachable over the network without a login
- Reach10/20Affects Go packages
- Severity7.1/10CVSS 7.1
- No patch0/5No signal
What would change the score
- Would score about 79 if added to CISA KEV
- Would score about 74 if CISA's SSVC rates exploitation active
Timeline
- CVE published
- First seen by cve.now
Evidence 7
| Kind | Source |
|---|---|
| Vendor advisory 1Establishes: Affected and fixed versions. | |
| Advisory | GitHub · siyuan-note/siyuan · Advisory GHSA-w4r8-r82r-498j |
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-145565 |
| Record | NVD · CVE-2026-145565 |
| Other links 4 | |
| Patch | GitHub · siyuan-note/siyuan · Commit 299c7672 |
| Repository | GitHub · siyuan-note/siyuan · Release v3.9.0-alpha.14 |
| Repository | GitHub · siyuan-note/siyuan · kernel/model/import.go · L2115-L2165 |
| Link | vulncheck.com · advisories/siyuan-before-3.9.0-alpha.14-denial-of-service-via-base64-image-decompression-bomb |
Questions about CVE-2026-145565
Is CVE-2026-145565 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
Importing a document with an embedded Base64 raster image can consume excessive kernel memory during decoding. This exhausts memory and crashes the SiYuan kernel, causing a denial of service.
Source: github.com, vulncheck.com
Which versions are affected by CVE-2026-145565?
github.com/siyuan-note/siyuan/kernel (Go): before 3.9.0-alpha.14.
Source: cve.now feed data
Am I affected, and how do I check?
SiYuan versions before 3.9.0-alpha.14 are affected when importing a document that contains an embedded Base64 raster image. To check, compare your installed SiYuan version with 3.9.0-alpha.14.
Source: github.com, vulncheck.com
How do I fix CVE-2026-145565?
Upgrade SiYuan to 3.9.0-alpha.14 or later.
Source: github.com, vulncheck.com
Related
- CVE-2026-145556SiYuan before 3.9.0-alpha.14 Stored XSS via Web Clipper Metadata in Inbox
- CVE-2026-145601SiYuan before 3.8.12 Missing Authorization via getAssetContentByPath Nested Rollup
- CVE-2026-145074SiYuan before 3.8.11 Publish-Password Throttle Reset via authFilePublishAccess
- CVE-2026-145076SiYuan before 3.8.11 Information Disclosure via getRecentDocs Publish Reader API
- CVE-2026-144203SiYuan through 3.8.12 Inline Memo Disclosure via getBlockKramdown
- CVE-2026-144211SiYuan through 3.8.12 Private Memo Disclosure via getFile Raw Document Access
No corrections so far. Something wrong on this page? Report an error.