CVEfocus › CVE database › CVE-2012-1147

CVE-2012-1147

EPSS 2.5% (higher than 85% of CVEs)Published 2012-07-03Updated 2024-08-06Assigner: redhat

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.

What to do

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

10Fix pending
16Will not fix
50Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 18.04apache2Fix pendingUBUNTU-CVE-2012-1147
Ubuntu 18.04apr-utilFix pendingUBUNTU-CVE-2012-1147
Ubuntu 18.04cadaverNot affected
vulnerable_code_not_present
Ubuntu 18.04cmakeWill not fix
readfilemap.c isn't used on linux, only unixfilemap.c tla uses system expat as of 1.3.5+dfsg-15 cmake 3.20.5 and forward uses expat 2.2.10+.
UBUNTU-CVE-2012-1147
Ubuntu 18.04gdcmNot affected
vulnerable_code_not_present
Ubuntu 18.04ghostscriptFix pendingUBUNTU-CVE-2012-1147
Ubuntu 18.04matanzaNot affected
vulnerable_code_not_present
Ubuntu 18.04paraviewNot affected
vulnerable_code_not_present
Ubuntu 18.04pocoNot affected
vulnerable_code_not_present
Ubuntu 18.04sitecopyNot affected
vulnerable_code_not_present
Ubuntu 18.04smartWill not fix
readfilemap.c isn't used on linux, only unixfilemap.c tla uses system expat as of 1.3.5+dfsg-15 cmake 3.20.5 and forward uses expat 2.2.10+.
UBUNTU-CVE-2012-1147
Ubuntu 18.04tdomNot affected
vulnerable_code_not_present
Ubuntu 18.04texlive-binFix pendingUBUNTU-CVE-2012-1147
Ubuntu 18.04tlaNot affected
vulnerable_code_not_present
Ubuntu 18.04vnc4Will not fix
readfilemap.c isn't used on linux, only unixfilemap.c tla uses system expat as of 1.3.5+dfsg-15 cmake 3.20.5 and forward uses expat 2.2.10+.
UBUNTU-CVE-2012-1147
Ubuntu 18.04wbxml2Not affected
vulnerable_code_not_present
Ubuntu 18.04xmlrpc-cFix pendingUBUNTU-CVE-2012-1147
Ubuntu 18.04xotclNot affected
vulnerable_code_not_present
Ubuntu 16.04apache2Will not fix
readfilemap.c isn't used on linux, only unixfilemap.c tla uses system expat as of 1.3.5+dfsg-15 cmake 3.20.5 and forward uses expat 2.2.10+.
UBUNTU-CVE-2012-1147
Ubuntu 16.04apr-utilWill not fix
readfilemap.c isn't used on linux, only unixfilemap.c tla uses system expat as of 1.3.5+dfsg-15 cmake 3.20.5 and forward uses expat 2.2.10+.
UBUNTU-CVE-2012-1147
Ubuntu 16.04audacityNot affected
vulnerable_code_not_present
Ubuntu 16.04ayttmNot affected
vulnerable_code_not_present
Ubuntu 16.04cableswigNot affected
vulnerable_code_not_present
Ubuntu 16.04cadaverNot affected
vulnerable_code_not_present
Ubuntu 16.04cmakeWill not fix
readfilemap.c isn't used on linux, only unixfilemap.c tla uses system expat as of 1.3.5+dfsg-15 cmake 3.20.5 and forward uses expat 2.2.10+.
UBUNTU-CVE-2012-1147
Ubuntu 16.04coin3Not affected
vulnerable_code_not_present
Ubuntu 16.04expatNot affected
vulnerable_code_not_present
Ubuntu 16.04gdcmNot affected
vulnerable_code_not_present
Ubuntu 16.04ghostscriptWill not fix
readfilemap.c isn't used on linux, only unixfilemap.c tla uses system expat as of 1.3.5+dfsg-15 cmake 3.20.5 and forward uses expat 2.2.10+.
UBUNTU-CVE-2012-1147
Ubuntu 16.04insighttoolkitNot affected
vulnerable_code_not_present
Ubuntu 16.04matanzaNot affected
vulnerable_code_not_present
Ubuntu 16.04paraviewNot affected
vulnerable_code_not_present
Ubuntu 16.04pocoNot affected
vulnerable_code_not_present
Ubuntu 16.04simgearNot affected
vulnerable_code_not_present
Ubuntu 16.04sitecopyNot affected
vulnerable_code_not_present
Ubuntu 16.04smartWill not fix
readfilemap.c isn't used on linux, only unixfilemap.c tla uses system expat as of 1.3.5+dfsg-15 cmake 3.20.5 and forward uses expat 2.2.10+.
UBUNTU-CVE-2012-1147
Ubuntu 16.04swish-eNot affected
vulnerable_code_not_present
Ubuntu 16.04tdomNot affected
vulnerable_code_not_present
Ubuntu 16.04texlive-binWill not fix
readfilemap.c isn't used on linux, only unixfilemap.c tla uses system expat as of 1.3.5+dfsg-15 cmake 3.20.5 and forward uses expat 2.2.10+.
UBUNTU-CVE-2012-1147
Ubuntu 16.04tlaNot affected
vulnerable_code_not_present
Ubuntu 16.04vnc4Will not fix
readfilemap.c isn't used on linux, only unixfilemap.c tla uses system expat as of 1.3.5+dfsg-15 cmake 3.20.5 and forward uses expat 2.2.10+.
UBUNTU-CVE-2012-1147
Ubuntu 16.04vtkNot affected
vulnerable_code_not_present
Ubuntu 16.04wbxml2Not affected
vulnerable_code_not_present
Ubuntu 16.04xmlrpc-cWill not fix
readfilemap.c isn't used on linux, only unixfilemap.c tla uses system expat as of 1.3.5+dfsg-15 cmake 3.20.5 and forward uses expat 2.2.10+.
UBUNTU-CVE-2012-1147
Ubuntu 16.04xotclNot affected
vulnerable_code_not_present
Ubuntu 14.04apache2Fix pendingUBUNTU-CVE-2012-1147
Ubuntu 14.04apr-utilFix pendingUBUNTU-CVE-2012-1147
Ubuntu 14.04audacityNot affected
vulnerable_code_not_present
Ubuntu 14.04ayttmNot affected
vulnerable_code_not_present
Ubuntu 14.04cableswigNot affected
vulnerable_code_not_present
Ubuntu 14.04cadaverNot affected
vulnerable_code_not_present
Ubuntu 14.04cmakeWill not fix
readfilemap.c isn't used on linux, only unixfilemap.c tla uses system expat as of 1.3.5+dfsg-15 cmake 3.20.5 and forward uses expat 2.2.10+.
Ubuntu 14.04ghostscriptWill not fix
readfilemap.c isn't used on linux, only unixfilemap.c tla uses system expat as of 1.3.5+dfsg-15 cmake 3.20.5 and forward uses expat 2.2.10+.
Ubuntu 14.04insighttoolkitNot affected
vulnerable_code_not_present
Ubuntu 14.04matanzaNot affected
vulnerable_code_not_present
Ubuntu 14.04paraviewNot affected
vulnerable_code_not_present
Ubuntu 14.04pocoNot affected
vulnerable_code_not_present
Ubuntu 14.04simgearNot affected
vulnerable_code_not_present
Ubuntu 14.04sitecopyNot affected
vulnerable_code_not_present
Ubuntu 14.04smartWill not fix
readfilemap.c isn't used on linux, only unixfilemap.c tla uses system expat as of 1.3.5+dfsg-15 cmake 3.20.5 and forward uses expat 2.2.10+.
Ubuntu 14.04swish-eNot affected
vulnerable_code_not_present
Ubuntu 14.04tdomNot affected
vulnerable_code_not_present
Ubuntu 14.04texlive-binWill not fix
readfilemap.c isn't used on linux, only unixfilemap.c tla uses system expat as of 1.3.5+dfsg-15 cmake 3.20.5 and forward uses expat 2.2.10+.
Ubuntu 14.04tlaNot affected
vulnerable_code_not_present
Ubuntu 14.04vnc4Fix pendingUBUNTU-CVE-2012-1147
Ubuntu 14.04wbxml2Not affected
vulnerable_code_not_present
Ubuntu 14.04wxwidgets2.8Not affected
vulnerable_code_not_present
Ubuntu 14.04xmlrpc-cFix pendingUBUNTU-CVE-2012-1147
Ubuntu 14.04xotclNot affected
vulnerable_code_not_present
Debian 12libxmltokFix pendingDEBIAN-CVE-2012-1147
Red Hat Enterprise Linux 6compat-expat1Not affected
Red Hat Enterprise Linux 6expatNot affected
Red Hat Enterprise Linux 6expat-develNot affected
Red Hat Enterprise Linux 6mingw32-expatWill not fix
Will not fix
Red Hat Enterprise Linux 5expatNot affected
Red Hat Enterprise Linux 4expatNot affected

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.