| Name | CVE-2012-1147 | 
| Description | readfilemap.c in expat before 2.1.0 allows context-dependent attackers to cause a denial of service (file descriptor consumption) via a large number of crafted XML files. | 
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) | 
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status | 
|---|
| expat (PTS) | bullseye | 2.2.10-2+deb11u5 | fixed | 
|  | bullseye (security) | 2.2.10-2+deb11u7 | fixed | 
|  | bookworm | 2.5.0-1+deb12u2 | fixed | 
|  | bookworm (security) | 2.5.0-1+deb12u1 | fixed | 
|  | trixie | 2.7.1-2 | fixed | 
|  | forky, sid | 2.7.3-1 | fixed | 
| libxmltok (PTS) | bookworm, bullseye | 1.2-4 | vulnerable | 
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs | 
|---|
| expat | source | (unstable) | (not affected) |  |  |  | 
| libxmltok | source | (unstable) | (unfixed) |  |  |  | 
Notes
- expat <not-affected> (readfilemap.c is not used in *IX)
[bookworm] - libxmltok <ignored> (Minor issue, no runtime dependencies left)