The Python AI module in Wesnoth 1.4.x and 1.5 before 1.5.11 allows remote attackers to escape the sandbox and execute arbitrary code by usin
The Python AI module in Wesnoth 1.4.x and 1.5 before 1.5.11 allows remote attackers to escape the sandbox and execute arbitrary code by using a whitelisted module that imports an unsafe module, then using a hierarchical module name to access the unsafe module through the whitelisted module.
- Published
- Mar 4, 2009
- Updated
- Jun 16, 2026
- EPSS
- 10.9% · 96th percentile
- CWE
- CWE-264
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
40
Plan
Add it to your regular patch cycle.
- CVSS
- 37 / 40 · 9.3 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 3 / 30 · 10.9%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| wesnoth | wesnoth | cpe:2.3:a:wesnoth:wesnoth |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- wesnoth wesnoth1.4
- wesnoth wesnoth1.4.1
- wesnoth wesnoth1.4.2
- wesnoth wesnoth1.4.3
- wesnoth wesnoth1.4.4
- wesnoth wesnoth1.4.5
- wesnoth wesnoth1.4.6
- wesnoth wesnoth1.4.7
- wesnoth wesnoth1.5.0
- wesnoth wesnoth1.5.1
- wesnoth wesnoth1.5.10
- wesnoth wesnoth1.5.2
- wesnoth wesnoth1.5.3
- wesnoth wesnoth1.5.4
- wesnoth wesnoth1.5.5
- wesnoth wesnoth1.5.6
- wesnoth wesnoth1.5.7
- wesnoth wesnoth1.5.8
- wesnoth wesnoth1.5.9
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:4.0 | wesnoth | before 1.2-5 | 1.2-5 |
| Debian:5.0 | wesnoth | before 1:1.4.4-2+lenny1 | 1:1.4.4-2+lenny1 |
Same product
wesnoth: all recordsOther highest-scoring records for the same primary product.
- CVE-2007-5742Directory traversal vulnerability in the WML engine preprocessor for Wesnoth 1.2.x before 1.2.8, and 1.3.x before 1.3.12, allows remote atta37Monitor
- CVE-2007-3917The multiplayer engine in Wesnoth 1.2.x before 1.2.7 and 1.3.x before 1.3.9 allows remote servers to cause a denial of service (crash) via a32Monitor
- CVE-2007-6201Unspecified vulnerability in Wesnoth 1.2.x before 1.2.8, and 1.3.x before 1.3.12, allows attackers to cause a denial of service (hang) via a30Monitor
- CVE-2009-0878The read_game_map function in src/terrain_translation.cpp in Wesnoth before r32987 allows remote attackers to cause a denial of service (mem21Monitor
- CVE-2009-0366The uncompress_buffer function in src/server/simple_wml.cpp in Wesnoth before r33069 allows remote attackers to cause a denial of service vi18Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:wesnoth | 1.2-5 · Debian:4.0 | Package registry (OSV) |
Exploit status
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Exploit-DB entry ×1
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Exploit-DB entry | remote | 2009-02-25 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- First PoC-8 d
- Published
- TodaySep 30, 2026+6418 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
If successful
- Confidentiality
- C · data can be read
- Integrity
- C · data or configuration can be modified
- Availability
- C · the service can be disrupted
- Attack complexity
- M
- Confidentiality impact
- C
- Integrity impact
- C
- Availability impact
- C
Weakness class (CWE)
CWE-264 · Permissions, Privileges, and Access ControlsCVSS vector
AV:N/AC:M/Au:N/C:C/I:C/A:C
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- launchpad.net/bugs/335089
- launchpad.net/bugs/336396
- launchpad.net/bugs/cve/2009-0367
- packages.debian.org/changelogs/pool/main/w/wesnoth/wesnoth_1.4.7-4/changelog
- packages.debian.org/changelogs/pool/main/w/wesnoth/wesnoth_1.5.12-1/changelog
- secunia.com/advisories/34058
- secunia.com/advisories/34236
- www.debian.org/security/2009/dsa-1737
- www.vupen.com/english/advisories/2009/0595
- www.wesnoth.org/forum/viewtopic.php?t=24247
- www.wesnoth.org/forum/viewtopic.php?t=24340
- exchange.xforce.ibmcloud.com/vulnerabilities/49058
- gna.org/bugs/index.php?13048
Vendor advisories and official records. Exploit/PoC links are deliberately left out.