GitHub Security Advisory経由でCVE-2026–113729を報告した話
A crafted XML document could make the exclusive XML canonicalization step of the moov-io/signedxml Go library consume a large amount of memory. This allowed an unauthenticated attacker to cause a denial of service without a valid signature.
Published on medium.com
Vulnerability
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Context
moov-io/signedxml is a Go library for processing signed XML. The vulnerability I found sits in its exclusive XML canonicalization (Exclusive Canonicalization) step. Canonicalization is the step that turns an XML document into a deterministic byte representation before a signature is computed or checked, so it runs on input that has not yet been authenticated.
The issue is an unauthenticated denial of service: a crafted XML document can make the canonicalization step consume a large amount of memory, and this can be triggered without a valid signature or any authentication. It was fixed in v1.4.1 and published as CVE-2026-113729 on 20 October 2026. The advisory is GHSA-5588-rp99-5fjh, which holds the technical details. This post covers the process from the report to the CVE assignment; I have left out the reproduction steps and the details of how I found it.
Setup
There are no accounts, roles or special versions to set up for the finding itself. The relevant preconditions are:
- A target that parses signed XML with moov-io/signedxml before v1.4.1.
- The ability to submit an XML document to that parser, with no signature and no authentication required.
- A closed environment of my own in which to run commands and confirm that the issue actually reproduces.
For the reporting side, the tooling was GitHub Security Advisory (GHSA), which lets you report a vulnerability privately, fix it with the maintainer and then publish it. GitHub is itself a CVE Numbering Authority (CNA), so the CVE request can also be made on GitHub.
Finding it
Two things led here. Earlier I sent a small pull request to Keycloak that only added a test, and it was merged. It was a tiny contribution, but it made me want to contribute to other open source projects too. I was also curious whether AI tools available to ordinary developers could find vulnerabilities in real-world libraries, so I used Codex (Daybreak Blue) to analyse and investigate open source code.
The tool pointed me in a direction; it did not produce a confirmed bug. I verified for myself, in my own closed environment, running commands, that the issue actually reproduced. That verification step is the part I consider essential, and it is the part I intend to keep doing before reporting anything.
Exploitation
The report does not include the crafted XML document, the commands used to reproduce the issue, or the memory measurements. What it does state is the shape of the attack:
- Send an XML document crafted to stress the exclusive canonicalization step.
- No valid signature is needed, and no authentication is needed.
- The canonicalization step consumes a large amount of memory, resulting in a denial of service.
The exact payload and the reproduction procedure are deliberately omitted from this write-up; the advisory GHSA-5588-rp99-5fjh holds the technical details.
Root cause
The problem is in the exclusive XML canonicalization processing: a crafted XML document can drive that step into consuming a large amount of memory. Because canonicalization happens as part of processing the document, before any signature can be validated, the missing signature and missing authentication do not act as a barrier. The report does not describe the specific code path or the resource accounting inside the canonicalizer.
Impact
An attacker who can submit XML to a service using the affected library can cause a denial of service through memory exhaustion, without a valid signature and without authentication. The report does not quantify the memory consumption or state which deployment topologies are affected beyond that condition.
Fix
The maintainer fixed the issue and released it as v1.4.1. The report does not describe the code change itself.
The reporting process
I reported the issue as a private security advisory rather than a public issue. The first exchange was by email, and after that we used the advisory on GitHub. The maintainer then added me as a collaborator on a temporary private fork, where we worked on the fix together.
On the CVE side, the GHSA page said that CVE review and assignment would take up to three working days. In reality it took several weeks, just under two months. Looking into it, a GitHub staff member had explained in a GitHub Community discussion that CVE requests had surged, that they were being processed in the order received, and that it currently took about five weeks.
After five weeks there was still no movement, so on 20 October I emailed GitHub's Security Advisory team at [redacted] The CVE was published the same day. I am not sure whether my email helped or my turn simply came up.

The screenshot shows the email that arrived the same day as my message, confirming the CVE assignment.
Variants to test
These are general directions for similar work, not claims about this library:
- Other canonicalization modes. Feed crafted documents through inclusive and exclusive canonicalization paths in other XML signature libraries and watch memory and CPU. A positive result is a document that is accepted for processing without a valid signature and drives memory growth well beyond the document size.
- Pre-authentication parsing. Look for any endpoint that parses signed XML before checking the signature, such as SAML, SOAP or WS-Security handlers. A positive result is a request with no signature, or an invalid one, that still reaches the canonicalizer and produces measurable resource consumption.
- Nested and repeated structures. Try documents with deeply nested or heavily repeated elements and namespace declarations. A positive result is superlinear memory growth as the input grows.
- AI-assisted triage. Use an AI tool to point at suspicious parsing and canonicalization code, then confirm every candidate by hand in an isolated environment before reporting. A positive result is a reproducible resource exhaustion that you can demonstrate yourself.
Closing thoughts
It started with a pull request that added a single test, and this time I got to work through a fix together with a maintainer. Even when something is found with an AI tool, I want to keep verifying it with my own eyes before reporting it. Thanks to the moov-io maintainers for their quick response.
References
What happened, in plain words
I found a bug in a piece of free software that many other programs use, and I reported it to the people who maintain that software. The bug lets someone who is not logged in and who has no valid signature make the software use up a very large amount of memory, which can stop the program from working. That kind of attack is called a denial of service, or DoS: the attacker does not steal anything, they just make the service unavailable to everyone else.
The software is called moov-io/signedxml. It is a library, meaning a reusable block of code that other programs include instead of writing the same logic themselves. It is written in Go, a programming language, and its job is to process signed XML. XML is a text format for structured data, a bit like a very strict form with opening and closing tags; signed XML is XML that carries a digital signature, so the receiver can check that the document really came from who it claims and was not altered on the way.
The bug was fixed in version v1.4.1 of the library and published as CVE-2026-113729 on 20 October 2026. A CVE is a public catalogue number for a known security flaw, so that everyone in the world can refer to the same issue by the same name. The full technical description lives in the advisory GHSA-5588-rp99-5fjh.
This post is about the process: how the report was made and how the CVE number was obtained. I have deliberately left out the exact steps to reproduce the bug and how I found it.
The reporting channel, explained
I reported the problem through a GitHub Security Advisory, usually shortened to GHSA. GitHub is the website where most open source code is hosted and shared. A GHSA is a private report: instead of opening a public issue that anyone can read, you tell the maintainers, the people who look after the project, in a space only you and they can see. You fix the problem together, and only then is the report published for the world.
GitHub is also a CVE Numbering Authority, or CNA. A CNA is an organisation that has been authorised to hand out CVE numbers itself, instead of everyone queuing at one central office. Because GitHub is a CNA, the CVE request can be made on GitHub as part of the same advisory, which saves a lot of back and forth.
Why I started
Some time before this, I sent a small pull request to Keycloak, another open source project. A pull request is a proposed change: you copy the project, make your edit, and ask the maintainers to pull your change into the official version. Mine only added a test, meaning a small piece of code that checks other code behaves as expected. It was merged, that is, accepted into the project. It was a tiny contribution, but I was really happy about it, and it made me want to contribute to other open source projects too.
I was also curious whether AI tools that ordinary developers can use could find real vulnerabilities in real libraries. So this time I used Codex (Daybreak Blue) to analyse and investigate open source code. It turned out that it could, at least for this kind of issue. But the tool only pointed me in a direction; it did not hand me a confirmed bug. I verified for myself, in my own closed environment, running commands, that the issue actually reproduced. A closed environment here means a setup of my own that is not connected to anyone else's systems, so nothing I do can affect real users.
The vulnerability, explained
The problem is in the exclusive XML canonicalization step. Canonicalization sounds complicated, but the idea is simple. Two XML documents can be written differently and still mean the same thing: extra spaces, a different order of attributes, a different way of writing the same character. A signature, however, is computed over exact bytes, so before signing or checking a signature the software first rewrites the document into one fixed, standard form. That rewriting is canonicalization. Exclusive canonicalization is one particular set of rules for doing that rewriting, designed to ignore parts of the document that are not relevant to the signature.
The catch is that this rewriting happens before the signature has been checked. The software has to read and process the document in order to check it, so at that moment the document is still untrusted input from a stranger. My crafted XML document, meaning one built on purpose to stress this step, made the canonicalization consume a large amount of memory. No valid signature was needed, and no login was needed. The result is a denial of service: the program consumes a large amount of memory and can no longer serve anyone.
Think of it like a receptionist who must read every letter before deciding whether it is genuine. If someone sends a letter designed to take hours to read, the queue behind it never moves, even though the letter was never approved.
Setup
There are no accounts, roles or special versions to set up for the finding itself. The relevant preconditions are:
- A target that parses signed XML with moov-io/signedxml before v1.4.1. To parse means to read the document and turn it into data the program can work with.
- The ability to submit an XML document to that parser, with no signature and no authentication required. Authentication means proving who you are, usually by logging in.
- A closed environment of my own in which to run commands and confirm that the issue actually reproduces.
For the reporting side, the tooling was GitHub Security Advisory (GHSA), which lets you report a vulnerability privately, fix it with the maintainer and then publish it. GitHub is itself a CVE Numbering Authority (CNA), so the CVE request can also be made on GitHub.
Finding it
Two things led here. Earlier I sent a small pull request to Keycloak that only added a test, and it was merged. It was a tiny contribution, but it made me want to contribute to other open source projects too. I was also curious whether AI tools available to ordinary developers could find vulnerabilities in real-world libraries, so I used Codex (Daybreak Blue) to analyse and investigate open source code.
The tool pointed me in a direction; it did not produce a confirmed bug. That verification step is the part I consider essential, and it is the part I intend to keep doing before reporting anything.
Exploitation
The report does not include the crafted XML document, the commands used to reproduce the issue, or the memory measurements. What it does state is the shape of the attack:
- Send an XML document crafted to stress the exclusive canonicalization step.
- No valid signature is needed, and no authentication is needed.
- The canonicalization step consumes a large amount of memory, resulting in a denial of service.
The exact payload and the reproduction procedure are deliberately omitted from this write-up; the advisory GHSA-5588-rp99-5fjh holds the technical details.
Root cause
The problem is in the exclusive XML canonicalization processing: a crafted XML document can drive that step into consuming a large amount of memory. Because canonicalization happens as part of processing the document, before any signature can be validated, the missing signature and missing authentication do not act as a barrier. The report does not describe the specific code path or the resource accounting inside the canonicalizer.
Impact
An attacker who can submit XML to a service using the affected library can cause a denial of service through memory exhaustion, without a valid signature and without authentication. The report does not quantify the memory consumption or state which deployment topologies are affected beyond that condition.
Fix
The maintainer fixed the issue and released it as v1.4.1. The report does not describe the code change itself.
The reporting process
I reported the issue as a private security advisory rather than a public issue. The first exchange was by email, and after that we used the advisory on GitHub. The maintainer then added me as a collaborator on a temporary private fork, where we worked on the fix together. A fork is a personal copy of a project; a private one is visible only to the people invited, so the fix could be prepared without anyone else seeing the bug before it was patched.
On the CVE side, the GHSA page said that CVE review and assignment would take up to three working days. In reality it took several weeks, just under two months. Looking into it, a GitHub staff member had explained in a GitHub Community discussion that CVE requests had surged, that they were being processed in the order received, and that it currently took about five weeks.
After five weeks there was still no movement, so on 20 October I emailed GitHub's Security Advisory team at [redacted] The CVE was published the same day. I am not sure whether my email helped or my turn simply came up.

The screenshot shows the email that arrived the same day as my message, confirming the CVE assignment.
Variants to test
These are general directions for similar work, not claims about this library:
- Other canonicalization modes. Feed crafted documents through inclusive and exclusive canonicalization paths in other XML signature libraries and watch memory and CPU. A positive result is a document that is accepted for processing without a valid signature and drives memory growth well beyond the document size.
- Pre-authentication parsing. Look for any endpoint that parses signed XML before checking the signature, such as SAML, SOAP or WS-Security handlers. A positive result is a request with no signature, or an invalid one, that still reaches the canonicalizer and produces measurable resource consumption.
- Nested and repeated structures. Try documents with deeply nested or heavily repeated elements and namespace declarations. A positive result is superlinear memory growth as the input grows.
- AI-assisted triage. Use an AI tool to point at suspicious parsing and canonicalization code, then confirm every candidate by hand in an isolated environment before reporting. A positive result is a reproducible resource exhaustion that you can demonstrate yourself.
Closing thoughts
It started with a pull request that added a single test, and this time I got to work through a fix together with a maintainer. Even when something is found with an AI tool, I want to keep verifying it with my own eyes before reporting it. Thanks to the moov-io maintainers for their quick response.
References
Glossary
- Advisory: a public or private notice that describes a security flaw, which software it affects and how it was fixed.
- Authentication: proving who you are, usually by logging in, so the system knows the request comes from a known user.
- Canonicalization: rewriting a document into one fixed, standard form so that two documents meaning the same thing produce exactly the same bytes.
- Closed environment: a setup of your own, separated from other people's systems, where you can safely run tests.
- CNA (CVE Numbering Authority): an organisation authorised to assign CVE numbers itself instead of going through a central office.
- Collaborator: a person given access to a private project space so they can work on it with the owner.
- CVE: a public catalogue number for a known security flaw, so everyone can refer to the same issue by the same name.
- Denial of service (DoS): an attack that makes a service unavailable to its normal users, for example by exhausting its memory.
- Exclusive canonicalization: one particular set of rules for canonicalization, designed to ignore parts of the document that are not relevant to the signature.
- Fork: a personal copy of a project; a private fork is visible only to invited people.
- GHSA (GitHub Security Advisory): GitHub's mechanism for reporting a vulnerability privately, fixing it with the maintainer and then publishing it.
- Go: a programming language in which the affected library is written.
- Library: a reusable block of code that other programs include instead of writing the same logic themselves.
- Maintainer: the person or people who look after an open source project and decide what changes go in.
- Memory exhaustion: a state where a program has used up so much memory that it can no longer work properly.
- Merged: accepted into the official version of a project.
- Namespace declaration: a way in XML to say which vocabulary a tag belongs to, so tags with the same name from different sources do not clash.
- Open source: software whose code is published and can be read, used and improved by anyone.
- Parse: to read a document and turn it into data the program can work with.
- Payload: the actual content sent in an attack, here the crafted XML document.
- Pull request: a proposed change to a project, which the maintainers can review and accept.
- Reproduce: to make a bug happen again on purpose, confirming it is real.
- Signature (digital): a cryptographic value attached to a document so the receiver can check who sent it and that it was not altered.
- Superlinear growth: growth that speeds up as the input gets bigger, so doubling the input more than doubles the resource use.
- Test: a small piece of code that checks other code behaves as expected.
- XML: a text format for structured data, built from opening and closing tags.
- XML signature: a digital signature carried inside or alongside an XML document.