# CVE-2019-25160: netlabel: fix out-of-bounds memory accesses

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.1
- **CVSS:** 9.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.75% (percentile 51, 2026-11-26)
- **CWE:** CWE-125
- **Published:** 2024-02-26T17:20:19.490Z
- **Modified:** 2026-08-05T08:43:45.278Z

## Who should check

- Anyone running Linux \>= 446fda4f26822b2d42ab3396aafcedf38a9ff2b6, \< 97bc3683c24999ee621d847c9348c75d2fe86272; \>= 446fda4f26822b2d42ab3396aafcedf38a9ff2b6, \< c61d01faa5550e06794dcf86125ccd325bfad950; \>= 446fda4f26822b2d42ab3396aafcedf38a9ff2b6, \< dc18101f95fa6e815f426316b8b9a5cee28a334e; \>= 446fda4f26822b2d42ab3396aafcedf38a9ff2b6, \< 1c973f9c7cc2b3caae93192fdc8ecb3f0b4ac000; \>= 446fda4f26822b2d42ab3396aafcedf38a9ff2b6, \< fcfe700acdc1c72eab231300e82b962bac2b2b2c; \>= 446fda4f26822b2d42ab3396aafcedf38a9ff2b6, \< e3713abc4248aa6bcc11173d754c418b02a62cbb; \>= 446fda4f26822b2d42ab3396aafcedf38a9ff2b6, \< fbf9578919d6c91100ec63acf2cba641383f6c78; \>= 446fda4f26822b2d42ab3396aafcedf38a9ff2b6, \< 5578de4834fe0f2a34fedc7374be691443396d1f
- Anyone running Linux 2.6.19

## Description

In the Linux kernel, the following vulnerability has been resolved:

netlabel: fix out-of-bounds memory accesses

There are two array out-of-bounds memory accesses, one in
cipso\_v4\_map\_lvl\_valid(), the other in netlbl\_bitmap\_walk().  Both
errors are embarassingly simple, and the fixes are straightforward.

As a FYI for anyone backporting this patch to kernels prior to v4.8,
you'll want to apply the netlbl\_bitmap\_walk() patch to
cipso\_v4\_bitmap\_walk() as netlbl\_bitmap\_walk() doesn't exist before
Linux v4.8.

## Affected and fixed versions

- Linux: \>= 446fda4f26822b2d42ab3396aafcedf38a9ff2b6, \< 97bc3683c24999ee621d847c9348c75d2fe86272; \>= 446fda4f26822b2d42ab3396aafcedf38a9ff2b6, \< c61d01faa5550e06794dcf86125ccd325bfad950; \>= 446fda4f26822b2d42ab3396aafcedf38a9ff2b6, \< dc18101f95fa6e815f426316b8b9a5cee28a334e; \>= 446fda4f26822b2d42ab3396aafcedf38a9ff2b6, \< 1c973f9c7cc2b3caae93192fdc8ecb3f0b4ac000; \>= 446fda4f26822b2d42ab3396aafcedf38a9ff2b6, \< fcfe700acdc1c72eab231300e82b962bac2b2b2c; \>= 446fda4f26822b2d42ab3396aafcedf38a9ff2b6, \< e3713abc4248aa6bcc11173d754c418b02a62cbb; \>= 446fda4f26822b2d42ab3396aafcedf38a9ff2b6, \< fbf9578919d6c91100ec63acf2cba641383f6c78; \>= 446fda4f26822b2d42ab3396aafcedf38a9ff2b6, \< 5578de4834fe0f2a34fedc7374be691443396d1f (cvelist)
- Linux: 2.6.19 (cvelist)

## Mitigation

- Upgrade Linux to 5578de4834fe0f2a34fedc7374be691443396d1f or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2019-25160. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2019-25160.md
Affected: Linux >= 446fda4f26822b2d42ab3396aafcedf38a9ff2b6, < 97bc3683c24999ee621d847c9348c75d2fe86272; >= 446fda4f26822b2d42ab3396aafcedf38a9ff2b6, < c61d01faa5550e06794dcf86125ccd325bfad950; >= 446fda4f26822b2d42ab3396aafcedf38a9ff2b6, < dc18101f95fa6e815f426316b8b9a5cee28a334e; >= 446fda4f26822b2d42ab339…
Fixed in: Linux 97bc3683c24999ee621d847c9348c75d2fe86272, Linux 1c973f9c7cc2b3caae93192fdc8ecb3f0b4ac000, Linux 5578de4834fe0f2a34fedc7374be691443396d1f

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2019-25160 being exploited?

There is no confirmed exploitation: CVE-2019-25160 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.75% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2019-25160?

Critical: CVSS 9.1 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2019-25160?

Linux \>= 446fda4f26822b2d42ab3396aafcedf38a9ff2b6, \< 97bc3683c24999ee621d847c9348c75d2fe86272; \>= 446fda4f26822b2d42ab3396aafcedf38a9ff2b6, \< c61d01faa5550e06794dcf86125ccd325bfad950; \>= 446fda4f26822b2d42ab3396aafcedf38a9ff2b6, \< dc18101f95fa6e815f426316b8b9a5cee28a334e; \>= 446fda4f26822b2d42ab3396aafcedf38a9ff2b6, \< 1c973f9c7cc2b3caae93192fdc8ecb3f0b4ac000; \>= 446fda4f26822b2d42ab3396aafcedf38a9ff2b6, \< fcfe700acdc1c72eab231300e82b962bac2b2b2c; \>= 446fda4f26822b2d42ab3396aafcedf38a9ff2b6, \< e3713abc4248aa6bcc11173d754c418b02a62cbb; \>= 446fda4f26822b2d42ab3396aafcedf38a9ff2b6, \< fbf9578919d6c91100ec63acf2cba641383f6c78; \>= 446fda4f26822b2d42ab3396aafcedf38a9ff2b6, \< 5578de4834fe0f2a34fedc7374be691443396d1f; Linux 2.6.19.

### Is there a fix for CVE-2019-25160?

Yes. Fixed in Linux 97bc3683c24999ee621d847c9348c75d2fe86272, Linux 1c973f9c7cc2b3caae93192fdc8ecb3f0b4ac000, Linux 5578de4834fe0f2a34fedc7374be691443396d1f. Upgrade Linux to 5578de4834fe0f2a34fedc7374be691443396d1f or later.

### How do I check if I'm affected by CVE-2019-25160?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/97bc3683c24999ee621d847c9348c75d2fe86272>
- patch: <https://git.kernel.org/stable/c/c61d01faa5550e06794dcf86125ccd325bfad950>
- patch: <https://git.kernel.org/stable/c/dc18101f95fa6e815f426316b8b9a5cee28a334e>
- patch: <https://git.kernel.org/stable/c/1c973f9c7cc2b3caae93192fdc8ecb3f0b4ac000>
- patch: <https://git.kernel.org/stable/c/fcfe700acdc1c72eab231300e82b962bac2b2b2c>
- patch: <https://git.kernel.org/stable/c/e3713abc4248aa6bcc11173d754c418b02a62cbb>
- patch: <https://git.kernel.org/stable/c/fbf9578919d6c91100ec63acf2cba641383f6c78>
- patch: <https://git.kernel.org/stable/c/5578de4834fe0f2a34fedc7374be691443396d1f>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2019-25160>

HTML: <https://flawdb.com/CVE-2019-25160> · JSON: <https://flawdb.com/api/v1/entries/CVE-2019-25160>
