CVE-2004-1188: The pnm_get_chunk function in xine 0.99.2 and earlier, and other packages such as MPlayer that use the same co
60
This week
HIGH 10.0WATCHLISTDOWNGRADEDOWNGRADEDOWNGRADE
CVE-2004-1188 is a high-severity flaw (CVSS 10.0) affecting mplayer, xine, xine-lib. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
The pnm_get_chunk function in xine 0.99.2 and earlier, and other packages such as MPlayer that use the same code, does not properly verify that the chunk size is less than the PREAMBLE_SIZE, which causes a read operation with a negative length that leads to a buffer overflow via (1) RMF_TAG, (2) DATA_TAG, (3) PROP_TAG, (4) MDPR_TAG, and (5) CONT_TAG values, a different vulnerability than CVE-2004-1187.
Why this priority
Critical severity
On your watchlist
No fix is published yet: follow the downgrade or mitigation steps.
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
mandrakesoft mandrake linux MITIGATE
Affected: 10.0 · 10.1
Fixed in: no fixed release known
Safe to downgrade to: a release before 10.0
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
Verify at the official sourceNVD · CVE Program · Report a problem with this page Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2004-1188?
mplayer: downgrade or apply the listed mitigation; xine: downgrade or apply the listed mitigation; xine-lib: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2004-1188 being exploited?
CVE-2004-1188 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2004-1188 affect?
CVE-2004-1188 affects mplayer, xine, xine-lib. Severity is high (CVSS 10.0). The pnm_get_chunk function in xine 0.99.2 and earlier, and other packages such as MPlayer that use the same code, does not properly verify that the chunk size is less than the PREAMBLE_SIZE, which causes a read operation with a negative len
How urgent is CVE-2004-1188?
Priority 60/100. Critical severity; On your watchlist
Related CVEs
CVE-2022-38866MEDIUM 5.5DOWNGRADEDOWNGRADE Certain The MPlayer Project products are vulnerable to Buffer Overflow via read_avi_header() of libmpdemux/avi
CVE-2022-38865MEDIUM 5.5DOWNGRADEDOWNGRADE Certain The MPlayer Project products are vulnerable to Divide By Zero via the function demux_avi_read_packet o
CVE-2022-38864MEDIUM 5.5DOWNGRADEDOWNGRADE Certain The MPlayer Project products are vulnerable to Buffer Overflow via the function mp_unescape03() of lib
CVE-2022-38863MEDIUM 5.5DOWNGRADEDOWNGRADE Certain The MPlayer Project products are vulnerable to Buffer Overflow via function mp_getbits() of libmpdemux
CVE-2022-38862HIGH 7.8DOWNGRADEDOWNGRADE Certain The MPlayer Project products are vulnerable to Buffer Overflow via function play() of libaf/af.c:639