CVE-2025-49597
handcraftedinthealps goodby-csv Potential Gadget Chain allowing Remote Code Execution
handcraftedinthealps goodby-csv is a highly memory efficient, flexible and extendable open-source CSV import/export library. Prior to 1.4.3, goodby-csv could be used as part of a chain of methods that is exploitable when an insecure deserialization vulnerability exists in an application. This so-called "gadget chain" presents no direct threat but is a vector that can be used to achieve remote code execution if the application deserializes untrusted data due to another vulnerability. The problem is patched with Version 1.4.3.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- High
- Privileges needed
- High
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
3.9
handcraftedinthealps goodby-csv Potential Gadget Chain allowing Remote Code Execution
handcraftedinthealps goodby-csv is a highly memory efficient, flexible and extendable open-source CSV import/export library. Prior to 1.4.3, goodby-csv could be used as part of a chain of methods that is exploitable when an insecure deserialization vulnerability exists in an application. This so-called "gadget chain" presents no direct threat but is a vector that can be used to achieve remote code execution if the application deserializes untrusted data due to another vulnerability. The problem is patched with Version 1.4.3.
- Record
CVE-2025-49597- CVSS 3.1
- 3.9 Low
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L - Weakness
- CWE-915
- Updated
- 2026-11-02
EUVDEUVD-2025-18300
3.9
handcraftedinthealps goodby-csv is a highly memory efficient, flexible and extendable open-source CSV import/export library. Prior to 1.4.3, goodby-csv could be used as part of a chain of methods that is exploitable when an insecure deserialization vulnerability exists in an application. This so-called "gadget chain" presents no direct threat but is a vector that can be used to achieve remote code execution if the application deserializes untrusted data due to another vulnerability. The problem is patched with Version 1.4.3.
- Record
EUVD-2025-18300- CVSS 3.1
- 3.9 Low
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-x3c7-22c8-prg7
3.9
handcraftedinthealps/goodby-csv has Potential Gadget Chain allowing Remote Code Execution
Impact
goodby-csv could be used as part of a chain of methods that is exploitable when an insecure deserialization vulnerability exists in an application. This so-called "gadget chain" presents no direct threat but is a vector that can be used to achieve remote code execution if the application deserializes untrusted data due to another vulnerability.
Patches
Has the problem been patched? What versions should users upgrade to?
The problem is patched with Version 1.4.3
Workarounds
Patch src/Goodby/CSV/Export/Standard/Collection /CallbackCollection.php:
+ public function __wakeup() {
+ throw new \BadMethodCallException('Cannot unserialize ' . __CLASS__);
+ }
However, this is not directly exploitable; a separate vulnerability must be present to allow an attacker to pass unsafe input to unserialize(). There are no such known exploits in goodby-csv.
References
Are there any links users can visit to find out more?
- Record
GHSA-x3c7-22c8-prg7- CVSS 3.1
- 3.9 Low
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L - Weakness
- CWE-915
- Updated
- 2026-11-02
NVD
3.9
handcraftedinthealps goodby-csv is a highly memory efficient, flexible and extendable open-source CSV import/export library. Prior to 1.4.3, goodby-csv could be used as part of a chain of methods that is exploitable when an insecure deserialization vulnerability exists in an application. This so-called "gadget chain" presents no direct threat but is a vector that can be used to achieve remote code execution if the application deserializes untrusted data due to another vulnerability. The problem is patched with Version 1.4.3.
- Record
CVE-2025-49597- CVSS 3.1
- 3.9 Low
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L - Weakness
- CWE-915
- Updated
- 2026-11-02
OSV
3.9
handcraftedinthealps goodby-csv Potential Gadget Chain allowing Remote Code Execution
handcraftedinthealps goodby-csv is a highly memory efficient, flexible and extendable open-source CSV import/export library. Prior to 1.4.3, goodby-csv could be used as part of a chain of methods that is exploitable when an insecure deserialization vulnerability exists in an application. This so-called "gadget chain" presents no direct threat but is a vector that can be used to achieve remote code execution if the application deserializes untrusted data due to another vulnerability. The problem is patched with Version 1.4.3.
- Record
CVE-2025-49597- CVSS 3.1
- 3.9 Low
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L - Weakness
- CWE-915
- Updated
- 2026-11-11
OSVGHSA-x3c7-22c8-prg7
3.9
handcraftedinthealps/goodby-csv has Potential Gadget Chain allowing Remote Code Execution
Impact
goodby-csv could be used as part of a chain of methods that is exploitable when an insecure deserialization vulnerability exists in an application. This so-called "gadget chain" presents no direct threat but is a vector that can be used to achieve remote code execution if the application deserializes untrusted data due to another vulnerability.
Patches
Has the problem been patched? What versions should users upgrade to?
The problem is patched with Version 1.4.3
Workarounds
Patch src/Goodby/CSV/Export/Standard/Collection /CallbackCollection.php:
+ public function __wakeup() {
+ throw new \BadMethodCallException('Cannot unserialize ' . __CLASS__);
+ }
However, this is not directly exploitable; a separate vulnerability must be present to allow an attacker to pass unsafe input to unserialize(). There are no such known exploits in goodby-csv.
References
Are there any links users can visit to find out more?
- Record
GHSA-x3c7-22c8-prg7- CVSS 3.1
- 3.9 Low
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L - Weakness
- CWE-915
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
handcraftedinthealps/goodby-csvPackagist |
before 1.4.3 | 1.4.3 |
handcraftedinthealps/goodby-csvPackagist |
before 1.4.3, plus listed versions 1.4.01.4.11.4.2 |
1.4.3 |
History
| Recorded | Changed | Sources |
|---|---|---|
| facts | OSV | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-49597 is a low vulnerability (CVSS 3.9) in Handcraftedinthealps Goodby-csv, published June 13, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.26%, the 17th percentile. Fixed in handcraftedinthealps/goodby-csv 1.4.3.
References
github.com/handcraftedinthealps/goodby-csv/security/advisories/GHSA-x3c7-22c8-prg7
github.com/handcraftedinthealps/goodby-csv/commit/acd14c6ed85116bb2cb4da35ab62821e5cf54519
nvd.nist.gov/vuln/detail/CVE-2025-49597
github.com/advisories/GHSA-x3c7-22c8-prg7
github.com/CVEProject/cvelistV5/tree/main/cves/2025/49xxx/CVE-2025-49597.json
github.com/handcraftedinthealps/goodby-csv