CVE-2012-0270

high
Published 2014-02-17 ยท Modified 2026-04-29
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
8.5

Description

Multiple stack-based buffer overflows in Csound before 5.16.6 allow remote attackers to execute arbitrary code via a crafted (1) hetro file to the getnum function in util/heti_main.c or (2) PVOC file to the getnum function in util/pv_import.c.

Predictions

Exploit likelihood
20%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Exploit-DB

EDB-18710 local windows verified
Metasploit ยท 2012-04-06

Csound - '.hetro' File Handling Stack Buffer Overflow (Metasploit)

Source code queued for fetch โ€” refresh in a moment.

Metasploit modules

Csound hetro File Handling Stack Buffer Overflow
Source fetch failed: fetch_error โ€” view the original via the link above.

OS impact

debian Debian Fixed 5 releases
VersionStatusFixed in
trixie Fixed 1:5.16.6~dfsg-1
sid Fixed 1:5.16.6~dfsg-1
forky Fixed 1:5.16.6~dfsg-1
bullseye Fixed 1:5.16.6~dfsg-1
bookworm Fixed 1:5.16.6~dfsg-1

Application impact

VendorProductVersionsFixed
csoundscsound{"endIncluding":"5.16.1"}
csoundscsound5.12.4
csoundscsound5.13.0
csoundscsound5.13.1
csoundscsound5.14.0
csoundscsound5.14.1
csoundscsound5.14.2
csoundscsound5.15.0
csoundscsound5.16

References

CWEs

CWE-119

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.