Numberwise

125

CWE-125 is an out-of-bounds read.

1 confirmed record · 1 sourceChecked, general knowledgeHow we qualify claimsReport a correction

Where 125 fits

Where 125 fits: Mathematics, Related numbersMathematics: Perfect cube, Powerful number. Related numbers: 787.MathematicsPerfect cubePowerful numberRelated numbers787125
125 connects to 2 worlds: mathematics, related numbers.

Why 125 is special

Heartbleed was one of these: the server was asked for more bytes than it had been given and returned whatever was next in memory.

Factors & digit properties

Divisors (4)
1, 5, 25, 125
Prime factorisation
5^3
Digit sum
8
Digital root
8

Representations

Decimal
125
Scientific notation
1.250 × 10^2

Roman numerals

C X X V

Binary

1 1 1 1 1 0 1

1 × 64 + 1 × 32 + 1 × 16 + 1 × 8 + 1 × 4 + 0 × 2 + 1 × 1 = 125

Octal

1 7 5

1 × 64 + 7 × 8 + 5 × 1 = 125

Hexadecimal

7 d

7 × 16 + d × 1 = 125

Read as powers of two: 64 + 32 + 16 + 8 + 4 + 1 = 125.

In historical numeral systems

Egyptian

1 coil of rope, 2 hobbles, 5 strokes

1 × 100 + 2 × 10 + 5 × 1 = 125. The signs are simply repeated and added; where they sit on the line is a matter of layout, not value.

Babylonian

2 vertical wedges (sixties place), 5 vertical wedges (units place)

2 × 60 + 5 = 125. Places are separated by a space on the tablet, with the higher place written first.

Greek (Ionic)

rho, then kappa, then epsilon, marked as a numeral

rho-kappa-epsilon + keraia

rho + kappa + epsilon written in descending order and added — the letters carry their values wherever they stand, so this is addition, not place value.

Hebrew numerals

qof, then kaf, then he

qof-kaf-he

qof (100) + kaf (20) + he (5) = 125, written in descending order.

Maya

1 bar + 1 dot (upper, twenties place) over 1 bar (lower, units place)

6 × 20 + 5 = 125. Places stack vertically with the smallest at the bottom, so the upper group is worth twenty times the lower.

Systems that simply cannot reach this value are left out. Where a script needs a font most readers do not have, the reading is given instead of the glyphs — see number systems for each system in full.

Other mathematical patterns

  • Deficient number
  • Powerful number

Related numbers & connections

Documented appearance
Out-of-bounds read and out-of-bounds write are the two halves of the same memory safety failure, and both sit near the top of the CWE Top 25 every year.

Out-of-bounds read and out-of-bounds write are the two halves of the same memory safety failure, and both sit near the top of the CWE Top 25 every year.

View 787

Numbers Around Us

  • appears alongside787
    why?

    Strength 0.50, confidence "high".

How is 125 connected to another number? →

Technology & computing

  • CWE-125 covers software reading data before the start or past the end of an intended buffer. It sits consistently near the top of the CWE Top 25 alongside its writing counterpart.

    DocumentedTechnology & computingGeography: International — MITRE CWEPeriod: 2006–

Common questions

Is 125 a prime number?

No, 125 is not prime.

What are the factors of 125?

The factors of 125 are 1, 5, 25, 125.

What is 125 in Roman numerals?

125 in Roman numerals is CXXV.

About this page's data

Mathematical facts:computed directly from the number's value — nothing to source or verify externally.

Contextual records: 1 reviewer-confirmed record, sourced and reviewed before publication.

Last reviewed: 15 July 2026